LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-02-2009, 07:17 AM   #1
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,046

Rep: Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271
aptitude and apt-get (again)


I'm thinking of moving from Fedora to Debian when Lenny goes stable: Fedora's release schedule leaves me feeling like a rat in a wheel.

Is it still true that one should not mix apt-get and aptitude? And which is most likely to feel user-friendly to an old yum user?
 
Old 02-02-2009, 08:17 AM   #2
hitest
Guru
 
Registered: Mar 2004
Location: Northern Canada
Distribution: Slackware, Void, OpenBSD
Posts: 7,207

Rep: Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632
Quote:
Originally Posted by DavidMcCann View Post

Is it still true that one should not mix apt-get and aptitude? And which is most likely to feel user-friendly to an old yum user?
I would stick with aptitude.
There is a nice graphical front-end for package management called Synaptic which is in the Administration section, it is very user friendly.
 
Old 02-02-2009, 10:47 AM   #3
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
I would use aptitude from the command line.. http://algebraicthunk.net/~dburrows/.../rn01re01.html

And no you really shouldn't mix the two, you chould choose one or the other and stick with it.
 
Old 02-02-2009, 10:51 AM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
And no you really shouldn't mix the two, you chould choose one or the other and stick with it.
any idea why?
 
Old 02-02-2009, 11:25 AM   #5
pentode
Member
 
Registered: Dec 2005
Location: Oregon
Distribution: Debian Testing
Posts: 488

Rep: Reputation: 38
Aptitude and apt-get deal with dependencies differently. Aptitude will automatically remove a program that it thinks was only installed to satisfy a dependency if you remove the dependent package. apt-get will not do this automatically.

There are other differences in the way the programs attempt to resolve dependencies issues. It's best to stick with one or the other. Aptitude is the recommended tool per the Debian documentation, FWIW.

I run aptitude from the command line - I never figured out the graphical front-end.
 
Old 02-02-2009, 01:58 PM   #6
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
If you normally use apt-get and then decide to switch to aptitude you MUST issue the command aptitude keep-all as your first command, if you don't do this aptitude may uninstall a whole lot of packages from your system that it thinks you no longer need.. Not a very nice surprise.

I understand apt-get can also handle automatically removing un-needed dependencies, but it is handled in a different way than aptitude does.
apt-get auto-remove


Since Etch was released the Developers have recommended full time use of aptitude.. that's a good enough recommendation for me.

Many people still use apt-get and it works perfectly well.. Look at all the Ubuntu users out there..


Aptitude Command Line HOW-TO
http://pthree.org/2007/08/12/aptitude-vs-apt-get/



.
.

Last edited by farslayer; 02-03-2009 at 10:18 PM.
 
Old 02-02-2009, 08:17 PM   #7
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
I used apt-get up until it tried to remove libc6, whereas apitude resolved the situation without major damage.
 
Old 02-03-2009, 01:55 AM   #8
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by pentode View Post
I run aptitude from the command line - I never figured out the graphical front-end.
Pentode,
I'm relieved to hear I'm not the only one. I agree 100%.
Another possibility is wajig (my favourite) which also is run from the command line.
Cheers,
jdk
 
Old 02-03-2009, 08:21 AM   #9
hitest
Guru
 
Registered: Mar 2004
Location: Northern Canada
Distribution: Slackware, Void, OpenBSD
Posts: 7,207

Rep: Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632
Smile

Quote:
Originally Posted by jdkaye View Post
Pentode,
I'm relieved to hear I'm not the only one. I agree 100%.
Another possibility is wajig (my favourite) which also is run from the command line.
Cheers,
jdk
I'm also hard-core as I run FreeBSD and Slackware, that is, I'm completely comfortable at a command prompt with aptitude or apt-get. However, the OP did mention yum/Fedora and that he was looking for something that was user-friendly, hence my suggestion of using Synaptic.
A command prompt or Synaptic will get the job done. Here's a link to the location of Synaptic.

http://www.freesoftwaremagazine.com/...48/whereis.jpg

Last edited by hitest; 02-03-2009 at 09:25 AM.
 
Old 02-03-2009, 05:47 PM   #10
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,046

Original Poster
Rep: Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271
Thanks for the replies, everyone.

Quote:
However, the OP did mention yum/Fedora and that he was looking for something that was user-friendly, hence my suggestion of using Synaptic.
By user-friendly, I meant 'similar to the yum I'm used to'; like you, I do not consider the CLI unfriendly!
 
Old 02-03-2009, 06:06 PM   #11
hitest
Guru
 
Registered: Mar 2004
Location: Northern Canada
Distribution: Slackware, Void, OpenBSD
Posts: 7,207

Rep: Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632
Cool

Quote:
Originally Posted by DavidMcCann View Post
Thanks for the replies, everyone.
By user-friendly, I meant 'similar to the yum I'm used to'; like you, I do not consider the CLI unfriendly!
Yes. The CLI is a wonderful tool:-)
I think that you will really like Debian. Debian's package management system is second to none (best in the business). You will also notice that your system is a lot faster as you move from Fedora to Debian.

Last edited by hitest; 02-03-2009 at 06:09 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get vs. aptitude freddie_leaf Debian 28 01-13-2011 06:56 AM
I Can't Use 'Apt-get' And 'Aptitude' In Ubuntu - HELP!!! davidx Linux - Software 2 10-23-2008 10:07 PM
LXer: Aptitude v.s. apt-get LXer Syndicated Linux News 1 08-13-2007 01:23 PM
aptitude vs apt-get PCalitrack Ubuntu 3 08-08-2006 11:34 AM
aptitude .vs. apt-get thelonius Debian 12 07-25-2006 10:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration