Ways to Install or Uninstall shtool on Ubuntu 22.04

Updated: September 17, 2022

GNU shtool is a tool for developers of software programs. It 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. I will show you how to install shtool on Ubuntu 22.04 in this tutorial.

Prerequisites

  • OS: Ubuntu 22.04 is needed for shtool to work
  • Privileges: Ascertain that you are able to execute sudo commands.

Prerequisites to install shtool on Ubuntu 22.04

Install shtool Ubuntu 22.04

shtool is one of the popular ways on Ubuntu now so that this tutorial will show you how to install it in various ways. Choose the one that you think is easy and you can follow.

Install shtool using APT

This is a popular method for installing any Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these instructions to install shtool on your Ubuntu 22.04.

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Obtain new packages from Ubuntu by updating the APT database. Launch the terminal and enter the following Linux command:

sudo apt-get -y update

Step 2: Start installing the packages on Ubuntu 22.04. You can now install shtool Ubuntu by executing this command in the terminal.

sudo apt install shtool

Install shtool using Aptitude

If you didn’t install Aptitude on Ubuntu, you need to install it by executing this command.

sudo apt-get -y install aptitude

After installing it, you can now install shtool by following these steps:

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Obtain new packages from Ubuntu by updating the APT database. Launch the terminal and enter the following Linux command:

sudo apt-get update

Step 2: Start installing the packages on Ubuntu 22.04. After updating, you can install shtool Ubuntu by executing this command in the terminal.

sudo aptitude install shtool

Uninstall shtool on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu might be challenging? You’re wrong; any program, not just a shtool, can be easily uninstalled by anyone.

You can uninstall shtool on Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove shtool

If you want to uninstall shtool and remove its data and dependencies, you can also run the following command:

sudo apt autoremove --purge shtool

Ending

In this tutorial, I showed you ways to install shtool on Ubuntu 22.04 and ways to uninstall shtool too. Please do not hesitate to contact me if you require assistance. I’m delighted to respond.