×


Install Tig on Ubuntu 20.04 - Step by Step Process ?

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.

[Need urgent assistance in fixing Missing packages on Ubuntu Linux System? We can help you. ]


Conclusion

This article covers how to install Tig on your Ubuntu 20.04 system and hence interacting with Git all the more efficiently.
However, you can get rid of this utility any time you want by following the uninstallation procedure that we have shared with you in this guide.
Tig is a text-mode interface for git. It mainly serves as a Git repository browser. It can also assist in staging changes for commit at the chunk level.

Features of Tig:
1. Browses the commits in the current branch
2. Displays the commits for one or more specific branches
3. Compares two branches
4. Helps to see the changes for a single file
5. Displays the list of stashes
6. Shows references for branches, tags and remotes

To install tig on Ubuntu:
1. First update the system, run:

# sudo apt update

2. To install tig on ubuntu, run:

# sudo apt install tig


To uninstall tig on Ubuntu:
To completely remove tig from your Ubuntu machine, type;

# sudo apt remove tig -y