How To Install imediff2 on Kali Linux
Introduction
In this tutorial we learn how to install imediff2 on Kali Linux.
What is imediff2
imediff2 is:
This is a dummy transitional package that provides symlinks from imediff2 to imediff. It may be safely removed.
Imediff2 lets you merge two (slightly different) files interactively with a user friendly full screen interface on a text terminal. In other words, it is an ncurses based replacement for sdiff.
The program shows the differences of given files (in color if the terminal supports them), lets you scroll up and down and toggle changes between the old and new versions of the differing hunks one by one.
Unlike split screen based merge tools, it shows only one, partially merged, version of the file at a time, making it more “WYSIWYG”, perhaps more intuitive for beginners and most importantly, suitable for narrow terminals.
This also comes with git-ime wrapper script to use imediff2 with git VCS.
There are three methods to install imediff2 on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install imediff2 Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install imediff2 using apt-get by running the following command:
sudo apt-get -y install imediff2Install imediff2 Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install imediff2 using apt by running the following command:
sudo apt -y install imediff2Install imediff2 Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install imediff2 using aptitude by running the following command:
sudo aptitude -y install imediff2How To Uninstall imediff2 on Kali Linux
To uninstall only the imediff2 package we can use the following command:
sudo apt-get remove imediff2Uninstall imediff2 And Its Dependencies
To uninstall imediff2 and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove imediff2Remove imediff2 Configurations and Data
To remove imediff2 configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge imediff2Remove imediff2 configuration, data, and all of its dependencies
We can use the following command to remove imediff2 configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge imediff2Dependencies
imediff2 have the following dependencies:
References
Summary
In this tutorial we learn how to install imediff2 package on Kali Linux using different package management tools: apt, apt-get and aptitude.