debian基础知识
debian强大之处在于其apt软件包的管理。
配置资源列表:
修改/etc/apt/sources.list文件【这是一个国内不错的镜像源】http://mirrors.163.com
deb http://mirrors.163.com/debian squeeze main non-free contrib
deb http://mirrors.163.com/debian squeeze-proposed-updates main contrib non-free
deb http://mirrors.163.com/debian-security squeeze/updates main contrib non-free
deb-src http://mirrors.163.com/debian squeeze main non-free contrib
deb-src http://mirrors.163.com/debian squeeze-proposed-updates main contrib non-free
deb-src http://mirrors.163.com/debian-security squeeze/updates main contrib non-free
deb http://http.us.debian.org/debian squeeze main contrib non-free
deb http://non-us.debian.org/debian-non-US squeeze/non-US main contrib non-free
deb http://security.debian.org squeeze/updates main contrib non-free
apt基本命令:
aptitude update --升级软件包,根据sources.list列表确定
aptitude search software-name... --查找某个或多个软件
aptitude install software-name... --安装某个或多个软件