Kali Linux has 400 software pre-installed, but if we talk about repository then it consist of more than 2000 tools. and sometimes we need to install the software in Kali Linux. so the question is this “how to install any software in Kali Linux apt-get?”
In this tutorial I am going tell you about apt-get utility, which is used for managing software. In the sense of managing => install new software, remove installed software, update software, purge software etc.
The APT is a Kali package manager is used for handling package utility is known as “apt-get”. It is a powerful command-line tool for managing software package. It is used for installing and removing packages in Linux. It is installed packages along with their dependencies. Dependencies are the additional packages required for other software. For example: The best friend of pentester is Metasploit is written in Ruby programming language. Without Ruby installed in your system, Metasploit could not work launch. So Ruby is a dependency on Metasploit.
Installing extra software packages by apt-get command is simple and straightforward.
Syntax :
Installation from source code Install any missing dependencies sudo apt-get install git debhelper bison check cmake flex ghostscript libbsd-dev libcurl4-openssl-dev libgtk2.0-dev libltdl-dev libluajit-5.1-dev libncurses5-dev libnet1-dev libpcap-dev libpcre3-dev libssl-dev libgtk-3-dev ghostscript groff libtool libpcre3 libncurses5-dev.
- I tried apt-get install bison=2:2.7.1.dfsg-1 but apt-get still complain E: Version '2:2.7.1.dfsg-1' for 'bison' was not found – Bechir Apr 8 '14 at 14:09 2 This will only work if bison 2.7 is there in the archives but it is not there. You can see it by running apt-cache showpkg bison to see the versions available.
- This short tutorial shows you how to download and install Bison (GNU Parser Generator) on Ubuntu Linux Server. The process is very simple. For this tutorial, I'll be installing Bison version 2.3. Linux kernel is 2.6.15-26-powerpc. I have used a Mac Mini (powerpc/ppc architecture). GCC version number is 4.0.3.
sudo apt-get install{package_name}
For example, if you want to install the gimp package
apt-get install gimp
For example, if you want to install the gimp package
apt-get install gimp
Before installing any packages on the system, it is recommended that update first. The syntax for performing updates follows:
sudo apt-get update
The upgrade function is used for download and install all newer version of installed software package in Kali Linux. Use following commands for upgrading Kali Linux:
sudo apt-get upgrade
Distribution upgrade function work similarly to upgrade function, however, this function upgrades the version of the distribution. When this command is used kali will be raised from version 1.0 to 1.n or 2.n and so on. Syntax
sudo apt-get dist-upgrade
Apt-get can work as remove packages, if packages are not useful anymore then it can be remove by using following Syntax
sudo apt-get remove {package_name}
Just for example try to removing “leafpad” and install again
apt-get remove leafpad
apt-get remove leafpad
apt-get install leafpad
At the time of upgrading distribution the Operating System’s software packages are replaced by new and improved version. The auto remove function will remove old version package no longer needed for functionality of system. Syntax
sudo apt-get autoremove
It should be perform after upgrade or distribution upgrade.
It should be perform after upgrade or distribution upgrade.
This function will erase software packages completely with related configuration files in one fell swoop. It is dangerous when used incorrectly or by mistakes. So use remove for uninstalling software packages. Purge can be used by the following syntax:
sudo apt-get purge {package_name}
Packages are downloaded from the source in the system, unpackaged, then installed on system. Package will reside on the system, which are no longer necessary after installation of package. These packages consume the memory and need to be cleaned away. Use following command and launch clean function :
sudo apt-get clean
Auto-cleaning additionally cleans the framework in a comparable manner as the clean unction; notwithstanding, it ought to be pursued update and dispersion moves up to the framework, as the autoclean capacity will uproot old bundles that have been supplanted with new ones. Syntax:
sudo apt-get autoclean
Syntax:
apt-get update && apt-get upgrade && apt-get dist-upgrade
apt-get autoremove && apt-get autoclean
If you have any question related how to install software in kali linux comment below in comment box. You can join our forum for more discussion. It is free for you!
Cheers!
MODULE 3:- Basics of Kali Linux
If Appreciate My Work, You should consider:
Install Kali Linux From Usb
- Join Group for Discussion Facebook Group
- Get your own self-hosted blog with a Free Domain at ($2.96/month)
- Buy a Coffee to Us! Make Small Contribution by Paypal
- Support us by taking our :Online Courses
- Contact me :[email protected]