Home

Search IconIcon to open search

Ubuntu (Debian)

Is a Linux distro. Package management is done through Apt and Snap, but Flatpak seems to be cooler. It doesn’t force updates upon you like Snap, at least. And also uses OSTree, whatever that means.

# Useful

# Apt and dpkg

List package dependencies:

1
apt-cache depends package-name

List packages that depend on a package (reverse dependencies):

1
apt-cache rdepends (--installed) package-name

Show info about a package:

1
apt show PACKAGE_NAME or apt-cache show PACKAGE_NAME

Show to what package a file belongs to:

1
sudo dpkg -S /usr/bin/evolution

# Various stuff

Get all installed fonts:

1
fc-list : family | sort | uniq