如何在拱门上安装Skype

Yos*_*hab 11 arch-linux pacman software-installation 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
Run Code Online (Sandbox Code Playgroud)

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

gro*_*mal 17

您正确地使用了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
Run Code Online (Sandbox Code Playgroud)

经常失败的步骤是makepkg -s,这将安装包的依赖项。该命令需要sudo默认情况下未安装在 Arch 上。另一种选择是在运行之前简单地手动安装依赖项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
Run Code Online (Sandbox Code Playgroud)

然而,这是一个很有点然而,往往Skype的AUR包符。人们争辩说这是因为 Microsoft 经常修改协议而没有向后兼容性,或者是 Skype/microsoft 提供的 Debian 包永远不会与实际的 Skype 保持同步。您可以在 AUR Skype 软件包页面的评论中看到有关此问题的大量讨论。

作为 Arch 用户,我使用 Skype 所做的事情(只有在必须时才这样做)是我安装chromium

pacman -S chromium
Run Code Online (Sandbox Code Playgroud)

以及它的Skype插件

或者甚至将 Web 应用程序用于:

chromium --app=https://web.skype.com
Run Code Online (Sandbox Code Playgroud)

  • 你应该使用`skypeforlinux-stable-bin`代替 (3认同)