Ubuntu中软件的安装和卸载

一、Ubuntu中软件安装方法

1、APT方式

(1)普通安装:apt-get install softname1 softname2 …;

(2)修复安装:apt-get -f install softname1 softname2... 😭-f Atemp to correct broken dependencies)

(3)重新安装:apt-get --reinstall install softname1 softname2...;

二、Ubuntu中软件包的卸载方法

1、APT方式

(1)移除式卸载:apt-get remove softname1 softname2 …;(移除软件包,当包尾部有+时,意为安装)

(2)清除式卸载 :apt-get --purge remove softname1 softname2...;(同时清除配置)

清除式卸载:apt-get purge sofname1 softname2...;(同上,也清除配置文件)

卸载一个已安装的软件包(删除配置文件):

apt-get --purge remove packagename
posted @ 2021-02-09 01:27  TR_Goldfish  阅读(290)  评论(0编辑  收藏  举报