ubuntu重新安装软件的方法:需要先将软件卸载再安装,卸载:APT方式卸载:(1)移除式卸载:apt-get remove softname1 softname2 …;(移除软件包,当包尾部有+时,意为安装)(2)清除式卸载 :apt-g
ubuntu重新安装软件的方法:
需要先将软件卸载再安装,卸载:
APT方式卸载:
(1)移除式卸载:apt-get remove softname1 softname2 …;(移除软件包,当包尾部有+时,意为安装)
(2)清除式卸载 :apt-get --purge remove softname1 softname2...;(同时清除配置)
(3)清除式卸载:apt-get purge sofname1 softname2...;(同上,也清除配置文件)
Dpkg方式卸载:
(1)移除式卸载:dpkg -r pkg1 pkg2 ...;
(2)清除式卸载:dpkg -P pkg1 pkg2...;
再安装软件即可,例如:
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...;
Dpkg方式安装:
普通安装:dpkg -i package_name.deb
--结束END--
本文标题: 如何ubuntu重新安装软件
本文链接: https://www.lsjlt.com/news/114866.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-05-16
2024-05-16
2024-05-16
2024-05-16
2024-05-16
2024-05-16
2024-05-16
2024-05-16
2024-05-16
2024-05-16
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0