How To Install shtool on CentOS 7
Introduction
In this tutorial we learn how to install shtool
on CentOS 7.
What is shtool
GNU shtool is a compilation of small but very stable and portable shell scripts into a single shell tool. All ingredients were in successful use over many years in various free software projects. The compiled shtool program is intended to be used inside the source tree of other free software packages. There it can overtake various (usually non-portable) tasks related to the building and installation of such a package. It especially can replace the old mkdir.sh, install.sh and related scripts.
We can use yum
or dnf
to install shtool
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install shtool.
Install shtool on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install shtool
using yum
by running the following command:
Install shtool on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install shtool
using dnf
by running the following command:
How To Uninstall shtool on CentOS 7
To uninstall only the shtool
package we can use the following command:
References
Summary
In this tutorial we learn how to install shtool
on CentOS 7 using yum
and dnf
.