[Part 7]Kali Linux Basics: Installing and Updating Tools

Koay Yong Cett
4 min readMay 1, 2020

--

This topic continue back from Part 6 Kali Linux Basics. In this lesson, we are going to discuss about the installing and updating the tools in Kali Linux. We are going to learn how to install tools using apt-get and specifically a tool that called git.

Commands that we will be learning:

  1. Installing updates with apt-get
  2. Installing tools with apt-get
  3. Using git

The apt-get is quite common commands in Kali whereas git is a tools that is not so common. We are going to discuss about the git in this lesson. We will be using git then to clone from a websites. This is because sometimes when we want to install a tool and it’s not always in apt-get or the repository. Thus, we maybe have to use github and maybe use a tool called git to downloads tools or any other items from github but this is a very common example.

One important aspects that you need to know is how to not only install files on your machines but also how to install updates on your machines. Therefore in a Kali Linux since that it’s a debian based, we are going to use command called apt-get.

First command: sudo apt-get update && sudo apt-get upgrade

This a common way to perform the updates and upgrades in the terminal. Let’s explain what actually the command is doing. The first command apt-get update where we are looking through packages which is predefined in the repositories. The command line check the packages for updates and update the packages. After the first command is done running, with the and operator (&&) the second command apt-get upgrade will start running to upgrade. The upgrade will be done according to the packages updated.

The packages were automatically installed and are no longer required. This means all these packages are going to be remove.

The following packages have been kept back and it’s fine and won’t be uninstall.

Then, we have the following packages that will be upgraded.

Therefore, if you want to upgrade your machine to the latest/newest version then you can just enter Y to continue.

Second command: git

In addition, it is important to know how to install files. There are two way of doing so. One way is quite similar to what we did in the previous figure and the second way will be through git itself. Let’s install git with command: apt-get install git.

If you don’t want to type in Y in the middle of installation, then you can just type in command: sudo apt-get install -y . The -y will automatically say yes if there is a message asking you about yes/no questions.

Git works with github where a lot of people updates their projects,code and frameworks onto github. In the hacking/penetration community, you probably will find a lot of tools that are not installed in Kali Linux and can’t obtain with apt-get in terminal. Therefore, it is important to know how to use git and very simple to use.

This is the github page for veil framework which is a popular tool in penetration testing in malware analysis. First, always read the manual for installation and other purpose. In this lesson, we will use git to install veil as an example in our machine according to the steps given.

This is the other place to copy the clone to setup the veil framework.

This going to install in the directory you choose to have it in. I just install in the home/kali/ folder.

This command will run the setup.sh from config folder and the veil frame work is installing. Now, let this install and wait till it finish installed.

I recommend everyone reading this is to go through the manual pages of git/apt-get as you can remove and update specific programs etc. Thus, this lesson jut introduce you to download and update your machine/system.

Thanks for reading

To be continued… next lesson will be related to scripting with bash.

--

--

Koay Yong Cett
Koay Yong Cett

Written by Koay Yong Cett

Every stories I shared is based on my personal opinion. Interest in ethical hacking and penetration testing. Thank you.

No responses yet