[퍼옴] http://www.2daygeek.com/how-to-install-teamviewer-9-in-ubuntu-14-04/

gdebi 를 설치 후에 teamviewer_linux_x64.deb 파일을 설치하면

lib32asound 에러가 난다.

따라서 사용할 파일은 teamviwer_linux.deb 파일이며 이것을 설치하여야 한다.

1. How to download the teamviewer package ?

Download the package using wget command as shown below.

magesh@magesh-desktop:~$ sudo wget http://www.teamviewer.com/download/teamviewer_linux_x64.deb
[sudo] password for magesh: 
--2014-05-21 18:08:14--  http://www.teamviewer.com/download/teamviewer_linux_x64.deb
Resolving www.teamviewer.com (www.teamviewer.com)... 46.163.100.220
Connecting to www.teamviewer.com (www.teamviewer.com)|46.163.100.220|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://download.teamviewer.com/download/teamviewer_linux_x64.deb [following]
--2014-05-21 18:08:15--  https://download.teamviewer.com/download/teamviewer_linux_x64.deb
Resolving download.teamviewer.com (download.teamviewer.com)... 46.163.100.220
Connecting to download.teamviewer.com (download.teamviewer.com)|46.163.100.220|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://downloadus1.teamviewer.com/download/teamviewer_linux_x64.deb [following]
--2014-05-21 18:08:15--  https://downloadus1.teamviewer.com/download/teamviewer_linux_x64.deb
Resolving downloadus1.teamviewer.com (downloadus1.teamviewer.com)... 50.23.131.223
Connecting to downloadus1.teamviewer.com (downloadus1.teamviewer.com)|50.23.131.223|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 22058718 (21M) [application/x-deb]
Saving to: ‘teamviewer_linux_x64.deb’

100%[=====================================================================================================>] 2,20,58,718  751KB/s   in 37s    

2014-05-21 18:08:54 (584 KB/s) - ‘teamviewer_linux_x64.deb’ saved [22058718/22058718]

2. How to install the teamviewer package ?

Teamviewer package got download at /home/magesh/. After downloaded the package, go to the downloaded location and run the below command.

magesh@magesh-desktop:~$ sudo dpkg -i teamviewer_linux_x64.deb
Selecting previously unselected package teamviewer.
(Reading database ... 171926 files and directories currently installed.)
Preparing to unpack teamviewer_linux_x64.deb ...
Unpacking teamviewer (9.0.27891) ...
dpkg: dependency problems prevent configuration of teamviewer:
 teamviewer depends on lib32asound2; however:
  Package lib32asound2 is not installed.
 teamviewer depends on ia32-libs; however:
  Package ia32-libs is not installed.

dpkg: error processing package teamviewer (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 teamviewer

3. How to install the teamviewer package with force option ?

IF you got missing dependencies error on above command, try to run the below command.

magesh@magesh-desktop:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  lib32z1 libc6-i386
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  teamviewer
0 upgraded, 0 newly installed, 1 to remove and 22 not upgraded.
1 not fully installed or removed.
After this operation, 81.9 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 172156 files and directories currently installed.)
Removing teamviewer (9.0.27891) ...

4. installing GDEBI package ?

I have verified in my desktop whether teamviewer got installed or not, It seem’s still its not installed on my ubuntu desktop, why ?

Due to dependency problem its haven’t installed, so i’m going to install the gdebi package (GDebi can install local .deb packages with automatic dependency resolution )

magesh@magesh-desktop:~$ sudo apt-get install gdebi
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  lib32z1 libc6-i386
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  gdebi-core gksu libcairo-perl libgksu2-0 libglib-perl libgtk2-perl libpango-perl
Suggested packages:
  libfont-freetype-perl libgtk2-perl-doc
The following NEW packages will be installed:
  gdebi gdebi-core gksu libcairo-perl libgksu2-0 libglib-perl libgtk2-perl libpango-perl
