What are the benefits and drawbacks of the repository system principle made use of in Ubuntu (et alia)?
There are good ideas and also negative features of mounting software program from one main repository.
- It's done in one area, so you recognize where to look.
- It makes it possible for actually very easy brochure - type applications (as an example capacity, synaptic)
- Good distros keep their repos rather purely, so there's a reasonable little quality assurance, suggesting you can rely on the software program from the repo greater than from untrusted resources
- It allows you to do some really expensive vehicle - settling of software program dependences (well, permits you to do it extra conveniently at the very least)
- Single resource of updates - you do not need to examine each specific application (or application's internet site) for updates, they all come using one area
- It permits matching of all the well-known - excellent software program for an OS to various web servers all over the world (as an example the area I function keeps a Ubuntu repo mirror)
- It's not as very easy to install from various other resources outside the repo
- It's really tailored in the direction of open - resource software program, as opposed to exclusive
- It really feels limiting ; if you're not in the repo, you're out the radar (despite the fact that, yes, you can still install software program from outside the repo, it's a lot harder that not a great deal of individuals trouble)
Overall, the Pros surpass the Cons for the majority of linux distros (actually, possibly most unixes), which is why it's made use of a whole lot in the unix globe. Made use of in a great deal of various means also ; ubuntu's deb/apt databases, fedora/redhat/others rpm/yum repos, *bsd's ports tree, gentoo's portage, pkgsrc, the checklist takes place. Several of them do a far better work than others :)
First of all there isn't actually one "linux repository system". Each linux circulation determines for itself which package management system to make use of (or whether to make use of one in all) and also, generally, has its very own databases.
Ubuntu makes use of the dpkg/apt package management system from debian with Ubuntu's very own databases. Just how this functions is primarily : For each application that you can install via proper, there's a dpkg - plan which is primarily a whized archive having the application's documents (with the executables assembled for Ubuntu) and also some metadata, which (to name a few points) have a summary of the plan and also the plan's dependences so the plan supervisor recognizes which various other plans require to be mounted prior to this one can be mounted (as an example a video game could require opengl and also SDL to be mounted, a gnome - application would clearly require gnome to be mounted etc).
Currently a repository is an area where plans for a details Ubuntu variation are posted by Ubuntu's plan maintainers. Proper after that surfs the readily available databases, to locate the plan you intend to install and also its dependences, download them and also install them.
This is far better than downloading every little thing on your own due to the fact that a) you do not need to download and install every little thing on your own b) you do not need to quest throughout the internet to locate all the dependences and also c) you do not get scenarios like in Windows where each video game mounts its very own variation of DirectX.