How To Install cpio.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install cpio.x86_64
on Amazon Linux 2.
What is cpio.x86_64
GNU cpio copies files into or out of a cpio or tar archive. Archives are files which contain a collection of other files plus information about them, such as their file name, owner, timestamps, and access permissions. The archive can be another file on the disk, a magnetic tape, or a pipe. GNU cpio supports the following archive formats HPUX binary, HPUX old ASCII, old tar and POSIX.1 tar. By default, cpio creates binary format archives, so that they are compatible with older cpio programs. When it is extracting files from archives, cpio automatically recognizes which kind of archive it is reading and can read archives created on machines with a different byte-order. Install cpio if you need a program to manage file archives.
We can use yum
to install cpio.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install cpio.x86_64.
Install cpio.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 cpio.x86_64
using yum
by running the following command:
sudo yum -y install cpio.x86_64
How To Uninstall cpio.x86_64 on Amazon Linux 2
To uninstall only the cpio.x86_64
package we can use the following command:
sudo yum remove cpio.x86_64
cpio.x86_64 Package Contents on Amazon Linux 2
/usr/bin/cpio
/usr/share/doc/cpio-2.11
/usr/share/doc/cpio-2.11/AUTHORS
/usr/share/doc/cpio-2.11/COPYING
/usr/share/doc/cpio-2.11/ChangeLog
/usr/share/doc/cpio-2.11/NEWS
/usr/share/doc/cpio-2.11/README
/usr/share/doc/cpio-2.11/THANKS
/usr/share/doc/cpio-2.11/TODO
/usr/share/info/cpio.info.gz
/usr/share/locale/da/LC_MESSAGES/cpio.mo
/usr/share/locale/de/LC_MESSAGES/cpio.mo
/usr/share/locale/es/LC_MESSAGES/cpio.mo
/usr/share/locale/fi/LC_MESSAGES/cpio.mo
/usr/share/locale/fr/LC_MESSAGES/cpio.mo
/usr/share/locale/ga/LC_MESSAGES/cpio.mo
/usr/share/locale/gl/LC_MESSAGES/cpio.mo
/usr/share/locale/hu/LC_MESSAGES/cpio.mo
/usr/share/locale/id/LC_MESSAGES/cpio.mo
/usr/share/locale/ko/LC_MESSAGES/cpio.mo
/usr/share/locale/nl/LC_MESSAGES/cpio.mo
/usr/share/locale/pl/LC_MESSAGES/cpio.mo
/usr/share/locale/pt_BR/LC_MESSAGES/cpio.mo
/usr/share/locale/ro/LC_MESSAGES/cpio.mo
/usr/share/locale/ru/LC_MESSAGES/cpio.mo
/usr/share/locale/sv/LC_MESSAGES/cpio.mo
/usr/share/locale/tr/LC_MESSAGES/cpio.mo
/usr/share/locale/uk/LC_MESSAGES/cpio.mo
/usr/share/locale/vi/LC_MESSAGES/cpio.mo
/usr/share/locale/zh_CN/LC_MESSAGES/cpio.mo
/usr/share/locale/zh_TW/LC_MESSAGES/cpio.mo
/usr/share/man/man1/cpio.1.gz
References
Summary
In this tutorial we learn how to install cpio.x86_64
on Amazon Linux 2 using yum.