Results 1 to 9 of 9

Thread: Aptitude vs. apt-get

  1. #1
    Join Date
    Jun 2008
    Location
    Around too many hicks...
    Beans
    60
    Distro
    Ubuntu 10.04 Lucid Lynx

    Question Aptitude vs. apt-get

    So I don't get what the different between aptitude and apt-get is...

    Could you say:

    apt-get install build-essential

    and

    aptitude install build-essential

    ???


    Or are they only used for certain things?
    My Java OpenGL Blog:
    http://lorgonjortle.tumblr.com/

  2. #2
    Join Date
    Jun 2008
    Location
    Iowa
    Beans
    542
    Distro
    Ubuntu Gnome 14.04 Trusty Tahr

    Re: Aptitude vs. apt-get

    They are virtually the same thing, just a different interface when it's installing something, and apt-get asks different questions than aptitude does.

  3. #3
    Join Date
    Nov 2006
    Location
    Westland, Michigan
    Beans
    133
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Aptitude vs. apt-get

    Both of those commands would install the package indicated. In years prior, aptitude handled removing dependent packages which were no longer needed. However, recent updates to apt-get have added that functionality.

    I typically use aptitude when I go to install something and it says there are recommended updates. In this case, i so something like
    sudo aptitude install --with-recommends package_name

    apt-get gets about 95% of my business day-to-day.
    Desktop: Ubuntu 9.04, AMD64 X2 4600+, Asus M2NPV-VM, 4GB RAM, Nvidia 7600GT

    Laptop: Ubuntu 9.04, Dell Latitude E6400, Intel Core 2 Duo P8600, 4GB RAM, Nvidia Quadro 160M, Dell 1397 Wireless.

  4. #4
    Join Date
    Mar 2008
    Location
    City of Pines
    Beans
    3,585

    Re: Aptitude vs. apt-get

    Here, try reading this thread.
    Steady movement is more important than speed, much of the time. So long as there is a regular progression of Stimuli to get your mental hooks into, there is room for lateral movement. Once this begins, its rate is a matter of discretion.

  5. #5
    Join Date
    Jan 2008
    Location
    /us/al/home/mb_webguy
    Beans
    2,339
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Aptitude vs. apt-get

    Aptitude and apt-get are separate but nearly identical programs. While you can usually substitute "aptitude" whenever you see a command with "apt-get", I would suggest sticking to apt-get. Because they are separate programs, if you switch back and forth between them you may have problems with one not recognizing packages installed or removed with the other. I recommend apt-get instead of aptitude only because Synaptic is a front-end for apt-get, so using aptitude and Synaptic runs the same risk of problems as using aptitude and apt-get.

  6. #6
    Join Date
    Jun 2008
    Location
    Around too many hicks...
    Beans
    60
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Aptitude vs. apt-get

    Jeeze... based on the poll on THIS thread, it seems pretty close, and since I am a newbie, I'm not sure what to pick. I think I'll go with apt-get, since I use Synaptic sometimes and I don't want a clash. Thanks for all of the answers everyone.

    Cheers,

    Jesse
    My Java OpenGL Blog:
    http://lorgonjortle.tumblr.com/

  7. #7
    Join Date
    Jun 2006
    Location
    Switzerland
    Beans
    Hidden!
    Distro
    Kubuntu Jaunty Jackalope (testing)

    Re: Aptitude vs. apt-get

    aptitude will also the recommended packages... apt-get will not.

  8. #8
    Join Date
    Jun 2008
    Location
    Around too many hicks...
    Beans
    60
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Aptitude vs. apt-get

    Quote Originally Posted by hyper_ch View Post
    aptitude will also the recommended packages... apt-get will not.

    IN SIG: There are 10 different kind of people! Those who understand binary and those who don't!
    Hah, I have that on my MySpace. Such a good quote. Thanks for the tip. Aptitude sounds more ideal, but I use Synaptic too... Maybe I'll just stop using Synaptic.
    My Java OpenGL Blog:
    http://lorgonjortle.tumblr.com/

  9. #9
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: Aptitude vs. apt-get

    As has been pointed out there are minor differences these days between apt-get and aptitude. There a few options unique to one or the other and the configuration files are somewhat different.

    If you want to know, read the man pages. If the man pages are too difficult or too much effort the it is safe to assume they are essentially the same.
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •