Tig refers to the text mode interface for Git. It provides you with a very efficient user interface for interacting with Git. This free and open-source utility acts as a Git repository browser and also helps you in staging Git commits.
Tig works on Linux, macOS, and Windows.
Here at LinuxAPT, as part of our Server Management Services, we regularly help our Customers to perform related Software Installation Tasks on Ubuntu Linux Systems.
In this context, we shall look into the installation method of Tig on a Ubuntu 20.04 system.
How to install Tig on Ubuntu 20.04 ?
To install Tig on your Ubuntu 20.04 machine, you will have to perform the following steps on your system.
1. Perform a System Update:
First, you need to perform a system update with the command shown below:
$ sudo apt update
This command will update all the required packages and dependencies before installing Tig on your Ubuntu 20.04 system.
2. Install Tig on Ubuntu 20.04:
To install Tig on your Ubuntu 20.04 system, you will have to execute the following command in your system's terminal:
$ sudo apt install tig
3. Verify the Installation of Tig on Ubuntu 20.04:
You can also verify whether Tig has been successfully installed on your system or not simply by checking its version with the following command:
$ tig --version
How to Uninstall Tig from Ubuntu 20.04?
To uninstall Tig from your Ubuntu 20.04 machine, you first need to execute the command shown below:
$ sudo apt-get purge tig
This command will remove Tig and all of its associated configuration files from your machine.
To be on the safe side, you can also try looking for any unused packages and dependencies and remove them to conserve your system's storage space by executing the following command in your terminal:
$ sudo apt-get autoremove
This command will remove any additional packages and dependencies with it.