How To Install sharutils on Rocky Linux 8
Introduction
In this tutorial we learn how to install sharutils
on Rocky Linux 8.
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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install sharutils.
Install sharutils on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install sharutils
using dnf
by running the following command:
sudo dnf -y install sharutils
Install sharutils on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
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 Rocky Linux 8
To uninstall only the sharutils
package we can use the following command:
sudo dnf remove sharutils
sharutils Package Contents on Rocky Linux 8
/usr/bin/shar
/usr/bin/unshar
/usr/bin/uudecode
/usr/bin/uuencode
/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/3e9b3c0dc921b6a77f15acd94574337ac388ab
/usr/lib/.build-id/24
/usr/lib/.build-id/24/fb3b8e56f5bf537c932474d6676cbf7a5d0077
/usr/lib/.build-id/81
/usr/lib/.build-id/81/cf9575d6a632c99ec62a3e11e4923dc1ca4165
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/454beee41c4d200a4742bf0ccca645c27f43cd
/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 Rocky Linux 8 using yum and dnf.