如何在Arch上安装Skype


11

我到处都看过,但没有任何效果。我只是想安装Skype。

我试图查看它是否在存储库中,但是没有找到它。因此,我没有访问skype网站并找到了linux版本,但在解压缩tar文件后不知道如何安装它。

然后,我尝试查看AUR,并发现了Skype。但是当我尝试运行makepkg时,我得到了一个

==> ERROR: PERMISSION was not found in the build directory and is not a URL.

我尝试寻找解决方案,但找不到任何东西。我发现的每个线程都要求获取该/etc/pacman.conf文件。我做了并确保我包含了multilib

/etc/pacman.conf

#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
#HookDir     = /etc/pacman.d/hooks/
HoldPkg     = pacman glibc
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta    = 0.7
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#Color
#TotalDownload
CheckSpace
#VerbosePkgLists

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

#[testing]
#Include = /etc/pacman.d/mirrorlist

[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

#[community-testing]
#Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist

[multilib]
Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs

我到处看起来似乎找不到任何解决方案。


我的猜测是yaourt skype。您是否已yaourt安装或类似的AUR客户端?
ddnomad

Answers:


16

您正确使用了Skype AUR软件包。请遵循makepkg安装AUR软件包的路径(请不要习惯于yaourt您是否关心计算机的安全性之类的事情)。

$ wget https://aur.archlinux.org/cgit/aur.git/snapshot/skypeforlinux-bin.tar.gz
$ tar zxf skypeforlinux-bin.tar.gz
$ cd skypeforlinux-bin
$ makepkg -s  # or install dependencies manually if you do not have sudo

通常失败的步骤是makepkg -s,它将安装软件包的依赖项。该命令要求sudoArch上默认未安装该命令。另一种选择是在运行之前简单地手动安装依赖项makepkg。AUR软件包页面列出了相关性,所有内容都可以从默认存储库中获得(Skype没有AUR依赖项)。

结果skypeforlinux-bin-1.x.x.x-x86_64.pkg.tar.xzi386此程序包不支持,xxxx代表程序包的当前版本)。以root身份安装。

# pacman -U /path/to/package/skypeforlinux-bin-1.x.x.x-x86_64.pkg.tar.xz

但是,这还有些不足,Skype AUR软件包经常中断。人们认为,这是因为Microsoft过于频繁地对该协议进行了返工而没有向后兼容性,或者是Skype / microsoft提供的Debian软件包从未与实际的Skype保持最新。您可以在AUR skype软件包页面的注释中看到有关此问题的大量讨论。

作为Arch用户,我使用skype所做的工作(并且只有在必须时才这样做)是安装chromium

pacman -S chromium

还有Skype插件

甚至可以通过以下方式使用网络应用:

chromium --app=https://web.skype.com

谢谢。这很有帮助。不久前,我陷入了依赖项问题,但这澄清了从AUR安装的整个过程。你是救生员。
Yoseph Alabdulwahab'7

3
您应该skypeforlinux-stable-bin改用
OverCoder

1
还要更新上面的答案,Use aurman而不是Use yaourt,因为arch正式支持它,尽管github repo已经停止接受bug和PR,但是aurman开发是私下进行的。另外,请使用skypeforlinux-stable-bin@OverCoder已经说过的方法。
Subroto

1
对于像我这样不记得命令的人,请添加alias skype='chromium --app=https://web.skype.com'您的.bashrc;-)
Alexis

1
@ thephoenix01使用类似“ yay”的东西
OverCoder
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.