Add install.md

This commit is contained in:
badaix 2020-08-30 10:58:50 +02:00
parent 98ac8b2fb7
commit de5c676d2a
2 changed files with 87 additions and 72 deletions

View file

@ -46,79 +46,13 @@ You can either install Snapcast from a prebuilt package (recommended for new use
### Install Linux packages (recommended for beginners)
Snapcast packages are available for several Linux distributions.
Snapcast packages are available for several Linux distributions:
#### Debian
For Debian (and Debian-based systems, such as Ubuntu, Linux Mint, ElementaryOS) download the package for your CPU architecture from the [latest release page](https://github.com/badaix/snapcast/releases/latest).
e.g. for Raspberry Pi `snapclient_0.x.x_armhf.deb`, for laptops `snapclient_0.x.x_amd64.deb`
##### using apt 1.1 or later
sudo apt install </path/to/snapclient_0.x.x_armhf.deb>
or
sudo apt install </path/to/snapserver_0.x.x_armhf.deb>
##### using dpkg
Install the package:
sudo dpkg -i snapclient_0.x.x_armhf.deb
or
sudo dpkg -i snapclient_0.x.x_amd64.deb
Install missing dependencies:
sudo apt-get -f install
#### OpenWrt
On OpenWrt do:
opkg install snapclient_0.x.x_ar71xx.ipk
#### Alpine Linux
On Alpine Linux do:
apk add snapcast
Or, for just the client:
apk add snapcast-client
Or, for just the server:
apk add snapcast-server
#### Gentoo Linux
On Gentoo Linux do:
emerge --ask media-sound/snapcast
#### Archlinux
On Archlinux, Snapcast is available through the AUR. To install, use your favorite AUR helper, or do:
git clone https://aur.archlinux.org/snapcast
cd snapcast
makepkg -si
#### Void Linux
To install the client:
# xbps-install snapclient
To install the server:
# xbps-install snapserver
- [Debian](doc/install.md#debian)
- [OpenWrt](doc/install.md#openwrt)
- [Alpine Linux](doc/install.md#alpine-linux)
- [Archlinux](doc/install.md#archlinux)
- [Void Linux](doc/install.md#void-linux)
### Installation from source

81
doc/install.md Normal file
View file

@ -0,0 +1,81 @@
# Install Linux packages
Snapcast packages are available for several Linux distributions:
- [Debian](#debian)
- [OpenWrt](#openwrt)
- [Alpine Linux](#alpine-linux)
- [Archlinux](#archlinux)
- [Void Linux](#void-linux)
## Debian
For Debian (and Debian-based systems, such as Ubuntu, Linux Mint, ElementaryOS) download the package for your CPU architecture from the [latest release page](https://github.com/badaix/snapcast/releases/latest).
e.g. for Raspberry Pi `snapclient_0.x.x_armhf.deb`, for laptops `snapclient_0.x.x_amd64.deb`
### using apt 1.1 or later
sudo apt install </path/to/snapclient_0.x.x_armhf.deb>
or
sudo apt install </path/to/snapserver_0.x.x_armhf.deb>
### using dpkg
Install the package:
sudo dpkg -i snapclient_0.x.x_armhf.deb
or
sudo dpkg -i snapclient_0.x.x_amd64.deb
Install missing dependencies:
sudo apt-get -f install
## OpenWrt
On OpenWrt do:
opkg install snapclient_0.x.x_ar71xx.ipk
## Alpine Linux
On Alpine Linux do:
apk add snapcast
Or, for just the client:
apk add snapcast-client
Or, for just the server:
apk add snapcast-server
## Gentoo Linux
On Gentoo Linux do:
emerge --ask media-sound/snapcast
## Archlinux
On Archlinux, Snapcast is available through the AUR. To install, use your favorite AUR helper, or do:
git clone https://aur.archlinux.org/snapcast
cd snapcast
makepkg -si
## Void Linux
To install the client:
# xbps-install snapclient
To install the server:
# xbps-install snapserver