2014年12月26日 星期五

[ArchLinux][teamviewer] How to install teamviewer in Archlinux

1. Update database
vim /etc/pacman.conf
[multilib]
Include = /etc/pacman.d/mirrorlist

sudo pacman -Syy
:: Synchronizing package databases…
core 121.7 KiB 185K/s 00:01 [################################################] 100%
extra 1808.3 KiB 1030K/s 00:02 [################################################] 100%
community 2.4 MiB 1218K/s 00:02 [################################################] 100%
multilib 121.1 KiB 191K/s 00:01 [################################################] 100%
Install
sudo pacman -S lib32-gcc-libs lib32-alsa-lib lib32-libxtst lib32-libxdamage lib32-zlib lib32-freetype2 lib32-libxrandr
2. Download tarball
Download the tarball of teamviewer from Archlinux repository

3.
Build the package
sudo makepkg --asroot
==> Making package: teamviewer 10.0.36281-2 (Fri Dec 26 15:40:27 UTC 2014)==> Checking runtime dependencies...==> Checking buildtime dependencies...==> Retrieving sources...  -> Downloading teamviewer_linux_x64-10.0.36281.deb...  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   180  100   180    0     0     29      0  0:00:06  0:00:06 --:--:--    50
  0     0    0     0    0     0      0      0 --:--:--  0:00:11 --:--:--     0
100 38.7M  100 38.7M    0     0  1308k      0  0:00:30  0:00:30 --:--:-- 2452k
==> Validating source files with md5sums...    teamviewer_linux_x64-10.0.36281.deb ... Passed
==> Extracting sources...  -> Extracting teamviewer_linux_x64-10.0.36281.deb with bsdtar==> Starting build()...==> Starting package()...==> Tidying install...  -> Purging unwanted files...  -> Removing libtool files...  -> Removing static library files...  -> Compressing man and info pages...==> Creating package "teamviewer"...  -> Generating .PKGINFO file...  -> Adding install file...  -> Generating .MTREE file...  -> Compressing package...==> Finished making: teamviewer 10.0.36281-2 (Fri Dec 26 15:42:27 UTC 2014)
4.Install package
sudo pacman -U teamviewer-10.0.36281-2-x86_64.pkg.tar.xz
5.Enable the TeamViewer service:
sudo systemctl enable teamviewerd
6.Start the TeamViewer service:
sudo systemctl start teamviewerd


Reference:

  1. Install TeamViewer 8 on Arch Linux

Related Posts:

0 意見:

張貼留言