RSS

Update Repository Lokal Ubuntu

Update Repository lokal diperluakan agar list software dalam ubuntu semakin update atau lebih kompleks.
Biasanya kalau kita baru saja install ubuntu akan terasa sekali ubuntunya masih simpel banget.
Nah untuk merubah tampilan ubuntu dan menambah software-software ubuntu kita harus update sources listnya terlebih dahulu..


Langkah Pertama (buka terminal)
  • Pilih Applications - Accessories - Terminal
  • Atau bisa juga menggunakan ctrl+alt+t untuk keyboard shortcuts ubuntu 10.04

Langkah Kedua (konfigurasi list)
  • Masuk ke dalam root terlebih dahulu
$ sudo su

  • Buka file konfigurasi sources.list (silahkan menggunakan editor kesayangan anda, disini saya memakai editor pico)
# pico  /etc/apt/sources.list
Akan terdapat script berikut :

# deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://id.archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://id.archive.ubuntu.com/ubuntu/ lucid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://id.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
deb-src http://id.archive.ubuntu.com/ubuntu/ lucid-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://id.archive.ubuntu.com/ubuntu/ lucid universe
deb-src http://id.archive.ubuntu.com/ubuntu/ lucid universe
deb http://id.archive.ubuntu.com/ubuntu/ lucid-updates universe
deb-src http://id.archive.ubuntu.com/ubuntu/ lucid-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://id.archive.ubuntu.com/ubuntu/ lucid multiverse
deb-src http://id.archive.ubuntu.com/ubuntu/ lucid multiverse
deb http://id.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
deb-src http://id.archive.ubuntu.com/ubuntu/ lucid-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://id.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
deb-src http://id.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu lucid partner
deb-src http://archive.canonical.com/ubuntu lucid partner

deb http://security.ubuntu.com/ubuntu lucid-security main restricted
deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
deb http://security.ubuntu.com/ubuntu lucid-security universe
deb-src http://security.ubuntu.com/ubuntu lucid-security universe
deb http://security.ubuntu.com/ubuntu lucid-security multiverse
deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse

  • Nah  Script di atas ganti saja dengan menghapus semua isi file atau menutup dengan tanda # yang berawalan dengan deb dan menggantinya atau menambahkan paling bawah dengan repository lokal. 
contoh :

deb http://kambing.ui.ac.id/ubuntu/ lucid-backports main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu/ lucid-proposed main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu/ lucid-security main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu/ lucid-updates main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu/ lucid main restricted universe multiverse

  • Alamat diatas dapat kita ganti dengan alamat reporitory lain yang bisa kita liat di 
Daftar repository lokal ubuntu 10.04 untuk ubuntu 10.04
Daftar repository lokal ubuntu 10.10 untuk ubuntu 10.10
  • Pilih salah satu alamat repository lokal  dan masukkan atau copy ke file sources.list seperti contoh diatas


Langkah Ketiga (simpan konfigurasi)
  • Simpan hasil konfigurasi diatas dengan menekan ctrl+o lalu enter
  • Dan keluar ke menu utama terminal dengan menekan ctrl+z


Langkah Keempat (update repository)
  • Setelah selesai mengganti isi file konfigurasi repository kita bisa lakukan update dengan cara
# apt-get update


 Langkah Kelima (install software)
  • Nah sekarang ubuntu telah memiliki repository yang baru dan lebih kompleks 
  • Sekarang kita bisa install software sesuai dengan selera dan kebutuhan
  • Instal software dengan mengetikkan 
# apt-get install (nama software)



Instalasi selesai, untuk instalasi silahkan install paket sesuai kebutuhan anda, bisa juga proses instalasi dipermudah dengan menggunakan GUI yaitu buka System-Administration-Synaptic Package Manager dan pilih software yang akan di install dengan memberi ceklist atau double click lalu apply

0 comments:

Posting Komentar