List the contents of a deb package before installation.

A Debian deb package is an archive that contains files to be installed on your system. There are ways to list the contents of a deb package before installation. Use the dpkg(1) command to achieve this easily. List all files in the deb archive. ┌─[✗]─[jason@darkstar]─[~] └──╼ $dpkg –contents brave.deb┌─[✗]─[jason@darkstar]─[~] └──╼ $dpkg –contents brave.deb List all … Read more

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

Some very useful Ubuntu tips.

To find out what repository a package came from, use the dpkg -s command. jason@jason-desktop:~$ dpkg -s zdoom Package: zdoom Status: install ok installed Priority: optional Section: web Installed-Size: 9330 Maintainer: DRD Team <[email protected]> Architecture: amd64 Version: 2.8.1 Depends: libc6, libstdc++6, zlib1g, bzip2, libgtk2.0-0 Recommends: timidity, libfluidsynth1 Description: Advanced Doom source port.jason@jason-desktop:~$ dpkg -s zdoom … 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

Useful bash commands and how to manage packages with dpkg on a Debian distro.

This is another way to find out who your user is. bash 07:15:16 Fri Jul 05 [homer@deep-thought $ who is linux homer pts/0 2013-07-05 19:10 (:0.0)bash 07:15:16 Fri Jul 05 [homer@deep-thought $ who is linux homer pts/0 2013-07-05 19:10 (:0.0) And this command lists all logged in users on your Linux system. bash 07:15:09 Fri … Read more