Go Smart with REAR (pRay, rEad, leArn, tRy)

5/17/2013

Add the Local Repository (Indonesia) to Your Linux Ubuntu

7:45 AM Posted by Vandaime 3 comments
Before I mentioned how, first I will give a list of local repositories

*for Kambing's repository*
deb http://kambing.ui.ac.id/ubuntu/ precise-proposed main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu/ precise-security main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu/ precise-updates main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu/ precise main restricted universe multiverse


*for ITB's repository*
deb ftp://ftp.itb.ac.id/pub/ubuntu/ precise-proposed main restricted universe multiverse
deb ftp://ftp.itb.ac.id/pub/ubuntu/ precise-security main restricted universe multiverse
deb ftp://ftp.itb.ac.id/pub/ubuntu/ precise-updates main restricted universe multiverse
deb ftp://ftp.itb.ac.id/pub/ubuntu/ precise main restricted universe multiverse


*for UKDW's repository*
deb http://repo.ukdw.ac.id/ubuntu precise main restricted universe multiverse
deb http://repo.ukdw.ac.id/ubuntu precise-updates main restricted universe multiverse
deb http://repo.ukdw.ac.id/ubuntu precise-security main restricted universe multiverse
deb http://repo.ukdw.ac.id/ubuntu precise-backports main restricted universe multiverse
deb http://repo.ukdw.ac.id/ubuntu precise-proposed main restricted universe multiverse


*for Komo's repository*
deb http://komo.padinet.com/ubuntu/ precise-proposed main restricted universe multiverse
deb http://komo.padinet.com/ubuntu/ precise-security main restricted universe multiverse
deb http://komo.padinet.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://komo.padinet.com/ubuntu/ precise main restricted universe multiverse


And then, these are the steps :

1)  Open your terminal.

2)  Login as super user.
sudo su or sudo -i, choose one.

3)  Enter the password.

4)  Backing up the original file sources.
 mv /etc/apt/sources.list /etc/apt/sources.list.backup

5)  Create a new sources.list file
 nano /etc/apt/sources.list

6)  Contents at the bottom with one repository that you select.
for example, I choose Kambing's repository
deb http://kambing.ui.ac.id/ubuntu/ precise-proposed main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu/ precise-security main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu/ precise-updates main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu/ precise main restricted universe multiverse
 


7)  Update repository
apt-get update

8)  Upgrade repository
apt-get upgrade

3 comments: