How to install tar on RHEL/CentOS 6/7/8 using yum

‮sptth‬://www.lautturi.com
How to install tar on RHEL/CentOS 6/7/8 using yum

The tar command is included in the tar package on RHEL, CentOS, and other distributions based on them. To install tar on RHEL/CentOS 6, 7, or 8, you can use the yum command as follows:

  1. Install the tar package:
sudo yum install tar

This will install the tar command and its dependencies.

  1. Test the installation:
tar --version

This will print the version of tar installed on your system, indicating that it is working correctly.

Created Time:2017-10-28 21:39:05  Author:lautturi