ubuntu 包管理

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,列举所有)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值