How To Install stgit on AlmaLinux 8
Introduction
In this tutorial we learn how to install stgit
on AlmaLinux 8.
What is stgit
StGit is a Python application providing 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. Note that StGit is not an SCM interface on top of Git and it expects a previously initialized Git repository. For standard SCM operations, either use plain Git commands or the Cogito tool.
We can use yum
or dnf
to install stgit
on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install stgit.
Install stgit on AlmaLinux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install stgit
using dnf
by running the following command:
sudo dnf -y install stgit
Install stgit on AlmaLinux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install stgit
using yum
by running the following command:
sudo yum -y install stgit
How To Uninstall stgit on AlmaLinux 8
To uninstall only the stgit
package we can use the following command:
sudo dnf remove stgit
References
Summary
In this tutorial we learn how to install stgit
on AlmaLinux 8 using yum and dnf.