pljvaldez |
02-04-2009 12:09 PM |
A repository is a collection of programs. In linux, each distribution maintains a collection of the software included. This makes it easy to install and make sure that it works well with that linux distribution. So instead of googling around the web for a *.exe file in Windows, then installing it, you just point your package manager at this collection (repository) and say "install openoffice and firefox" and it installs both. There are usually "official" and "unofficial" repositories. For example, the main Debian repositories are maintained by the Debian project, but Debian Multimedia is maintained by some guy in his basement (though he does a great job) and includes things that the Debian project won't due to legal, freedom, or other reasons (like proprietary codecs and drivers, etc).
Now, linux is a modular system and developers are encouraged to avoid "re-inventing the wheel" when they write new programs. So if a developer is writing a program called "foo", he might need a certain library of functions for graphics display or math or something else. So in his program, instead of re-creating these functions, he might use this other guy's program, "bar". So "foo" depends on "bar". So a good reason to use the repositories and the distro package managers are that whenever you install a program, it also installs all the programs that are required to make it run properly.
|