stg command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
stg: command not found
or when using sudo you get the following error message
sudo: stg: command not found
Solutions to stg: command not found
How To Fix stg: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu stg is provided by stgit package.
stgit is:
stgit provides similar functionality to quilt (i.e. pushing/popping patches to/from a stack) on top of git.
These operations are performed using git commands and the patches are stored as git commit objects, allowing easy merging of the stgit patches into other repositories using standard git functionality.
To fix this problem, we can install more using the command below.
sudo apt-get -y install stgit
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install stgit.
sudo apt -y install stgit
Or if you have aptitude installed you can use the following command.
sudo aptitude install stgit
Summary
In this tutorial we learn how to fix stg command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.