1. apt
https://www.debian.org/doc/manuals/debian-handbook/sect.apt-get.en.html
1.1. Usage
Tip
Use apt-get instead of apt in scripts for it has stable interfaces.
List installed packages:
$ sudo apt list --installed
Show info about a package:
$ sudo apt show libopenmpi-dev
Show installed files of a package:
$ dpkg-query -L libopenmpi-dev
List files in a deb package:
$ dpkg-deb -c slurm-smd_24.11.5-1_amd64.deb
Show info of a deb package:
$ dpkg-deb -f slurm-smd-client_24.11.5-1_amd64.deb
Find the package which contains a file:
$ dpkg -S $(which file)
1.2. Popular packages
1.2.1. Networking
$ sudo apt install iputils-ping iproute2 inetutils-traceroute netcat
1.2.2. File
$ sudo apt install attr
1.2.3. CUDA
$ sudo apt install nvidia-cuda-toolkit