How To Install upslug2 on Fedora 34
Introduction
In this tutorial we learn how to install upslug2
on Fedora 34.
What is upslug2
upslug2 is a command line program intended to allow the upgrade of a LinkSys NSLU2 firmware to new or different versions. Unlike upslug and the LinkSys (Sercomm) upgrade utilities, upslug2 will synthesise a complete ‘image’ from a kernel and a root file system, as such it duplicates part of the functionality of ‘slugimage’. upslug2 also optimizes the upload to avoid transmitted parts of the image which need not be written or are ‘blank’ (set to the erased flash value of all 1’s).
We can use yum
or dnf
to install upslug2
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install upslug2.
Install upslug2 on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install upslug2
using dnf
by running the following command:
sudo dnf -y install upslug2
Install upslug2 on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install upslug2
using yum
by running the following command:
sudo yum -y install upslug2
How To Uninstall upslug2 on Fedora 34
To uninstall only the upslug2
package we can use the following command:
sudo dnf remove upslug2
upslug2 Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/1f0ebf4d461bab4b8e04c805cadc66d7066bc7
/usr/sbin/upslug2
/usr/share/doc/upslug2
/usr/share/doc/upslug2/AUTHORS
/usr/share/doc/upslug2/COPYING
/usr/share/doc/upslug2/ChangeLog
/usr/share/doc/upslug2/README
/usr/share/man/man8/upslug2.8.gz
References
Summary
In this tutorial we learn how to install upslug2
on Fedora 34 using yum and dnf.