LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   TeamViewer on ScientificLinux (RedHAT base) (https://www.linuxquestions.org/questions/linux-software-2/teamviewer-on-scientificlinux-redhat-base-4175574493/)

mbzadegan 03-10-2016 04:09 AM

TeamViewer on ScientificLinux (RedHAT base)
 
Hi everybody,
I want to install TeamViewer on my desktop and I downloaded Linux Base TeamViewer but when I install it, This Error noted to me:

Code:

[user@Linux ~]$ rpm -ivh teamviewer.i686.rpm
warning: teamviewer.i686.rpm: Header V4 DSA/SHA1 Signature, key ID 72db573c: NOKEY
error: Failed dependencies:
        libpng12.so.0 is needed by teamviewer-11.0.53191-0.i686
[user@Linux ~]$

Then I install libpng12-devel by yum but still I have that Error!

What can I do?

Janus_Hyperion 03-10-2016 06:52 AM

Are you running Scientific Linux 7+? Why not install it using yum? On my Centos system,

Code:

Installing:
 teamviewer        i686 11.0.53191-0        /teamviewer_11.0.53191.i686 183 M
Installing for dependencies:
 alsa-lib          i686 1.0.28-2.el7        base                        391 k
 dbus-libs          i686 1:1.6.12-13.el7      base                        151 k
 expat              i686 2.1.0-8.el7          base                        80 k
 fontconfig        i686 2.10.95-7.el7        base                        229 k
 freetype          i686 2.4.11-11.el7        base                        388 k
 glibc              i686 2.17-106.el7_2.4    updates                    4.2 M
 libICE            i686 1.0.9-2.el7          base                        64 k
 libSM              i686 1.2.2-2.el7          base                        39 k
 libX11            i686 1.6.3-2.el7          base                        610 k
 libXau            i686 1.0.8-2.1.el7        base                        29 k
 libXdamage        i686 1.1.4-4.1.el7        base                        20 k
 libXext            i686 1.3.3-3.el7          base                        39 k
 libXfixes          i686 5.0.1-2.1.el7        base                        18 k
 libXi              i686 1.7.4-2.el7          base                        40 k
 libXinerama        i686 1.1.3-2.1.el7        base                        14 k
 libXrandr          i686 1.4.2-2.el7          base                        25 k
 libXrender        i686 0.9.8-2.1.el7        base                        25 k
 libXtst            i686 1.2.2-2.1.el7        base                        20 k
 libgcc            i686 4.8.5-4.el7          base                        103 k
 libjpeg-turbo      i686 1.2.90-5.el7        base                        137 k
 libpng12          i686 1.2.50-7.el7_2      updates                    181 k
 libuuid            i686 2.23.2-26.el7        base                        75 k
 libxcb            i686 1.11-4.el7          base                        202 k
 nss-softokn-freebl i686 3.16.2.3-13.el7_1    base                        187 k
 zlib              i686 1.2.7-15.el7        base                        90 k

Transaction Summary
================================================================================
Install  1 Package (+25 Dependent packages)

Total size: 190 M
Total download size: 7.3 M
Installed size: 205 M


Janus_Hyperion 03-10-2016 06:58 AM

Quote:

Originally Posted by mbzadegan (Post 5513133)
Hi everybody,
Then I install libpng12-devel by yum but still I have that Error!


Also, you shouldn't need to install *-devel for libpng12.so.0 for these shared libraries. You can find which package provides this library using repoquery.

For example,

Code:

$ repoquery --whatprovides /usr/lib/libpng12.so.0
libpng12-0:1.2.50-6.el7.i686
libpng12-0:1.2.50-7.el7_2.i686


jefro 03-10-2016 04:23 PM

While looking at this I didn't even know yum could go to an internet location. Humm. Learn something every day. https://www.freeittip.com/how-to-ins...r-on-centos-7/

yum install http://download.teamviewer.com/downl...iewer.i686.rpm

Janus_Hyperion 03-11-2016 07:26 AM

Quote:

Originally Posted by jefro (Post 5513477)
While looking at this I didn't even know yum could go to an internet location. Humm. Learn something every day.

Yup! That's what I typically do if I am installing something that's not in repos.

erik2282 03-11-2016 01:56 PM

The below is directly from https://www.teamviewer.com/en/help/3...ion.aspx#other

RedHat, CentOS, Fedora, SUSE

You need the teamviewer.i686.rpm package.

For installing TeamViewer, we recommend using the graphical installer.

If you prefer to use the command line or if there is no graphical installer available you can use either one of these commands as an administrator:

yum install teamviewer_11.0.xxxxx.i686.rpm (recommended, as it will install missing dependencies)
zypper install teamviewer_11.0.xxxxx.i686.rpm
rpm -i teamviewer_11.0.xxxxx.i686.rpm

In case “yum” is asking for a missing public key, you can download it here and import the key by using following command as an administrator:

rpm --import TeamViewer_Linux_PubKey.asc

After importing the public key, please execute the “yum”-command again to install the TeamViewer rpm.

mbzadegan 03-12-2016 02:48 AM

Quote:

Originally Posted by nonamedotc (Post 5513182)
Also, you shouldn't need to install *-devel for libpng12.so.0 for these shared libraries. You can find which package provides this library using repoquery.

For example,

Code:

$ repoquery --whatprovides /usr/lib/libpng12.so.0
libpng12-0:1.2.50-6.el7.i686
libpng12-0:1.2.50-7.el7_2.i686


Thanks nonamedotc,
Installing The libpng12-0:1.2.50-7.el7_2.i686 resolve my problem true!:hattip:
BTW, My Scientific Linux yum Repository have not any teamviewer and I must be installed it with rpm command.
Thanks again.

Janus_Hyperion 03-14-2016 07:10 AM

Quote:

Originally Posted by mbzadegan (Post 5514209)
Thanks nonamedotc,
Installing The libpng12-0:1.2.50-7.el7_2.i686 resolve my problem true!:hattip:
BTW, My Scientific Linux yum Repository have not any teamviewer and I must be installed it with rpm command.
Thanks again.

Not necessary. For your information, yum can be installed on a downloaded rpm. That is, you can download an rpm and use yum like this -

Code:

yum install /home/username/Downloads/my_downloaded_program.rpm
Alternatively, as jefro pointed out you can pass the the download link directly to the rpm file.

Hope this clarifies my point. Glad to hear your issue is solved! :)


All times are GMT -5. The time now is 11:50 PM.