How To Install tar.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install tar.x86_64
on Amazon Linux 2.
What is tar.x86_64
The GNU tar program saves many files together in one archive and can restore individual files (or all of the files) from that archive. Tar can also be used to add supplemental files to an archive and to update or list files in the archive. Tar includes multivolume support, automatic archive compression/decompression, the ability to perform remote archives, and the ability to perform incremental and full backups. If you want to use tar for remote backups, you also need to install the rmt package on the remote box.
We can use yum
to install tar.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install tar.x86_64.
Install tar.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 tar.x86_64
using yum
by running the following command:
sudo yum -y install tar.x86_64
How To Uninstall tar.x86_64 on Amazon Linux 2
To uninstall only the tar.x86_64
package we can use the following command:
sudo yum remove tar.x86_64
tar.x86_64 Package Contents on Amazon Linux 2
/usr/bin/gtar
/usr/bin/tar
/usr/share/doc/tar-1.26
/usr/share/doc/tar-1.26/AUTHORS
/usr/share/doc/tar-1.26/COPYING
/usr/share/doc/tar-1.26/ChangeLog
/usr/share/doc/tar-1.26/ChangeLog.1
/usr/share/doc/tar-1.26/NEWS
/usr/share/doc/tar-1.26/README
/usr/share/doc/tar-1.26/THANKS
/usr/share/doc/tar-1.26/TODO
/usr/share/info/tar.info-1.gz
/usr/share/info/tar.info-2.gz
/usr/share/info/tar.info.gz
/usr/share/locale/bg/LC_MESSAGES/tar.mo
/usr/share/locale/ca/LC_MESSAGES/tar.mo
/usr/share/locale/cs/LC_MESSAGES/tar.mo
/usr/share/locale/da/LC_MESSAGES/tar.mo
/usr/share/locale/de/LC_MESSAGES/tar.mo
/usr/share/locale/el/LC_MESSAGES/tar.mo
/usr/share/locale/es/LC_MESSAGES/tar.mo
/usr/share/locale/et/LC_MESSAGES/tar.mo
/usr/share/locale/eu/LC_MESSAGES/tar.mo
/usr/share/locale/fi/LC_MESSAGES/tar.mo
/usr/share/locale/fr/LC_MESSAGES/tar.mo
/usr/share/locale/ga/LC_MESSAGES/tar.mo
/usr/share/locale/gl/LC_MESSAGES/tar.mo
/usr/share/locale/hr/LC_MESSAGES/tar.mo
/usr/share/locale/hu/LC_MESSAGES/tar.mo
/usr/share/locale/id/LC_MESSAGES/tar.mo
/usr/share/locale/it/LC_MESSAGES/tar.mo
/usr/share/locale/ja/LC_MESSAGES/tar.mo
/usr/share/locale/ko/LC_MESSAGES/tar.mo
/usr/share/locale/ky/LC_MESSAGES/tar.mo
/usr/share/locale/ms/LC_MESSAGES/tar.mo
/usr/share/locale/nb/LC_MESSAGES/tar.mo
/usr/share/locale/nl/LC_MESSAGES/tar.mo
/usr/share/locale/pl/LC_MESSAGES/tar.mo
/usr/share/locale/pt/LC_MESSAGES/tar.mo
/usr/share/locale/pt_BR/LC_MESSAGES/tar.mo
/usr/share/locale/ro/LC_MESSAGES/tar.mo
/usr/share/locale/ru/LC_MESSAGES/tar.mo
/usr/share/locale/sk/LC_MESSAGES/tar.mo
/usr/share/locale/sl/LC_MESSAGES/tar.mo
/usr/share/locale/sv/LC_MESSAGES/tar.mo
/usr/share/locale/tr/LC_MESSAGES/tar.mo
/usr/share/locale/uk/LC_MESSAGES/tar.mo
/usr/share/locale/vi/LC_MESSAGES/tar.mo
/usr/share/locale/zh_CN/LC_MESSAGES/tar.mo
/usr/share/locale/zh_TW/LC_MESSAGES/tar.mo
/usr/share/man/man1/gtar.1.gz
/usr/share/man/man1/tar.1.gz
References
Summary
In this tutorial we learn how to install tar.x86_64
on Amazon Linux 2 using yum.