How to add official Kali Linux Repositories?

This is a small guide on How to add official Kali Linux Repositories.

Kali Linux source.list Repositories page: Official Link

We’ve seen many people break their Kali Linux installations by following unofficial advice, or arbitrarily populating their sources.list file with unneeded repositories. The following post aims to clarify what repositories should exist in sources.list, and when they should be used.

Any additional repositories added to the Kali sources.list file will most likely BREAK YOUR KALI LINUX INSTALL.

The simplest way is to edit the /etc/apt/sources.list remove or comment every-line with # at the front and add the following lines..

 

Open sources.list and comment all lines with # in front

 

Add Official Repo’s only:

Save and close the file.

 

Clean your apt-get

STOP: If your Kali Linux apt-get update is slow follow this guide to sort out other issues: How to fix Kali apt-get slow update?

To switch repositories to a different mirror of your choice, follow this guide: How to change repositories to a different mirror?

 

Do an apt-get update

 

Do and upgrade

 

Finally do a distribution upgrade

That’s it, you’re set.

 

Conclusion

To fix Kali apt-get slow update follow this guide: How to fix Kali apt-get slow update?

To switch repositories to a different mirror of your choice, follow this guide: How to change repositories to a different mirror?

End of guide How to add official Kali Linux Repositories.

What Do You Think on This ? Say Here