Written by Guillermo Garron .
Date: 2014-04-19 19:18:22 -0400
I love Debian, it is together with Arch Linux my favorite distribution of GNU Linux. One thing I love about Debian is apt, actually I switched from Fedora/CentOS to Debian/Ubuntu because in my opinion APT is a lot better than YUM.
Being APT as good as it could be, there is always room for improvement, and with this new release, which is a major milestone, we have one real important improvement.
apt-cache is now “integrated” into
apt-get. You will now be able to run.
apt-get search package-name
You can also run:
Which is like running
dpkg list. From Michael Vogt’s blog We get:
- list: which is similar to dpkg list and can be used with flags like –installed or –upgradable.
- search: works just like apt-cache search but sorted alphabetically.
- show: works like apt-cache show but hide some details that people are less likely to care about (like the hashes). The full record is still available via apt-cache show of course.
- update: just like the regular apt-get update with color output enabled.
- install,remove: adds progress output during the dpkg run.
- upgrade: the same as apt-get dist-upgrade –with-new-pkgs.
- full-upgrade: a more meaningful name for dist-upgrade.
- edit-sources: edit sources.list using $EDITOR.
It’s been some months since I am away of Linux, but I think I will install Debian as soon as I can to play with this new apt release. You will have to install Debian Jessie (Testing).permalink
If you enjoyed the article, please share it