From f50812fa66c9c30e8c4efc21eb01655faecbb8f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20T=C3=B6mb=C3=B6l?= Date: Fri, 11 Mar 2016 17:55:56 +0100 Subject: [PATCH] Add Arch Linux installation instructions --- Install-Bats-Using-a-Package.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Install-Bats-Using-a-Package.md b/Install-Bats-Using-a-Package.md index 4192daa..34081e7 100644 --- a/Install-Bats-Using-a-Package.md +++ b/Install-Bats-Using-a-Package.md @@ -30,3 +30,20 @@ For example, to install Bats on openSUSE 13.2: zypper ar -f http://download.opensuse.org/repositories/devel:/tools/openSUSE_13.2 devel-tools 3. Install bats the usual way: ``zypper in bats`` + +## Arch Linux + +Bats is available for Arch Linux. You can install the latest release from the community repository. + +``` +sudo pacman -Sy bash-bats +``` + +The development version can be installed from [AUR][archlinux-aur] using your favourite [AUR helper][archlinux-aur-helpers]. + +``` +pacaur -Sa bats-git +``` + +[archlinux-aur]: https://wiki.archlinux.org/index.php/Arch_User_Repository +[archlinux-aur-helpers]: https://wiki.archlinux.org/index.php/AUR_helpers \ No newline at end of file