How to Add Kali Linux repository for beginners Updated [2022]

how add Kali Linux repository

Repository is big topic and I cant cover everything in one article. So today I am just going to explain about Kali Linux repository.

You can add Kali Linux repository after following simple steps.

Afrticle Content

What is Repository in Linux

In simple words, Repository is a storage location, Where all the packages are stored.

Packages refers to tools, utility or software which you may install on your Linux system including Kali Linux.

All the packages available on the Kali Linux repository are tested, maintained, and maintained by its developers and managers.

If you will download and install packages on Kali Linux in the future from the repository, it will work fine. because it has been tested by Kali developers.

You will not face any type of problem or crashes of your system, when you get packages from repository.

In other words you can not trust on other resources for getting packages/tools.

You are at the client-side, So an apt of apt-get package manager helps to install the new and latest packages on your system from and updating the repositories.

More details Visit

How to Add Kali Linux repository for Beginners

As you know, at the time of updates and upgrades Kali Linux, apt or apt-get package manager checks only the application stored on its own data repository.

This is good for you and other Kali users, Some updates an upgrades could make Kali Linux nonfunctional, all software are tested by the Kali developers before to add the Kali Linux repository.

There is some third party application that is not available on the Kali repository, in this case, additional repositories may be needed to be added.

There are simple steps to configure Kali Linux repository on your system. Follow the given two steps:

Step 1: Use leafpad or other text editor to open and edit /etc/apt/sources.list.

#leafpad /etc/apt/sources.list

Step 2: Add the following code into the file and save the file. You can add the following anywhere in the file.

Just copy following code and paste into the file.

deb kali-rolling main non-free contrib

Step 3: Verify the updated file:

You can use cat command to verify the updated file. You can you have added code properly inside file or not

$cat /etc/apt/sources.list

Updating Kali Linux

Like other operating systems, Kali has the implicit capability to update both the operating systems and the software , or packages, installed. As upgrades to package get accessible, they will be presented on the Kali store. This store can then be checked to guarantee theoperating systems and provisions are up to date. Upgrades are typically more diminutive fixes that address software bugs, or errors, or are utilized to include new fittings competencies.Use the following commands to update system :
#apt-get update

Adding Repository in Kali Linux image 01

Upgrading Kali Linux

Like updating, upgrading Kali can likewise be carried out at the command line with the pt-get utility. Upgrades are regularly significant updates to requisitions or the working framework itself. Updates offer new usefulness and are much bigger that upgrades ordinarily obliging more of a chance and space on the System drive.

Syntax is here

#apt-get upgrade

Adding Repository in Kali Linux image 02

How to add repository in Kali Linux [Video Tutorial]


I have covered everything required for beginners, Now you have learned how to add the Kali Linux repository. If you want to learn more about it please visit the Official website

If you have any question please leave in the comment box.

MODULE 3:- Basics of Kali Linux


  1. Install Kali Linux on Hard drive with Full disk Encryption
  2. How to create Kali Linux bootable USB live in windows 10
  3. 20 basics about how to use Kali Linux
  4. 6 steps to change Kali Linux IP address (Easy)
  5. How to Add Kali Linux repository – With pictures
  6. How to update and upgrade Kali Linux to 2017.1
  7. apt-get package handling utility in Kali Linux
  8. How to use Linux debian package manager “dpkg”
  9. How to use Kali Linux SSH Server and client
  10. Start Restart Apache2 Web Server In Kali Linux

If Appreciate My Work, You should consider:

3 thoughts on “How to Add Kali Linux repository for beginners Updated [2022]

Leave a Reply

Your email address will not be published. Required fields are marked *