Ubuntu
以下發行版中這些命令的等效項
這些命令:
dpkg -i apt-get install apt-get update apt-get remove apt-get dist-upgrade apt-get purge
在這些發行版中:Opensuse、Fedora、Gentoo、Arch、Slackware。
檢查此頁面,您將獲得所有詳細資訊。
Fedora/RHEL/CentOS:
yum install/remove/search/update package
OpenSuse:
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
Slackware
檢查 Pkgtools/Slackpkg 的手冊頁