There are instructions (Google MCUXpresso Fedora) on how to extract contents of the .deb package to a Fedora system. However, those method do not register those files into the RPM database. I don't like having orphan files on my system, that's why I use a .rpm package.
There are some errors during the process. However, I can install the SDK and build OpenGD77 firmware with the make command.
Code: Select all
$ mkdir tmp
$ cd tmp/
$ chmod +x ~/Big/Downloads/MCUXpresso/mcuxpressoide-11.4.0_6224.x86_64.deb.bin
$ ~/Big/Downloads/MCUXpresso/mcuxpressoide-11.4.0_6224.x86_64.deb.bin --tar xvf ./mcuxpressoide-11.4.0_6224.x86_64.deb
$ sudo dnf install alien
$ sudo alien -r --scripts mcuxpressoide-11.4.0_6224.x86_64.deb
mcuxpressoide-11.4.0-2.x86_64.rpm generated
Code: Select all
libjli.so()(64bit) is needed by mcuxpressoide-11.4.0-2.x86_64
libncurses.so.5()(64bit) is needed by mcuxpressoide-11.4.0-2.x86_64
libpython2.7.so.1.0()(64bit) is needed by mcuxpressoide-11.4.0-2.x86_64
libtinfo.so.5()(64bit) is needed by mcuxpressoide-11.4.0-2.x86_64
...
file /lib from install of mcuxpressoide-11.4.0-2.x86_64 conflicts with file from package filesystem-3.14-5.fc34.x86_64
file /usr/lib from install of mcuxpressoide-11.4.0-2.x86_64 conflicts with file from package filesystem-3.14-5.fc34.x86_64
Code: Select all
$ sudo dnf install rpmrebuild
$ sudo rpmrebuild -ep mcuxpressoide-11.4.0-2.x86_64.rpm
Code: Select all
$ sudo diff /root/.tmp/rpmrebuild.52722/work/spec.*
138d137
< %dir %attr(0755, root, root) "/lib"
144d142
< %dir %attr(0755, root, root) "/usr/lib"
Code: Select all
$ rpm -qf /lib/udev/
systemd-udev-248.7-1.fc34.x86_64
mcuxpressoide-11.4.0-2.x86_64
After deleting the lines, save the spec file and exit. The .rpm will be rebuilt. Then you can install the .rpm file:
Code: Select all
$ sudo rpm -ivh --nodeps /root/rpmbuild/RPMS/x86_64/mcuxpressoide-11.4.0-2.x86_64.rpm
Code: Select all
$ sudo chown -R jj /usr/local/mcuxpressoide-11.4.0_6224/ide/
$ cd /usr/local/mcuxpressoide-11.4.0_6224/ide
$ env SWT_GTK3=0 /usr/local/mcuxpressoide-11.4.0_6224/ide/mcuxpressoide
***WARNING: Detected: GTK_IM_MODULE=xim. This input method is unsupported and can cause graphical issues.
***WARNING: Unset GTK_IM_MODULE or set GTK_IM_MODULE=ibus if flicking is experienced.
...
https://www.opengd77.com/viewtopic.php?f=16&t=1800