Cara Menambah Repository di Linux

Untuk menambahkan file source repository terletak di file system /etc/apt/sources.list, untuk membukanya dengan menggunakan gedit atau editor lainnya, contoh di sini penulis menggunakan aplikasi leafpad di kali linux

1. untuk menambahkan repository  ketikkan di terminal:

leafpad /etc/apt/sources.list

2. Setelah terbuka kemudian tambahkan repository urlnya contohnya di sini penulis menggunakan kali linux

deb http://http.kali.org/ /kali main contrib non-free
deb http://http.kali.org/ /wheezy main contrib non-free
deb http://http.kali.org/kali kali-dev main contrib non-free
deb http://http.kali.org/kali kali-dev main/debian-installer
deb-src http://http.kali.org/kali kali-dev main contrib non-free
deb http://http.kali.org/kali kali main contrib non-free
deb http://http.kali.org/kali kali main/debian-installer
deb-src http://http.kali.org/kali kali main contrib non-free
deb http://security.kali.org/kali-security kali/updates main contrib non-free
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free

3. Langkah terakhir save dan update:

apt-get update && apt-get upgrade

Selesai.