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

来源:互联网 发布:mac os 下安装win8 编辑:程序博客网 时间:2024/06/14 04:46

/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 软件名

0 0
原创粉丝点击