How To Install shtool on Fedora 36

In this tutorial we learn how to install shtool in Fedora 36. shtool is A portable shell tool

Introduction

In this tutorial we learn how to install shtool on Fedora 36.

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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install shtool.

Install shtool on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install shtool using dnf by running the following command:

sudo dnf -y install shtool

Install shtool on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install shtool using yum by running the following command:

sudo yum -y install shtool

How To Uninstall shtool on Fedora 36

To uninstall only the shtool package we can use the following command:

sudo dnf remove shtool

shtool Package Contents on Fedora 36

/usr/bin/shtool
/usr/bin/shtoolize
/usr/share/aclocal/shtool.m4
/usr/share/doc/shtool
/usr/share/doc/shtool/AUTHORS
/usr/share/doc/shtool/COPYING
/usr/share/doc/shtool/ChangeLog
/usr/share/doc/shtool/NEWS
/usr/share/doc/shtool/RATIONAL
/usr/share/doc/shtool/README
/usr/share/doc/shtool/THANKS
/usr/share/doc/shtool/VERSION
/usr/share/man/man1/shtool-arx.1.gz
/usr/share/man/man1/shtool-echo.1.gz
/usr/share/man/man1/shtool-fixperm.1.gz
/usr/share/man/man1/shtool-install.1.gz
/usr/share/man/man1/shtool-mdate.1.gz
/usr/share/man/man1/shtool-mkdir.1.gz
/usr/share/man/man1/shtool-mkln.1.gz
/usr/share/man/man1/shtool-mkshadow.1.gz
/usr/share/man/man1/shtool-move.1.gz
/usr/share/man/man1/shtool-path.1.gz
/usr/share/man/man1/shtool-platform.1.gz
/usr/share/man/man1/shtool-prop.1.gz
/usr/share/man/man1/shtool-rotate.1.gz
/usr/share/man/man1/shtool-scpp.1.gz
/usr/share/man/man1/shtool-slo.1.gz
/usr/share/man/man1/shtool-subst.1.gz
/usr/share/man/man1/shtool-table.1.gz
/usr/share/man/man1/shtool-tarball.1.gz
/usr/share/man/man1/shtool-version.1.gz
/usr/share/man/man1/shtool.1.gz
/usr/share/man/man1/shtoolize.1.gz
/usr/share/shtool
/usr/share/shtool/sh.arx
/usr/share/shtool/sh.common
/usr/share/shtool/sh.echo
/usr/share/shtool/sh.fixperm
/usr/share/shtool/sh.install
/usr/share/shtool/sh.mdate
/usr/share/shtool/sh.mkdir
/usr/share/shtool/sh.mkln
/usr/share/shtool/sh.mkshadow
/usr/share/shtool/sh.move
/usr/share/shtool/sh.path
/usr/share/shtool/sh.platform
/usr/share/shtool/sh.prop
/usr/share/shtool/sh.rotate
/usr/share/shtool/sh.scpp
/usr/share/shtool/sh.slo
/usr/share/shtool/sh.subst
/usr/share/shtool/sh.table
/usr/share/shtool/sh.tarball
/usr/share/shtool/sh.version

References

Summary

In this tutorial we learn how to install shtool on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).