这些命令:
dpkg -i
apt-get install
apt-get update
apt-get remove
apt-get dist-upgrade
apt-get purge
在这些发行版中:Opensuse、Fedora、Gentoo、Arch、Slackware。
答案1
查看这页面,您将获得所有详细信息。
Fedora/RHEL/CentOS:
yum install/remove/search/update package
开放苏斯:
yast2 --install/--remove <package_name>
或者
zypper # to print the list of available global options and commands
zypper help search # to print help for the search command
zypper lp # to see what patch updates are needed
zypper patch # to apply the needed patches
zypper se sqlite # to search for sqlite
zypper rm sqlite2 # to remove sqlite2
zypper in sqlite3 # to install sqlite3
zypper in yast* # to install all packages matching 'yast*'
zypper up # to update all installed packages with newer versions, where possible
根图:
emerge package # Install
emerge -C package # Remove a package
emerge -s keyword # Search for packages (package names only)
emerge -u package # update the package
拱
pacman -U package.pkg.tar.xz # Local package install
pacman -Syy # Refresh package databases
pacman -Syu # Update installed packages
pacman -S package # Install package
pacman -R package # Remove package
斯莱克软件
检查 Pkgtools/Slackpkg 的手册页