如何在 arch 上安装 Skype

如何在 arch 上安装 Skype

我到处都找过了,但没有任何效果。我只是想安装 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

我查遍了似乎找不到任何解决方案。

答案1

您正确使用了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.xz(此包中不支持i386,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

相关内容