Package Management

Sunday, October 23, 2005

Applications for GNU/Linux are available in various formats like source(.tar.gz), deb, rpm. In my opinion Debian's package management is far superior than others as it automatically checks for dependancy packages and installs them too(there is yum forRedHat, but I don't use RedHat).
You can install/update/remove packages using synaptic package manager. Open synaptic from System>Administration>Synaptic Package Manager.
You can find the interface easy to use. Just select your package at the upper-right corner and click the tick box. Synaptic automatically installs the dependency packages too if required.
So you may be asking from where does synaptic install the software. There are various repositories on the net that is used by synaptic to install or update the system. Usually we use the command line tools to install them, but synaptic gives a easy to use interface.
You can view the repositories or add new ones by going to the Settings>Repositories menu and a list of repositories are shown. Click settings and tick the Show Disabled software sources.
You can now see checkboxes next to the repositories.
Enable the Universe repository. You can also enable the Multiverse and the Universe Security updates repository. Save the changes.
You need to update the packages to obtain the list of packages in the repository.
After this, you can install the packages.

You can also add new Repositories. For eg
deb http://www.grawert.net/ubuntu/ warty universe
Here the various fields are
deb - neaning it is a binary
http://www.grawert.net/ubuntu/ - URi(Uniform Resource Identifier) which is the location of the repository
warty - the release name
universe - section name. There can be several sections seperated by a space.

Hope you have got a nice overview of the package management in Ubuntu.

comments links to this post Listen to this article Listen to this article

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home

Previous Posts


referer referrer referers referrers http_referer

  • Subscribe to Free Software Blog
  • Google
Reader
  • Subscribe in Yahoo
  • Subscribe
in Bloglines
  • Link to Podcast

(RSS feed) for this blog
    Computers Blog Top Sites
  • Computers Blogs by Indian Bloggers
  • BLogstreet Profile

Sponsors