How To Install scpio.x86_64 on Amazon Linux 2

In this tutorial we learn how to install scpio.x86_64 in Amazon Linux 2. scpio.x86_64 is Copy file archives in and out (LEGACY)

Introduction

In this tutorial we learn how to install scpio.x86_64 on Amazon Linux 2.

What is scpio.x86_64

The scpio utility, depending on the options used an archive file, extracts files from an archive file, lists files from an archive file or copies files from one directory tree to another.

We can use yum to install scpio.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install scpio.x86_64.

Install scpio.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 scpio.x86_64 using yum by running the following command:

sudo yum -y install scpio.x86_64

How To Uninstall scpio.x86_64 on Amazon Linux 2

To uninstall only the scpio.x86_64 package we can use the following command:

sudo yum remove scpio.x86_64

scpio.x86_64 Package Contents on Amazon Linux 2

/usr/bin/scpio
/usr/share/doc/scpio-1.5.2
/usr/share/doc/scpio-1.5.2/AN-1.2
/usr/share/doc/scpio-1.5.2/AN-1.3
/usr/share/doc/scpio-1.5.2/AN-1.3.1
/usr/share/doc/scpio-1.5.2/AN-1.4
/usr/share/doc/scpio-1.5.2/AN-1.5
/usr/share/doc/scpio-1.5.2/AN-1.5.1
/usr/share/doc/scpio-1.5.2/AN-1.5.2
/usr/share/doc/scpio-1.5.2/CDDL.Schily.txt
/usr/share/doc/scpio-1.5.2/COPYING
/usr/share/doc/scpio-1.5.2/README
/usr/share/doc/scpio-1.5.2/README.linux
/usr/share/doc/scpio-1.5.2/TODO
/usr/share/man/man1/scpio.1.gz

References

Summary

In this tutorial we learn how to install scpio.x86_64 on Amazon Linux 2 using yum.