How To Install sharutils on Fedora 34
Introduction
In this tutorial we learn how to install sharutils
on Fedora 34.
What is sharutils
The sharutils package contains the GNU shar utilities, a set of tools for encoding and decoding packages of files (in binary or text format) in a special plain text format called shell archives (shar). This format can be sent through e-mail (which can be problematic for regular binary files). The shar utility supports a wide range of capabilities (compressing, uuencoding, splitting long files for multi-part mailings, providing check-sums), which make it very flexible at creating shar files. After the files have been sent, the unshar tool scans mail messages looking for shar files. Unshar automatically strips off mail headers and introductory text and then unpacks the shar files.
We can use yum
or dnf
to install sharutils
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install sharutils.
Install sharutils 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 sharutils
using dnf
by running the following command:
sudo dnf -y install sharutils
Install sharutils 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 sharutils
using yum
by running the following command:
sudo yum -y install sharutils
How To Uninstall sharutils on Fedora 34
To uninstall only the sharutils
package we can use the following command:
sudo dnf remove sharutils
sharutils Package Contents on Fedora 34
/usr/bin/shar
/usr/bin/unshar
/usr/bin/uudecode
/usr/bin/uuencode
/usr/lib/.build-id
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/f4bd0e0a7ab77a4099a34a6e663d70e65166f2
/usr/lib/.build-id/6f
/usr/lib/.build-id/6f/c528aa16f18b501eecae0058363922731660dd
/usr/lib/.build-id/77
/usr/lib/.build-id/77/1b599107ca05afe6fdb03c375af6d3440f94fe
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/9807d5dcfc4e6220cd5a94634c14cf5dba7d12
/usr/share/doc/sharutils
/usr/share/doc/sharutils/AUTHORS
/usr/share/doc/sharutils/ChangeLog
/usr/share/doc/sharutils/NEWS
/usr/share/doc/sharutils/README
/usr/share/doc/sharutils/THANKS
/usr/share/doc/sharutils/TODO
/usr/share/info/sharutils.info.gz
/usr/share/licenses/sharutils
/usr/share/licenses/sharutils/COPYING
/usr/share/locale/bg/LC_MESSAGES/sharutils.mo
/usr/share/locale/ca/LC_MESSAGES/sharutils.mo
/usr/share/locale/cs/LC_MESSAGES/sharutils.mo
/usr/share/locale/da/LC_MESSAGES/sharutils.mo
/usr/share/locale/de/LC_MESSAGES/sharutils.mo
/usr/share/locale/el/LC_MESSAGES/sharutils.mo
/usr/share/locale/eo/LC_MESSAGES/sharutils.mo
/usr/share/locale/es/LC_MESSAGES/sharutils.mo
/usr/share/locale/et/LC_MESSAGES/sharutils.mo
/usr/share/locale/fi/LC_MESSAGES/sharutils.mo
/usr/share/locale/fr/LC_MESSAGES/sharutils.mo
/usr/share/locale/ga/LC_MESSAGES/sharutils.mo
/usr/share/locale/gl/LC_MESSAGES/sharutils.mo
/usr/share/locale/hu/LC_MESSAGES/sharutils.mo
/usr/share/locale/id/LC_MESSAGES/sharutils.mo
/usr/share/locale/it/LC_MESSAGES/sharutils.mo
/usr/share/locale/ja/LC_MESSAGES/sharutils.mo
/usr/share/locale/nl/LC_MESSAGES/sharutils.mo
/usr/share/locale/pl/LC_MESSAGES/sharutils.mo
/usr/share/locale/pt_BR/LC_MESSAGES/sharutils.mo
/usr/share/locale/ru/LC_MESSAGES/sharutils.mo
/usr/share/locale/sr/LC_MESSAGES/sharutils.mo
/usr/share/locale/sv/LC_MESSAGES/sharutils.mo
/usr/share/locale/tr/LC_MESSAGES/sharutils.mo
/usr/share/locale/uk/LC_MESSAGES/sharutils.mo
/usr/share/locale/vi/LC_MESSAGES/sharutils.mo
/usr/share/locale/zh_CN/LC_MESSAGES/sharutils.mo
/usr/share/locale/zh_TW/LC_MESSAGES/sharutils.mo
/usr/share/man/man1/shar.1.gz
/usr/share/man/man1/unshar.1.gz
/usr/share/man/man1/uudecode.1.gz
/usr/share/man/man1/uuencode.1.gz
/usr/share/man/man5/uuencode.5.gz
References
Summary
In this tutorial we learn how to install sharutils
on Fedora 34 using yum and dnf.