Linux系统两种软件包格式:
Debian类:
.ded技术
发行版本:
Debian、Ubuntu、Xandros、Linspire
Red Hat类:
.rpm技术
发行版本:
Fedora、Centos、Red Hat Enterprise Linux、openSUSE、Mandriva、PCLinuxOS
获取程序包的来源:
https://www.centos.org/download/
http://mirrors.aliyun.com
http://mirrors.sohu.com
http://mirrors.163.com
http://pkgs.org
http://rpmfind.net
http://rpm.pbone.net
https://sourceforge.net/
一、查找软件包:
Red Hat 系统:
命令:yum search search_string
search_string:指需要搜索的软件包名称
例如:yum search emacs emacs就是软件包名称
Debian 系统:
命令:apt-get update
apt-cache search search_string
二、软件包的安装
高级安装:安装软件包时,同时安装所有的依赖包。
Red Hat 系统:
命令:yum install package_name
package_name :