header image
Home arrow LUG How Tos arrow How To Aptitude Vs. Apt-Get
How To Aptitude Vs. Apt-Get Print
Article Index
How To Aptitude Vs. Apt-Get
Page 2

References:
Aaron Toponce: Aptitude vs Apt-Get.
Linux Love: APT-Get vs Aptitude - Command Line Reference Guide.

Aptitude is never version of apt-get package manager. Aptitude does better job to remove dependencies when removing packages.

# Update the repository list. Every time an update is released or you make a change to your repository
    sudo apt-get update
    sudo aptitude update

# Update packages on your system.
    sudo apt-get upgrade
    sudo aptitude upgrade

# Install new package:
    sudo apt-get install nautilus-open-terminal
    sudo aptitude install nautilus-open-terminal

# Search for package name in repository:
    sudo apt-cache search open-terminal
    sudo aptitude search open-terminal

# Remove package:
    sudo apt-get remove nautilus-open-terminal
    sudo aptitude remove nautilus-open-terminal

 

Thanks to Aaron Toponce for this posting:
 

Being an Ubuntu/Debian user (yes, I use and advocate both), I have fallen in love with the Advanced Packaging Tool, also known as apt. Before Ubuntu, I played in the world of RPM hell, with distros such as Red Hat itself, Mandrake (as it was called back then), and even SuSE. I would find some piece of software, try to install it, only to find that it would choke, saying that it relied on some certain dependencies. I would install the dependencies, only to find conflicting versions with newer software. Hell indeed. So when I discovered the Debian way of installing software, I wondered why no one had mentioned it to me before. It was heaven. This is the way to software, I thought.

EC_LUG -Eau Claire Linux users group is an informal group of Linux and open source software enthusiasts.

We meet each Thursday at 7 p.m. at Dooley's Pub, 442 Water Street, Eau Claire, Wisconsin

Linux 101:
What's All The Fuss? video...

Mac vs. PC: How Would Linux Fit?
video1...

video2...
video3...

Linux User GroupsLug Link Logo