Ubuntu学习-增加更新源及安装软件及卸载软件

/etc/apt/sources.list

1、备份文件

CP /etc/apt/sources.list  /etc/apt/sources_bak.list

2、修改更新源

gedit /etc/apt/sources.list

系统版本相对应的更新源可以找度娘

3、sudo -s 切换管理员

4、让更新源生效

apt-get update  

5、安装软件

apt-get install 软件名


卸载命令为apt-get remove 软件名

原文地址:https://www.cnblogs.com/liuxiaowei/p/7163531.html