How to Add Repositories in Linux
How to 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.
Steps

Command-line

In OpenSuse - zypper addrepoIn Mandriva - urpmi.addmediaIn Debian or Ubuntu - open and edit "/etc/apt/sources.list"In Fedora -"/etc/yum.repos.d/".

Enter the root password to save itIn Debian - su nano /etc/apt/sources.listIn Ubuntu - sudo nano /etc/apt/sources.listIn Fedora - su nano /etc/yum.repos.dIn OpenSuse - su zypper addrepoIn 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

What's your reaction?

Comments

https://lamidix.com/assets/images/user-avatar-s.jpg

0 comment

Write the first comment for this!