Some very useful apt tips for Debian and Ubuntu.

There are some very useful tricks that can be used to get information about packages installed on a Debian or Ubuntu machine. Here are just a few. Get a graphical view of the actual dependencies of a package such as Firefox. Firstly, install the graphviz package. jason@Yog-Sothoth:~$ sudo apt install graphvizjason@Yog-Sothoth:~$ sudo apt install graphviz … Read more

How to count the number of packages installed on your Ubuntu/Debian machine.

This useful command will display a count of all installed packages on your Debian Linux machine. jason@ubuntu:~$ dpkg-query -l | wc -l 2027jason@ubuntu:~$ dpkg-query -l | wc -l 2027 Grepping the output to find certain packages. jason@ubuntu:~$ dpkg-query -l | grep vim ii vim-common 2:7.4.052-1ubuntu3 amd64 Vi IMproved – Common files ii vim-tiny 2:7.4.052-1ubuntu3 amd64 … Read more