|||
Ubuntu14.04下安装teamviewer:
1. 首先从http://www.teamviewer.com/zhcn/download/linux.aspx下载32-Bit / 64-Bit Multiarch版本进行安装。
2. 其次使用命令sudo dpkg -i teamviewer_linux.deb进行安装。
3.接着会发现在kylin系统下无法安装的问题,这时使用sudo apt-get -f install命令安装所缺少的依赖包。
4.最后使用命令sudo dpkg -i teamviewer_linux.deb即可成功安装。
需要注意的是!:在这里你必须使用sudo dpkg -i teamviewer_linux.deb尝试进行安装,有提示之后然后再使用命令sudo apt-get -f install,最后使用sudo dpkg -i teamviewer_linux.deb才能安装成功。
如果仍然安装不成功那么就使用下面的方法自己手动安装(转载):
Now you have 2 options. You can use gdebi (recommended) to solve the dependencies, or you can solve them yourself.
Gdebi method:
First, install gdebi:
sudo apt-get install gdebi
In the same directory you downloade the .deb file just run:
sudo gdebi teamviewer_linux.deb
It will list the dependencies and install it with a y.
Manual method:
Here you need to do everything manual. First, query the package dependencies so you can install them first:
dpkg-deb -I teamviewer_linux.deb | grep Depends
It will return something like this:
Depends: libc6 (>= 2.4), libgcc1, libasound2, libfreetype6, zlib1g, libsm6, libxdamage1, libxext6, libxfixes3, libxrender1, libxtst6
Just installing such dependencies with :i386 should be enough:
sudo apt-get install libc6:i386 libgcc1:i386 libasound2:i386 libfreetype6:i386 zlib1g:i386 libsm6:i386 libxdamage1:i386 libxext6:i386 libxfixes3:i386 libxrender1:i386 libxtst6:i386
Then installing Teamviewer as normal:
sudo dpkg -i teamviewer_linux.deb
That should be all:
dpkg --no-act -i Downloads/teamviewer_linux.deb
dpkg: could not open log '/var/log/dpkg.log': Permission denied
Selecting previously unselected package teamviewer.
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-8-1 21:07
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社