How to install Teamviewer using Portage [Solved]

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :)

Moderator: Moderators

Post Reply
gocool
Growing Hen
Posts: 173
Joined: Wed Aug 06, 2008 13:37

How to install Teamviewer using Portage [Solved]

Post by gocool » Sun Jan 21, 2018 2:35

I had teamviewer installed in my machine. Now all of a sudden after I did a equo upgrade, it seems to have been lost.
Is that possible? And I do not even see it in the repos any more.
Last edited by gocool on Sun Jan 21, 2018 3:30, edited 2 times in total.

gocool
Growing Hen
Posts: 173
Joined: Wed Aug 06, 2008 13:37

Re: How to install Teamviewer

Post by gocool » Sun Jan 21, 2018 2:58

Ok. I reinstalled from portage

Code: Select all

#emerge -- sync
and when I did a emerge =net-misc/teamviewer-13.0.6634, it complained about some profile not being set so I did the following

Code: Select all

#eselect profile set default/linux/amd64/17.0/desktop
checked if its set by giving the following command and seeing where the * is located

Code: Select all

#eselect profile list
...
...
...
  [13]  default/linux/amd64/17.0/selinux
  [14]  default/linux/amd64/17.0/hardened
  [15]  default/linux/amd64/17.0/hardened/selinux
  [16]  default/linux/amd64/17.0/desktop *
  [17]  default/linux/amd64/17.0/desktop/gnome
  [18]  default/linux/amd64/17.0/desktop/gnome/systemd
...
...
...
even now it did not install, wanted me to read/write the license, so edited /etc/portage/package.license and added the following line at the end of the file and saved it :

Code: Select all

#vim /etc/portage/package.license
...
...
>=net-misc/teamviewer-13.0.6634 TeamViewer
Now it got installed when I gave the following command :

Code: Select all

# emerge =net-misc/teamviewer-13.0.6634 --autounmask-write
Make sure to start and enable the teamviewerd service by issuing the following commands :

Code: Select all

# systemctl start teamviewerd
# systemctl enable teamviewerd
You can check the status by issuing the following command

Code: Select all

 # systemctl status teamviewerd
 teamviewerd.service - TeamViewer remote control daemon
   Loaded: loaded (/usr/lib/systemd/system/teamviewerd.service; enabled; vendor preset: disabled)
   Active: active (running) since Sat 2018-01-20 20:48:43 EST; 12min ago
 Main PID: 8694 (teamviewerd)
   CGroup: /system.slice/teamviewerd.service
           └─8694 /opt/teamviewer13/tv_bin/teamviewerd -d

Jan 20 20:48:43 cinnaminson-sound-room systemd[1]: Starting TeamViewer remote control daemon...
Jan 20 20:48:43 cinnaminson-sound-room systemd[1]: teamviewerd.service: PID file /var/run/teamviewerd.pid not readable (yet?) af
Jan 20 20:48:43 cinnaminson-sound-room systemd[1]: Started TeamViewer remote control daemon.
lines 1-10/10 (END)

gentmixer
Simple Hen
Posts: 60
Joined: Wed Jan 17, 2018 17:21

Re: How to install Teamviewer using Portage [Solved]

Post by gentmixer » Sun Jan 21, 2018 20:51

Hi,
You should compile with gcc-6.4 (or newer) on the "17.0" profile... Remember, the profile will revert automatically to the previous version after "equo update" or "rigo" updating. Read: viewtopic.php?f=54&t=34044&hilit=eselect+profile.
There is gcc-5.4 in Sabayon as a default at this time so you should emerge a newer version (in second slot) and dependencies (eventually) from Gentoo repositories.

keyn
Baby Hen
Posts: 6
Joined: Thu Jan 15, 2015 0:22

Re: How to install Teamviewer using Portage [Solved]

Post by keyn » Sun Feb 11, 2018 0:24

I do not understand why the graphical interface of the new TeamViewer will not start after installing from the official tar.gz archive. It is now 64-bit, does not use Wine, and the only dependency (Qtwebkit) is installed from the repositories... At the TeamWeaver forum a similar problem is solved by replacing freetype libraries, but now the program seems to use the system's ones, not its own, so there is a considerable risk of harming the system when trying to fix the problem in this way if the cause is in these libraries.

joost
Sagely Hen
Posts: 2715
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands
Contact:

Re: How to install Teamviewer using Portage [Solved]

Post by joost » Sun Feb 11, 2018 0:50

I will make this package available in Entropy.
Image
My blog | Twitter | Please support Sabayon: Image

keyn
Baby Hen
Posts: 6
Joined: Thu Jan 15, 2015 0:22

Re: How to install Teamviewer using Portage [Solved]

Post by keyn » Mon Feb 12, 2018 1:55

joost wrote:I will make this package available in Entropy.
It will be very nice to see this program again in the repositories. Thanks in advance.

Post Reply