美文网首页
Ubuntu中软件包的卸载与安装

Ubuntu中软件包的卸载与安装

作者: 小桥流水啦啦啦 | 来源:发表于2020-05-16 13:55 被阅读0次
一、Ubuntu中软件包的卸载方法

1、apt方式:移除式卸载

apt-get remove softname1 softname2

2、apt方式:清除式卸载

apt-get --purge remove softname1 softname2

apt-get purge softname1 softname2

3、dpkg方式

dpkg -r pkg1 pkg2

dpkg -P pkg1 pkg2
二、Ubuntu中软件包的安装方法

1、apt方式:普通式安装

apt-get install softname1 softname2

2、apt方式: 修复式安装

apt-get -f install softname1 softname2

3、apt方式:重新安装

apt-get --reinstall install softname1 softname2

4、dpkg方式 :普通安装

dpkg -i package_name.deb

(完)

相关文章

网友评论

      本文标题:Ubuntu中软件包的卸载与安装

      本文链接:https://www.haomeiwen.com/subject/rlnlohtx.html