Updated Install from packages (markdown)

Drew DeVault 2017-02-27 07:21:51 -05:00
parent 1e538e70ab
commit b001d29fab

@ -1,82 +1,4 @@
**These guides are user-contributed and not supported by SirCmpwn.** Although you can install sway from various distributions, few of them officially support sway. Carefully read any scripts before using them to install sway. **These guides are user-contributed and not supported by SirCmpwn.** Most distributions have a Sway package available in the official repositories. Here's some info for the ones that don't:
## Supported packages
These packages are supported by their downstream distributions.
### Arch
Stable releases are now in [community](https://www.archlinux.org/packages/community/x86_64/sway/)
You can install the development version from the [AUR](https://aur.archlinux.org/packages/sway-git)
See [Arch Linux wiki](https://wiki.archlinux.org/index.php/Sway) for more info.
### Fedora
The latest stable version is available in [Fedora](https://apps.fedoraproject.org/packages/sway).
To install Sway:
```
dnf install sway
```
When RC releases of Sway are present, they can be installed in Fedora from the updates-testing repository, with the following command:
```
dnf install sway --enablerepo=updates-testing
```
### Gentoo
Both live/-9999 (latest git version) and latest stable version are now [available in Portage](https://packages.gentoo.org/packages/dev-libs/sway):
To installed the latest released version use:
```
emerge sway
```
Or, to get the latest development version from git:
```
emerge '=dev-libs/sway-9999'
```
Other ebuilds are also available in these overlays:
* maxik-overlay (layman)
### NixOs
Sway is in [nixpkgs](https://github.com/NixOS/nixpkgs/tree/master/pkgs/applications/window-managers/sway), and can be installed locally using
```
nix-env -i sway
```
if you're subscribed to the unstable channel.
The stable channel also has an outdated `sway-git` package.
Note however that support for sway in NixOS is experimental ; expect frequent
updates and lacking features.
Indeed, contrary to other window managers, NixOS doesn't provide a module for sway.
The process must be started manually and it can only be configured via impurities.
Furthermore, a lot of packages in NixOS are shipped without proper Wayland support.
### openSUSE
Sway releases are pushed to openSUSE Tumbleweed so you can just install it with:
```
zypper install sway
```
For other openSUSE distributions use http://software.opensuse.org/download.html?project=X11:Wayland&package=sway
## Unsupported packages
**Carefully read any scripts before using them to install sway.**
### Debian
[Sway install script](https://gist.github.com/nathanross/c962de32be11a93d0444) for Debian 8 stable (Jessie). [Sway install script](https://gist.github.com/nathanross/c962de32be11a93d0444) for Debian 8 stable (Jessie).
[Installation guide](https://github.com/SirCmpwn/sway/wiki/Debian-installation-guide) for Debian 8 testing (Stretch). [Installation guide](https://github.com/SirCmpwn/sway/wiki/Debian-installation-guide) for Debian 8 testing (Stretch).
### Void
See https://wiki.voidlinux.eu/Sway