sudo gedit /etc/apt/sources.list
这里要是报gedit有关的问题,就执行:
sudo apt-get install gedit
没有报错的话就会弹出一个文件,在文件的头部添加:
deb http://mirrors.ustc.edu.cn/ubuntu/ xenial main restricted universe multiverse
deb http://mirrors.ustc.edu.cn/ubuntu/ xenial-security main restricted universe multiverse
deb http://mirrors.ustc.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse
deb http://mirrors.ustc.edu.cn/ubuntu/ xenial-proposed main restricted universe multiverse
deb http://mirrors.ustc.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://mirrors.ustc.edu.cn/ubuntu/ xenial main restricted universe multiverse
deb-src http://mirrors.ustc.edu.cn/ubuntu/ xenial-security main restricted universe multiverse
deb-src http://mirrors.ustc.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse
deb-src http://mirrors.ustc.edu.cn/ubuntu/ xenial-proposed main restricted universe multiverse
deb-src http://mirrors.ustc.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
退出:ctrl+s 然后点击关闭按键就关闭了
之后执行: sudo apt-get update
最后执行安装teamviewer:sudo apt-get install 文件名(teamviewer)
如果这步temviewer安装的有问题,执行: sudo apt-get -f install
然后在执行安装命令就可以成功的安装了