January 30, 2012

Cara menambah Repository Debian Leny

Saat kita butuh software atau paket, tentunya dalam debian kita mendownload langsung dari internet ataupun melihat langsung dari DVD Reponya. Nah kali ini, penulis coba untuk menambah list repository debian ataupun Ubuntu. Basicnya semua sintaks hampir sama, hanya tinggal menyesuaikan saja dengan codenya. Misal Debian 5.04 namanya lenny, ubuntu 10.04 lucid lynic.
Untuk debian :
  • Login dahulu, kemudian masuk root
  • edit file source.list sehingga sintaksnya
pico /etc/apt/sources.list


  • Ini file sebelum di edit,
# deb cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 CD Binary-1

20090214-16:29]/ lenny main

deb http://security.debian.org/ lenny/updates main
deb-src http://security.debian.org/ lenny/updates main

deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main

# added

# general packages for lenny
deb http://http.us.debian.org/debian lenny main contrib non-free
deb-src http://http.us.debian.org/debian lenny main contrib non-free

# unofficial
deb http://ftp.debian-unofficial.org/debian lenny main

contrib non-free restricted
deb-src http://ftp.debian-unofficial.org/debian lenny main

contrib non-free restricted

# multimedia
deb http://www.debian-multimedia.org lenny main
deb-src http://www.debian-multimedia.org lenny main
  • lalu tambahkan file ini, jika lenny
deb http://repo.ugm.ac.id/debian/ lenny main contrib non-free
  • jika squeeze
deb http://repo.ugm.ac.id/debian/ squeeze main contrib non-free
  •  kalau pengen lebih lengkap tambahkan ini :
#Universitas Indonesia (Kambing)

deb http://kambing.ui.edu/debian lenny main non-free contrib
deb http://kambing.ui.edu/debian-volatile lenny/volatile main contrib
deb http://kambing.ui.edu/debian-security lenny/updates main non-free contrib
deb http://kambing.ui.edu/debian stable-proposed-updates main non-free contrib

PENS ITS – Surabaya

deb http://kebo.vlsm.org/debian lenny main non-free contrib
deb http://kebo.vlsm.org/debian-volatile lenny/volatile main contrib
deb http://kebo.vlsm.org/debian-security lenny/updates main non-free contrib
deb http://kebo.vlsm.org/debian stable-proposed-updates main non-free contrib

#institut Teknologi Sepuluh Nopember – Surabaya

deb http://mirror.its.ac.id/debian lenny main non-free contrib
deb http://mirror.its.ac.id/debian-volatile lenny/volatile main contrib
deb http://mirror.its.ac.id/debian-security lenny/updates main non-free contrib
deb http://mirror.its.ac.id/debian stable-proposed-updates main non-free contrib

#Universitas Jember

deb http://mirror.unej.ac.id/debian lenny main non-free contrib
deb http://mirror.unej.ac.id/debian-volatile lenny/volatile main contrib
deb http://mirror.unej.ac.id/debian-security lenny/updates main non-free contrib
deb http://mirror.unej.ac.id/debian stable-proposed-updates main non-free contrib

#UGM

deb http://repo.ugm.ac.id/debian lenny main non-free contrib
deb http://repo.ugm.ac.id/debian-volatile lenny/volatile main contrib
deb http://repo.ugm.ac.id/debian-security lenny/updates main non-free contrib
deb http://repo.ugm.ac.id/debian stable-proposed-updates main non-free contrib

#Indika

deb http://debian.indika.net.id/debian lenny main non-free contrib
deb http://debian.indika.net.id/debian-volatile lenny/volatile main contrib
deb http://debian.indika.net.id/debian-security lenny/updates main non-free contrib
deb http://debian.indika.net.id/debian stable-proposed-updates main non-free contrib

#KLAS

deb http://buaya.klas.or.id/debian lenny main non-free contrib
deb http://buaya.klas.or.id/debian-volatile lenny/volatile main contrib
deb http://buaya.klas.or.id/debian-security lenny/updates main non-free contrib
deb http://buaya.klas.or.id/debian stable-proposed-updates main non-free contrib

Oregon State University

deb ftp://ftp.us.debian.org/debian lenny main non-free contrib
deb ftp://ftp.us.debian.org/debian-volatile lenny/volatile main contrib
deb ftp://ftp.us.debian.org/debian-security lenny/updates main non-free contrib
deb ftp://ftp.us.debian.org/debian stable-proposed-updates main non-free contrib
  • Kita mengambil dari ugm, karena dirasa paling cepat dengan lokasi penulis.
  • setelah ito CTRL+O buat nyimpan CTRL+X buat keluar
  • Lakukan update dengan apt-get update, berfungsi agar paket repository yang dari ugm ini dapat di baca, sesaat akan mendownload listnya
  • Kalau terjadi error biarkan saja
  • Kemudian apt-get upgrade
  • Setelah selesai, anda bisa melakukan perintah perintah penginstalan lain dengan menggunakan APT
Disqus Comments