Table of Contents

Packages

Usefull Packages

apt install vim mc screen rsync apt-file rsyslog


apt install tcpdump net-tools bind9-utils curl wget


apt install samba

Package tools

Install a Debian package (.deb) file

dpkg --install <file.deb>


Search for a file in a package

Update the cache first

apt-file update

Search for a file

apt-file search --regex <regex>

Examples

Find package name containing the ab command (Apache Benchmark)

user@host:~ $ apt-file search --regex "/ab$"\\
apache2-utils: /usr/bin/ab                

Find package name containing the dig command (DNS lookup)

user@host:~ $ apt-file search --regex "/dig$"
bind9-dnsutils: /usr/bin/dig              
epic4: /usr/share/epic4/script/dig
epic4-help: /usr/share/epic4/help/8_Scripts/dig