linux里面有两类软件安装包,DEB包和RPM包。
DEB包
一般在ubuntu里面使用,可以输入命令aptitude
管理软件。使用apt安装、更新、配置软件等。
sudo apt-get update #get the latest package versions
sudo apt-search vsftpd #find package by key word(vsftpd)
sudo apt-cache show vsftpd #display information about a package
sudo apt-get install vsftpd #install the vsftpd package
sudo apt-get upgrade #update installed packages
sudo apt-cache pkgnames #list all packages that are installed
...
RPM包
一般使用yum管理RPM包。
yum install firefox
...