0 upgraded, 8 newly installed, 0 to remove and 22 not upgraded.
Need to get 1,352 kB of archives.
After this operation, 6,030 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://in.archive.ubuntu.com/ubuntu/ trusty-updates/main gdebi-core all 0.9.5.3ubuntu1 [9,808 B]
Get:2 http://in.archive.ubuntu.com/ubuntu/ trusty/universe libgksu2-0 amd64 2.0.13~pre1-6ubuntu4 [71.8 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu/ trusty/universe gksu amd64 2.0.2-6ubuntu2 [27.8 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu/ trusty-updates/universe gdebi all 0.9.5.3ubuntu1 [23.4 kB]
Get:5 http://in.archive.ubuntu.com/ubuntu/ trusty/universe libcairo-perl amd64 1.104-1 [114 kB]
Get:6 http://in.archive.ubuntu.com/ubuntu/ trusty/universe libglib-perl amd64 3:1.304-1 [332 kB]
Get:7 http://in.archive.ubuntu.com/ubuntu/ trusty/universe libpango-perl amd64 1.224-2 [220 kB]
Get:8 http://in.archive.ubuntu.com/ubuntu/ trusty/universe libgtk2-perl amd64 2:1.249-2 [553 kB]
Fetched 1,352 kB in 4s (272 kB/s) 
Selecting previously unselected package gdebi-core.
(Reading database ... 171926 files and directories currently installed.)
Preparing to unpack .../gdebi-core_0.9.5.3ubuntu1_all.deb ...
Unpacking gdebi-core (0.9.5.3ubuntu1) ...
Selecting previously unselected package libgksu2-0.
Preparing to unpack .../libgksu2-0_2.0.13~pre1-6ubuntu4_amd64.deb ...
Unpacking libgksu2-0 (2.0.13~pre1-6ubuntu4) ...
Selecting previously unselected package gksu.
Preparing to unpack .../gksu_2.0.2-6ubuntu2_amd64.deb ...
Unpacking gksu (2.0.2-6ubuntu2) ...
Selecting previously unselected package gdebi.
Preparing to unpack .../gdebi_0.9.5.3ubuntu1_all.deb ...
Unpacking gdebi (0.9.5.3ubuntu1) ...
Selecting previously unselected package libcairo-perl.
Preparing to unpack .../libcairo-perl_1.104-1_amd64.deb ...
Unpacking libcairo-perl (1.104-1) ...
Selecting previously unselected package libglib-perl.
Preparing to unpack .../libglib-perl_3%3a1.304-1_amd64.deb ...
Unpacking libglib-perl (3:1.304-1) ...
Selecting previously unselected package libpango-perl.
Preparing to unpack .../libpango-perl_1.224-2_amd64.deb ...
Unpacking libpango-perl (1.224-2) ...
Selecting previously unselected package libgtk2-perl.
Preparing to unpack .../libgtk2-perl_2%3a1.249-2_amd64.deb ...
Unpacking libgtk2-perl (2:1.249-2) ...
Processing triggers for man-db (2.6.7.1-1) ...
Processing triggers for gconf2 (3.2.6-0ubuntu2) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.54ubuntu1) ...
Setting up gdebi-core (0.9.5.3ubuntu1) ...
Setting up libgksu2-0 (2.0.13~pre1-6ubuntu4) ...
update-alternatives: using /usr/share/libgksu/debian/gconf-defaults.libgksu-sudo to provide /usr/share/gconf/defaults/10_libgksu (libgksu-gconf-defaults) in auto mode
Setting up libcairo-perl (1.104-1) ...
Setting up libglib-perl (3:1.304-1) ...
Setting up libpango-perl (1.224-2) ...
Setting up libgtk2-perl (2:1.249-2) ...
Processing triggers for gconf2 (3.2.6-0ubuntu2) ...
Setting up gksu (2.0.2-6ubuntu2) ...
Setting up gdebi (0.9.5.3ubuntu1) ...
Processing triggers for libc-bin (2.19-0ubuntu6) ...

5. installing teamviewer with gdebi package ?

Now, Again i’m going to install teamviewer using gdebi package.

