mirror of
https://github.com/sstephenson/bats.git
synced 2024-11-17 03:32:27 +01:00
Added page for listing references to available ready-made packages of bats
parent
4b3237e9cb
commit
62f5e4ed22
24
Install-Bats-Using-a-Package.md
Normal file
24
Install-Bats-Using-a-Package.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# Purpose
|
||||
|
||||
You may be able to find Bats pre-packaged for your operating system. If available, such a package may offer a convenient alternative to cloning the Github repository:
|
||||
|
||||
* The installation is usually shared by all users on the system.
|
||||
* The ``bats`` command will typically be available without configuration of any kind.
|
||||
* Updates and bugfixes may be provided via the regular stream of package updates for your system.
|
||||
|
||||
## openSUSE
|
||||
|
||||
Bats is available for openSUSE Tumbleweed (the rolling release), and will be available in the upcoming openSUSE Leap 42.1 release. To install it, run
|
||||
|
||||
zypper in bats
|
||||
|
||||
For older releases, take a look at the [development project on OBS (Open Build Service)](https://build.opensuse.org/package/show/devel:tools/bats). In the lower-right box you will find build results for all releases for which a Bats package is built.
|
||||
|
||||
For example, to install Bats on openSUSE 13.2:
|
||||
|
||||
1. Click on the link corresponding to the distribution.
|
||||
2. Add the linked-to "download repository" as a zypper repository:
|
||||
|
||||
zypper add -f http://download.opensuse.org/repositories/devel:/tools/openSUSE_13.2 devel-tools
|
||||
|
||||
3. Install bats the usual way: ``zypper in bats``
|
Loading…
Reference in New Issue
Block a user