Installing TeamViewer 11 in Ubuntu 20.04
fairly noobish to Linux, although I have a few machines with different distros to fiddle around with
Getting a server up and running with 20.04 LTS, and having issues with getting an older version of TeamViewer up and running.. I know there's some better alternatives, but I own a commercial license for Version 11 that I use for all my machines, and my clients.
I run into issues with teamviewer:i386 depending on libpng12-0.
I've tried following a variety of similar threads that are aimed at getting it running with Linux v 16 and Linux v18, but neither process appears replicable in v20
Not sure if logs are allowed, but I'll beg forgiveness if not - here's my output (user/machine names altered)
test@test:~/Downloads$ sudo dpkg -i teamviewer_11.0.256402_i386.deb
Selecting previously unselected package teamviewer:i386.
(Reading database ... 197780 files and directories currently installed.)
Preparing to unpack teamviewer_11.0.256402_i386.deb ...
Unpacking teamviewer:i386 (11.0.256402) ...
dpkg: dependency problems prevent configuration of teamviewer:i386: teamviewer:i386 depends on libasound2. teamviewer:i386 depends on libdbus-1-3. teamviewer:i386 depends on libexpat1. teamviewer:i386 depends on libfontconfig1. teamviewer:i386 depends on libfreetype6. teamviewer:i386 depends on libpng12-0; however: Package libpng12-0:i386 is not installed. teamviewer:i386 depends on libsm6; however: teamviewer:i386 depends on libxdamage1; however: teamviewer:i386 depends on libxfixes3; however:
dpkg: error processing package teamviewer:i386 (--install): dependency problems - leaving unconfigured
Errors were encountered while processing: teamviewer:i386
test@test:~/Downloads$ sudo dpkg -i libpng12-0_1.2.54-1ubuntu1.1_i386.deb
(Reading database ... 198073 files and directories currently installed.)
Preparing to unpack libpng12-0_1.2.54-1ubuntu1.1_i386.deb ...
Unpacking libpng12-0:i386 (1.2.54-1ubuntu1.1) ...
dpkg: error processing archive libpng12-0_1.2.54-1ubuntu1.1_i386.deb (--install): unable to install new version of '/lib/i386-linux-gnu/libpng12.so.0': No such file or directory
Processing triggers for libc-bin (2.31-0ubuntu9) ...
Errors were encountered while processing: libpng12-0_1.2.54-1ubuntu1.1_i386.debThanks, appreciate any guidance here!
43 Answers
There are two problems here - 1st is libpng12 package, 2nd is TeamViewer dependencies.
The first is fixable by installation from PPA:
wget
sudo apt install ./libpng12-0_1.2.54-1ubuntu1.1+1~ppa0~eoan_i386.deband then you will be able to install TeamViewer:
sudo apt-get install ./teamviewer_11.0.256402_i386.deb 1 I had the same problem and I could fix with this:
first you must to enter in your teamviewer path:
cd /path-to-extracted-TAR/teamviewer/and then run this:
./tv-setup checklibsInstall the missing dependencies if you have some and then run
./teamviewer 1 Try this:
wget sudo dpkg --add-architecture i386 sudo apt install libc6:i386 libasound2:i386 libexpat1:i386 libfontconfig1:i386 libjpeg62:i386 libsm6:i386 libxdamage1:i386 libxext6:i386 libxfixes3:i386 libxinerama1:i386 libxrandr2:i386 libxrender1:i386 libxtst6:i386 libdbus-1-3:i386 libgcrypt20:i386 libgpg-error0:i386 liblz4-1:i386 liblzma5:i386 libsystemd0:i386 wget sudo apt install ./libpng12-0_1.2.54-1ubuntu1.1+1~ppa0~eoan_i386.deb sudo dpkg -i ./teamviewer_i386.deb wget sudo apt install binutils -y tar -x ./libfreetype6_2.6.1-0.1ubuntu2_i386.deb tar -xvf ./data.tar.xz sudo cp -r ./usr/lib/i386-linux-gnu/libfreetype.so.6 /opt/teamviewer/tv_bin/wine/lib sudo cp ./usr/lib/i386-linux-gnu/libfreetype.so.6.12.1 /opt/teamviewer/tv_bin/wine/lib sudo apt install lightdm -y During installation choose **lightdm** and OK This is because Ubuntu 20's default display manager is gmd3, and it doesn't allow incoming connections when you sing out. (when your screen is locked) sudo chmod 777 /etc/X11/default-display-manager sudo echo "/usr/bin/lightdm" > /etc/X11/default-display-manager sudo chmod 644 /etc/X11/default-display-manager And after doing all of the above, reboot.
2