dpkg
Linux · Packages · available in the simulator
What it does
Manage local .deb packages.
Syntax
dpkg [opciones] paquete.deb
Options and parameters
-iInstall the specified .deb package.
sudo dpkg -i paquete.deb-rRemove the package while preserving its configuration.
-lList installed packages.
dpkg -l | grep nginx-L PKGlist files installed by a package
-S RUTAfind which package owns a file
-PPurge the package and delete its configuration.
-LList files installed by a package.
-SFind which package owns a file.
dpkg -S /usr/bin/ls
Usage examples
sudo dpkg -i paquete.debdpkg -lsudo dpkg -r paquetedpkg -L vimdpkg -l | grep nginxdpkg -S /usr/bin/ls