magesh@magesh-desktop:~$ sudo gdebi teamviewer_linux_x64.deb
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Building data structures... Done 
Building data structures... Done 
This package is uninstallable
Dependency is not satisfiable: lib32asound2

6. teamviewer not installed, why ? How i have installed finally, check below steps ?

There is no LUCK at all because still i’m getting Dependency error. why ?

There was some problem on the teamviewer_linux_x64.deb dependencies. On newer 64-bit DEB-systems with Multiarch-support (Ubuntu 12.04 and later) teamviewer_linux_x64.deb cannot be installed because the package ia32-libs is not available anymore on these systems. In this case you can use teamviewer_linux.deb instead. Check the advice from teamviewer official notice

I’m going to download the 32-bit teamviewer package.

magesh@magesh-desktop:~$ sudo wget http://www.teamviewer.com/download/teamviewer_linux.deb
--2014-05-21 18:18:28--  http://www.teamviewer.com/download/teamviewer_linux.deb
Resolving www.teamviewer.com (www.teamviewer.com)... 46.163.100.220
Connecting to www.teamviewer.com (www.teamviewer.com)|46.163.100.220|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://download.teamviewer.com/download/teamviewer_linux.deb [following]
--2014-05-21 18:18:29--  https://download.teamviewer.com/download/teamviewer_linux.deb
Resolving download.teamviewer.com (download.teamviewer.com)... 46.163.100.220
Connecting to download.teamviewer.com (download.teamviewer.com)|46.163.100.220|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://downloadus1.teamviewer.com/download/teamviewer_linux.deb [following]
--2014-05-21 18:18:29--  https://downloadus1.teamviewer.com/download/teamviewer_linux.deb
Resolving downloadus1.teamviewer.com (downloadus1.teamviewer.com)... 50.23.131.223
Connecting to downloadus1.teamviewer.com (downloadus1.teamviewer.com)|50.23.131.223|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 22058800 (21M) [application/x-deb]
Saving to: ‘teamviewer_linux.deb’

100%[=====================================================================================================>] 2,20,58,800 2.01MB/s   in 15s    

2014-05-21 18:18:46 (1.40 MB/s) - ‘teamviewer_linux.deb’ saved [22058800/22058800]

Trying to install the package.

magesh@magesh-desktop:~$ sudo gdebi teamviewer_linux.deb
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Building data structures... Done 
Building data structures... Done 
Requires the installation of the following packages: libxtst6:i386 

TeamViewer (Remote Control Application)
 TeamViewer is a remote control application. TeamViewer provides easy, fast and secure remote access to Linux, Windows PCs, and Macs.
 .
 TeamViewer is free for personal use. You can use TeamViewer completely free of charge to access your private computers or to help your friends with their computer problems.
 .
 To buy a license for commercial use, please visit http://www.teamviewer.com
Do you want to install the software package? [y/N]:y
Get:1 http://in.archive.ubuntu.com/ubuntu/ trusty/main libxtst6 i386 2:1.2.2-1 [13.8 kB]                                                      
Fetched 13.8 kB in 0s (0 B/s)                                                                                                                 
Selecting previously unselected package libxtst6:i386.
(Reading database ... 172289 files and directories currently installed.)
Preparing to unpack .../libxtst6_2%3a1.2.2-1_i386.deb ...
Unpacking libxtst6:i386 (2:1.2.2-1) ...
Setting up libxtst6:i386 (2:1.2.2-1) ...
Processing triggers for libc-bin (2.19-0ubuntu6) ...
Selecting previously unselected package teamviewer.
(Reading database ... 172291 files and directories currently installed.)
Preparing to unpack teamviewer_linux.deb ...
Unpacking teamviewer (9.0.27891) ...
Setting up teamviewer (9.0.27891) ...
magesh@magesh-desktop:~$ 

Now, its successfully installed.You can navigate your teamviewer package, by clicking Search your computer and online sources icon from topmost left on your PC and type teamviewer then click the teamviewer icon to lunch the App.
how-to-install-teamviewer-9-in-ubuntu-14-04
That’s it.

+ Recent posts