dpkg-reconfigure -plow dash deactivates Dash as shell.linux:administration:packages
Packages
Howto
- Ask Ubuntu: How to prevent updating of a specific package?
RPM
- install a package:
rpm -i <package>.pkg - show package infos (incl. dependencies):
rpm -qiRp <package>.pkg - show all files in a package:
rpm -qlp <package>.pkg
DPKG
- install a package:
dpkg -i <package> - show all installed packages:
dpkg -l - reconfigures a package:1)
dpkg-reconfigure <package> - uninstall a package:
dpkg -r <package> - uninstall, ignoring dependencies:
dpkg -r --force-depends <package> - show package an (installed) file belongs to:
dpkg -S <file-path>
APT
- update the package lists:
apt update - update all installed packages:
apt upgrade - install a package:
apt install <package> - automatically remove all unused packages:
apt-get -y autoremove - do not update a package anymore:
apt-mark hold <package> - show all packages which are on-hold:
apt-mark showhold
1)
For example
linux/administration/packages.txt · Last modified: by Ralf Hoppe
