Software Respositories in Linux (openSUSE & SUSE) explained
So many of the more advanced users know exactly what a Software Repository (a.k.a repo). So I hope to help explain what it actually is.
A repo is a central location from which packages can be downloaded and installed onto a computer. This could be a location avaliable to the public (ie. http://download.opensuse.org/download) or a location that is avaliable through a subscription (ie. Customer Portal for SUSE Linux Enterprise products).
You still may be scratching your head and wondering “why do I want them, where do I get them, and how can I use them”. You are using repositories if you know it or not.
openSUSE’s YaST gives a great tool to help you manage your repositories through a GUI (Graphical User Interface). To check out this tool open YaST –> Software –> Software Repositories, this will open your repository management tool.
Here you’ll see repositories already configured, but how & why? If you know it or not you are already using repositories. During your installation the update repository was setup. This repository is where you get your updates, patches and fixes for your distribution.
So why am I telling you about these repositories? Because repositories can be used to enlighten your openSUSE experience. I’ll walk you through a setup (using the zypper command line utility) of a repository so I can install bluefish (a great opensource alternative to dreamweaver). So without further ado here we go:
Open up a konsole, terminal or xterm.
Now lets add the repository using zypper by running the following command:
sudo zypper ar http://download.opensuse.org/repositories/Education/openSUSE_Factory/ Educaton\ Factory
(Note: I am using the Factory Repository, you should use the repository associated to your openSUSE distribution, these repositories can be found here.
After running the zypper ar above, we get the following output:
Adding repository ‘Educaton Factory’ [done]
Repository ‘Educaton Factory’ successfully added
Enabled: Yes
Autorefresh: No
URI: http://download.opensuse.org/repositories/Education/openSUSE_Factory/
Yup, it was as easy as that to setup a new repository (Go to the YaST GUI tool for Software Repository management now, and see that it’s in there).
(Bonus: you can run:
zypper lr
To list your configured repositories.)
Now that I have the Education repository configured I can install bluefish by running:
sudo zypper in bluefish
And i’m done. So how does this help you? It gives you the opportunity to install MANY applications that weren’t setup in the oss or non-oss repository.
To find where your application repository may be, you can search http://software.opensuse.org/search which is also the location you can do a 1-Click install.
I hope that helps you understand what a repository is and how to set it up. If you still aren’t sure, or this wasn’t clear please feel free to leave a comment as I always work to fix my postings to make them more accurate and more informational.
2 Comments to Software Respositories in Linux (openSUSE & SUSE) explained
[...] Software news by ben.kevan [...]
November 8, 2008
[...] is a similar one for Counter Strike. To be fair, Ben also wrote about Free software, but it’s OpenSUSE-flavoured most of the time. So why am I telling you about these repositories? Because repositories can be [...]
Leave a comment
Search
Powered by
Tags
10.3 11.0 11.1 apache bash beta bootchart codeweavers compiz drivers emerald emulation esx fat ass tomato man filesystems flash fonts gnome grub ibm kde kde4 kernel knoppix linux lotus notes lvm Microsoft nomad nvidia openoffice opensuse performance repositories review scripting security tech tutorial ubuntu user management VMWare windows wine workstationArchives
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- February 2008
- January 2008
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
Ben Kevan's Blog
- Connecting to Linux via RDP using NOMAD on openSUSE 11.1
- Red Hat (RHT) Profits Soar, is Novell (NOVL) Next?
- Dropping KDE 3.5 for openSUSE 11.2 isn’t really a bad thing
- 5 Days on openSUSE 11.1 was an early X-Mas present
- Unexpected Downtime
- Amarok 2.0 Final Released - Shipping with openSUSE 11.1
- PCLinuxOS 2009 Beta 2 - Review, Thoughts and Screenshots
- Opera 10.0 Alpha 1 on openSUSE 11.1 - Review
- Ding Dong the Emeralds Back Compiz
- 11.1 Build Service Repositories being Built
November 2, 2008