Add Repo Ubuntu |
The first factor you ought to do is build a backup of your sources.list file which might be found within the directory / etc / apt, to create this backup you have got to vary yourself to become the superuser (/) merely} simply use sudo
$ Sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
At the time of running the above command you will be prompted to enter the user password is used, enter the password and then press ENTER and the sources.list file in the backup will be sources.list.bak.
The next step is to find the address of a local repository that you want to register, you can see it in writing \"12:04 Ubuntu Local Repository List\" to see the desired repository, this time we will use a local repository server Kambing. Open the sources.list file by using an editor such as vim, vim.tiny, or even nano to start editing.
$ Sudo /etc/apt/sources.list vim.tiny
You can remove all contents of the sources.list file or simply add a line like the following at the very bottom of the sources.list file. Here is a list of the server repository Kambing:
deb http://kambing.ui.ac.id/ubuntu/ precise play-proposed restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu/ precise play-security restricted universe multiverse
precise-updates deb http://kambing.ui.ac.id/ubuntu/ play restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu/ precise play restricted universe multiverse
Immediately after this line is inserted, and then save the file sources.list. Now the repository is already registered repository of Kambing and you may need to update the configuration of the sources.list file. For the record, whatever you do in your sources.list file try to do an update to update the configuration.
$ Sudo apt-get update
Let it run until the update process is complete and if the registration process has been completed, the local repository on your Ubuntu already completed and ready for use. Try to install an application as a local repository Ubuntu testing whether you are already running properly.
Post a Comment
Please Leave The comment