DEV Community

Ditching apt-get for apt

Bijay Kumar Pun on April 22, 2020

Well not really ditching, but if we are to believe in linux command manuals, then apt is being encouraged over apt-get, not that apt-get is being d...
Collapse
 
ssimontis profile image
Scott Simontis

If you are trying to write automation code around apt packages, apt-get tends to produce output that is easier to parse. I personally like aptitude, which gives you a terminal-based package manager UI and is much better at resolving conflicts than the other tools.

Collapse
 
bijaykumarpun profile image
Bijay Kumar Pun

Hi @scott !
At the moment, I"m only learning about Linux. And yes aptitude is indeed much better, especially because of the interactive UI. Part of the reason why I didn't mention about aptitude was because of it's interactive UI nature, and I wanted the 'bare bones' just for the heck of it. Also I will keep in mind about apt-get outputs being easier to parse.
Thanks!