Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

What are the pros and cons of

  • dpkg
  • APT
  • aptitude
  • Ubuntu software centre
  • synaptic package manager

when used to install, remove and update software?

share|improve this question
add comment

2 Answers

up vote 5 down vote accepted
  • dpkg is tool to install/remove/configure... only a sigle package
  • apt and aptitude are tools for working with software repositories -- they can download packages from them, solve dependecies, calculate updates etc. they're using dpkg to install/configure packages (there are some differences between apt and aptitude, but in general, they are doing the same)
  • Synaptic is simple GUI for apt
  • Software Center is also GUI for apt (I think it's using python-apt) and it's much more "user friendly" than Synaptic
share|improve this answer
add comment
  • They all use dpkg, synaptic and software centre are GUI interfaces to apt and dpkg.

  • aptitude is a newer replacement for apt(Advanced Package Tool).

  • dpkg is a tool to install,build,remove and manage Debian packages.

  • dpkg handles the actual installation of the package file,and it manages the installed packages database.

  • apt does dependeny resolution,while dpkg does package installation and removing. i.e if you install say gnome,you do apt-get install gnome.Then to have gnome you need a lot of other packages than simply gnome.deb,about a hundred other ones.To figure out which ones,apt is used that's dependency resolution.

  • Synaptic and Software centre are the gui for libapt while apt-get and aptitude are console.

For more details:

  • You can see the man pages of apt,aptitude and dpkg.
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.