Arch-Linux

如何在拱門上安裝Skype

  • December 11, 2017

我到處看了看,沒有任何效果。我只是想安裝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

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

您正確使用了Skype AUR 包。請按照安裝AUR 包makepkg的路徑進行(請不要習慣於關心機器安全之類的事情)。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,它將為包安裝依賴項。該命令需要sudo預設情況下未安裝在 Arch 上。另一種選擇是在執行之前手動安裝依賴項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 包經常中斷。人們爭辯說這是因為微軟過於頻繁地修改協議而沒有向後兼容性,或者是 skype/microsoft 提供的 Debian 軟體包永遠不會與實際的 skype 保持同步。您可以在 AUR skype 軟體包頁面的評論中看到關於此的大量討論。

作為一個 Arch 使用者,我使用 Skype 所做的事情(我只有在必須的時候才這樣做)是我安裝chromium

pacman -S chromium

以及它的Skype外掛

甚至可以通過以下方式使用 Web 應用程序:

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

引用自:https://unix.stackexchange.com/questions/299305