Package Management - apt to unify apt-get, apt-cache, and dpkg
I have been using apt-get and apt-cache a lot over the years. But I never really got used to having to use different commands. Now it seems the management tasks have finally found a common home: apt.
To unify the package management, commands have been combined in the new apt application. Here is a short overview of the new variants versus the old ones:
apt search
instead ofapt-cache search
apt show pkgname
instead ofapt-cache show pkgname
apt update
instead ofapt-get update
apt upgrade
instead ofapt-get upgrade
apt list --installed
instead ofdpkg --get-selections
But it is not only this, what has changed. I also noticed some changes in the shell-based user interface. For example, it now uses colours to highlight package-names in the output and during upgrades now shows an overall progress-bar at the bottom.
You can see the progress bar but cannot see the use of colours in the snippet. It’s the blog-based highlighting that you see here. So take a look at your own system to see those.
Overall that seems to be a nice enhancement: unified command with better look - and hopefully still the awesome functionality that made me start using Linux systems in the first hand …
Tagged: linux-admin