一、Ubuntu中软件安装方法
1、APT方式
(1)普通安装:apt-get install softnamel softname2…;
(2)修复安装:apt-get-f install softnamel softname2... ; (-f Atemp to correct brokendependencies)
(3)重新安装:apt-get --reinstall install softname1 softname2.. . ;
2、Dpkg方式
(1)普通安装: dpkg -i package_name.deb
3、源码安装(.tar、tar.gz、tar.bz2、tar.l)
首先解压缩源码压缩包然后通过tar命令来完成
1). 对source.list文件进行备份
sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup1
首先编辑sources.list这个文件
vi /etc/apt/sources.list
apt-get update