Originally published at: https://www.cyberciti.biz/faq/install-tar-on-rhel-centos-6-7-8-linux-yum-command/
I am trying to extract a file using ‘tar xvf file.tar.gz’ syntax, but I am getting an error:
bash: tar: command not found
How do I fix this problem? How can I install tar on a CentOS/RHEL version 8, 7 or 6 desktop using ?