ubuntu & kubuntu

Derek Broughton news at pointerstop.ca
Tue Oct 21 02:22:47 UTC 2008


Thorny wrote:

> On Sat, 18 Oct 2008 11:35:50 -0300, Derek Broughton wrote:
> 
>> Mario Guenterberg wrote:
>> 
>>> Aptitude is a "front-end" for apt-get and does the same. You can do
>>> install, update and remove packages with both of the utilities.
>> 
>> Actually, aptitude and apt-get are very similar (at least at the command
>> line) front-ends for dpkg - aptitude never calls apt-get.
> 
> Derek, in my normally picky-picky mode I would make this comment. Aptitude
> is a front end for apt which was crafted as a front end for dpkg.

I challenge you to ever find an instance of aptitude running a command
named "apt".  In fact, "apt" is a java tool on my system.  "apt" is a
catch-all word for the whole Advanced Package Tool.  apt-get isn't
a "front-end" for apt - it IS the command line component of the apt
package.

> Apt-get 
> is a command line tool for apt and aptitude is a terminal based front end
> for apt. Minor difference from what you wrote, but, strictly speaking, 
> more precise.

More precise, but essentially wrong.  Aptitude _has_ a terminal based
front-end, but it's perfectly possible to use it almost exactly as you use
apt-get. When it comes down to running other binaries, what they both
execute is "dpkg" - just watch the process tree.
-- 
derek





More information about the ubuntu-users mailing list