How To Install sharutils on Fedora 36

In this tutorial we learn how to install sharutils in Fedora 36. sharutils is The GNU shar utilities for packaging and unpackaging shell archives

Introduction

In this tutorial we learn how to install sharutils on Fedora 36.

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 36. In this tutorial we discuss both methods but you only need to choose one of method to install sharutils.

Install sharutils on Fedora 36 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 Fedora 36 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 Fedora 36

To uninstall only the sharutils package we can use the following command:

sudo dnf remove sharutils

sharutils Package Contents on Fedora 36

/usr/bin/shar
/usr/bin/unshar
/usr/bin/uudecode
/usr/bin/uuencode
/usr/lib/.build-id
/usr/lib/.build-id/13
/usr/lib/.build-id/13/9d4ab4141e258c83e9c022f69c6c68bc6876f3
/usr/lib/.build-id/a7
/usr/lib/.build-id/a7/07b5cda43047769357a5503376309f8a5b5747
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/98095da29a30548e57b513f125dfaac77a4a15
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/6966a7829b33dc4ff63a3b7824ae8a629530e6
/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 36 using yum and [dnf]((/fedora/36/dnf/).