Monday, March 6, 2017
Kali Linux Repositories
Kali Linux Repositories
Hi Everyone! this is an updated post on Kali Linux repositories. Well, a repository is an archival source from where Kali Linux softwares are updated and upgraded online. sources.list is the file where all the links for necessary update are saved. When we execute a command apt-get update, it searches for the updated package online. Un-wanted or un-necessary links can cause failure of Kali Linux package installation, so make sure what link/s should be added to the repository so that Kali Linux should get proper update.
Kali Linux distribution has three repositories, which are mirrored world-wide:
http.kali.org (mirrorlist): the main package repository;
security.kali.org (mirrorlist): the security package repository;
cdimage.kali.org (mirrorlist): the repository with ISO images.
On a clean installation, Kali Linux, have the following two entries present in /etc/apt/sources.list:
deb http://http.kali.org/kali kali main non-free contrib
deb http://security.kali.org/kali-security kali/updates main contrib non-free
These are called Regular repositories from where Kali Linux get its update. In case, you require additional package, then your can add valid package source. You might also want to add the following repositories as well. These are Sources repositories:
deb-src http://http.kali.org/kali kali main non-free contrib
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free
Finally, do not forget to do an update Kali Linux on terminal by typing apt-get update && apt-get upgrade && apt-get dist-upgrade.
Suggestion from Mr. Phong Do. Mr. Phong Do, made a change by just replacing "http:" with "deb" and found update is much faster. Hi all, please check and update me in comments so that I can update the post accordingly. THANKS.
just change http to repo like this:
deb http://repo.kali.org/kali kali main non-free contrib
just change http to repo like this:
deb http://repo.kali.org/kali kali main non-free contrib
Available link for download
Labels:
kali,
linux,
repositories