How can we add repositories on Ubuntu?

Asked By 10 points N/A Posted on -
qa-featured

I want to add a repository to install an application from internet on Ubuntu 9.4.

Unfortunately, when I add the PPA link to the synaptic package manager, it is not considered and no changes are made, can anybody help, please?

add a repository to install an application from internet on Ubuntu 9.4 error
SHARE
Answered By 5 points N/A #125900

How can we add repositories on Ubuntu?

qa-featured

Hello Philomene,

I can give you another way to add ppa link address to your repository list.

Here are some options:

1. From Terminal:

Open the Terminal: Applications > Accessories > Terminal. (Or you can use this keyboard shortcut: Click Ctrl + Alt + T).
After that you can add your ppa link from terminal with type this command line. Let say we want to add ppa link from Mozilla. We should type like this:
 

  • Sudo add-apt-repository ppa: Mozilla-daily


The terminal will ask your password. Insert your Ubuntu password, then type this command to check your ppa link address work:
 

  • Sudo apt-get update


You can see the information about your ppa link was include or not in the sources list. If it include, it will on the list of system update in the terminal. If not, the terminal will show error of the ppa link.

After this step, you can start install the applications or program of the ppa link address.

2. Use Ubuntu Tweak:

Another simple way, you can use tool to help you add repositories link. You can edit your file sources.list file without manually open the file.
 

  • First, download Ubuntu-Tweak from Download Link1.
  • Pick version which fit with your Ubuntu system then Install it.
  • After that, open Ubuntu Tweak from Application > System tools, then click Source Editor. You can see many ppa link address of repositories from the list. See this attachment:

Ubuntu Tweak from Application > System tools, then click Source Editor
 

  • Click Unlock then insert your administrative password.
  • Then add the ppa link address below the similar address like this:

Deb Download Link2

  • Add your ppa link there.
  • Save it with click Save button in the right side "sources.list dropdown menu", below the list.
  • Click Refresh then let Ubuntu Tweak update your system. If your ppa link successfully added, it will be connect to the ppa link server. If not, Ubuntu Tweak will show error reporting about your ppa link.


Hope this can help your problems.

Related Questions