Debian: 'deb ee n', a free operating system. Debian uses the Linux kernel (the core of an operating system), but most of the basic OS tools come from the GNU Project; hence the name GNU/Linux.
Ubuntu: 基于 Debian,由 Canonical 赞助,旨在开发更友好的桌面。
dpkg : Debian Package 的简写。为 Debian 专门开发的套件管理系统,方便软件的安装、更新及移除。所有源自
Debian 的 Linux 发行版都使用 dpkg,例如 Ubuntu、Knoppix 等。
apt : the Advanced Packaging Tool,是Ubuntu 软件包管理系统的高级界面。
清楚了这些概念,就理解 ubuntu 下软件包的安装、删除、查看的方式了。
apt 方式:
apt-get install
apt-get -f install
apt-get remove
apt-get --purge remove 同时清除配置
apt-cache search
dpkg 方式:
dpkg -i *.deb (i: install)
另外,要查看 ubuntu 下软件包的安装状态:
dpkg -s xxx (s: search)
dpkg -l (l: list,列举所有)