FG
💻 Software

On Ubuntu, why "sudo apt-get" sometimes and "sudo aptitude" other times?

Fresh5 days ago
Mar 15, 202611275 views
Confidence Score0%
0%

Problem

I was trying to figure out how to install libgtk2.0-dev and found that I have to use instead of Why these two different ways of getting stuff?

Error Output

sudo aptitude install

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: On Ubuntu, why "sudo apt-get" sometimes and "sudo aptitude" other times?

Low Risk

and are both frontends to dpkg. Use one or the other but be consistent. Aptitude is newer and is suppose to be easier to use. It also unifies some of the functions. You can use to search and install while with apt-* you need and for installation and…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment