2017年3月28日 星期二

Install official Skype for Linux in Manjaro / Arch

Manjaro did not support .deb or .rpm.

But I still want to install official skype for linux 5.0 , I found there's an alternative method to install it.

1. https://github.com/helixarch/debtap/blob/master/debtap , a script to convert .deb to .pkg.tar.xz
2. download and chmod +x  debtap
3. run once debtap root privilege, it needs some pre installation libs.
4. ./debtap skypeforlinux-64.deb 
  and wait for convert process
5. sudo pacman -U skypeforlinux-5.0.0.5-1-x86_64.pkg.tar.xz
  but there's a dependency check issue
  
loading packages...
resolving dependencies...
warning: cannot resolve "apt", a dependency of "skypeforlinux"
:: The following package cannot be upgraded due to unresolvable dependencies:
     skypeforlinux

:: Do you want to skip the above package for this upgrade? [y/N] y
looking for conflicting packages...
there is nothing to do

6. extract .PKGINFO in the tar.xz 
7. remove the line "depend = apt"  (or edit in step 4 interactive option, then you will not need step 6~8 )
8. repack file , and you may install now.

note:
this method also applies to Google chrome, but there's another issue:

$ google-chrome-stable  
[31531:31531:0329/101711.609595:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured co
rrectly. Rather than run without sandboxing I'm aborting now. You need to make sure that /opt/google/chrome/chrome-sandbox is owned b
y root and has mode 4755.


just "chmod 4755 /opt/google/chrome/chrome-sandbox " and go.