How To Install sharutils.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install sharutils.x86_64 on Amazon Linux 2.
What is sharutils.x86_64
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 to install sharutils.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install sharutils.x86_64.
Install sharutils.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install sharutils.x86_64 using yum by running the following command:
sudo yum -y install sharutils.x86_64
How To Uninstall sharutils.x86_64 on Amazon Linux 2
To uninstall only the sharutils.x86_64 package we can use the following command:
sudo yum remove sharutils.x86_64
sharutils.x86_64 Package Contents on Amazon Linux 2
/usr/bin/shar
/usr/bin/unshar
/usr/bin/uudecode
/usr/bin/uuencode
/usr/share/doc/sharutils-4.13.3
/usr/share/doc/sharutils-4.13.3/AUTHORS
/usr/share/doc/sharutils-4.13.3/COPYING
/usr/share/doc/sharutils-4.13.3/ChangeLog
/usr/share/doc/sharutils-4.13.3/NEWS
/usr/share/doc/sharutils-4.13.3/README
/usr/share/doc/sharutils-4.13.3/THANKS
/usr/share/doc/sharutils-4.13.3/TODO
/usr/share/info/sharutils.info.gz
/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/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/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.x86_64 on Amazon Linux 2 using yum.