Add Repositories in Linux
Installing software in Linux is different from Windows in that it is done via repositories. It can help to think of package managers as the equivalent of an advanced version of Add/Remove Programs in Control Panel in Windows. This way programs can be virus checked before the user installs them.
Contents
Steps
Command-line
- In OpenSuse - zypper addrepo
In Mandriva - urpmi.addmedia
In Debian or Ubuntu - open and edit "/etc/apt/sources.list"
In Fedora -"/etc/yum.repos.d/". - Enter the root password to save it
In Debian - su nano /etc/apt/sources.list
In Ubuntu - sudo nano /etc/apt/sources.list
In Fedora - su nano /etc/yum.repos.d
In OpenSuse - su zypper addrepo
In Mandriva - su urpmi.addmedia
Graphical (Adept)
- Enter the root password
- Click Adept then Manage Repositories/Edit Software Sources
Graphical (Synaptic)
- Enter the root password
- Click Settings then Repositories
Tips
- Sometimes you can buy the full repositories on CD from the likes of on-disk.
- CD-ROM: enables the CD-ROM as a repository
- Also consider AptonCD