click below
click below
Normal Size Small Size show me how
Debian
Package Management
Question | Answer |
---|---|
Install a package | dpkg -i |
Reconfigure an unpacked package | dpkg --configure |
Remove a package (does not delete configuration files | dpkg -r (--remove) |
Completely uninstall a package, including config files | dpkg -P (--purge) |
List information about a currently installed Debian package | dpkg -p (--print-avail) |
Show installed files for a package | dpkg -l (lower L) |
List info about packages NOT installed | dpkg -I (upper i) (--info) |
Find a package associated with a file | dpkg -S (--search) |
Show packages only partially installed | dpkg -C |
Disable packages that have dependencies on the package that is being removed | dpkg -B |
Prevent package being installed if NEWER version Already exists (don't install older) | dpkg -G |
Do not install if same VERSION package already exists | dpkg -E |
Ignore dependency checking | dpkg --ignore-depends |
Prevent changes from being written | dpkg -no-act |
Unpack package but do not install | dpkg --unpack package_file |
Reconfigure an already installed package Return initial configuration scripts and allow you to revert to the default configuration | dpkg -reconfigure |