From c63127b7b6877daf0691ee04121716a6865177f9 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Wed, 11 May 2022 22:56:36 +0200 Subject: [PATCH] install: Make section on package managers more compact The long descriptions made sense when Limnoria was missing from most recent versions of distributions, but now it is a waste of visual space, and intimidates newcomers. --- use/install.rst | 79 ++++++++++--------------------------------------- 1 file changed, 16 insertions(+), 63 deletions(-) diff --git a/use/install.rst b/use/install.rst index 285e7df..34f42c5 100644 --- a/use/install.rst +++ b/use/install.rst @@ -17,74 +17,25 @@ Install Install using your OS' package manager ====================================== -On Debian or Ubuntu -------------------- +* Debian or Ubuntu: ``sudo apt-get install limnoria`` -.. code-block:: bash + Note that stable / LTS releases may not have the latest features or bug fixes for Limnoria. + If you want a newer version than what's in the default repositories, you can enable `Backports`_ on Debian or `Unit 193's PPA`_ on Ubuntu. +* Fedora: ``sudo dnf install limnoria`` +* CentOS and Red Hat Enterprise Linux: you have to first add the right EPEL repository for your CentOS/RHEL version before being able to install the package on CentOS / RHEL. + Once you have, you can run the following command to install Limnoria: ``sudo yum install limnoria`` +* FreeBSD port: ``cd /usr/ports/irc/py-limnoria && sudo PYTHON_VERSION=3.8 make install clean`` +* FreeBSD pkg: ``sudo pkg install py38-limnoria`` +* Arch Linux: You can install Limnoria from the AUR, using either `limnoria `_ (stable releases) or `limnoria-git `_ (git snapshots). +* Gentoo: ``sudo emerge net-irc/limnoria`` +* Guix and GuixSD: ``guix package --install limnoria`` - sudo apt-get install limnoria - -Note that stable / LTS releases may not have the latest features or bug fixes for Limnoria. If you want a newer version than what's in the default repositories, you can enable `Backports`_ on Debian or `Unit 193's PPA`_ on Ubuntu. +If any of the methods above works for you, skip the next section and go to :ref:`initial-configuration`. .. _Backports: https://wiki.debian.org/Backports .. _Unit 193's PPA: https://launchpad.net/~unit193/+archive/ubuntu/limnoria - -On Fedora (23 and above) ------------------------- - -.. code-block:: bash - - sudo dnf install limnoria - -On CentOS and Red Hat Enterprise Linux --------------------------------------- - -You have to first add the EPEL repository (`EL7`_, `EL6`_, `EL5`_) before being able to install the package on CentOS / RHEL. Once you have, you can run the following command to install Limnoria: - -.. code-block:: bash - - sudo yum install limnoria - -.. _EL7: https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm -.. _EL6: https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm -.. _EL5: https://dl.fedoraproject.org/pub/epel/epel-release-latest-5.noarch.rpm - -On FreeBSD ----------- - -Port: - -.. code-block:: bash - - cd /usr/ports/irc/py-limnoria && sudo PYTHON_VERSION=3.8 make install clean - -Package: - -.. code-block:: bash - - sudo pkg install py38-limnoria - -On Arch Linux -------------- - -You can install Limnoria from the AUR, using either `limnoria`_ (stable releases) or `limnoria-git`_ (git snapshots). - -.. _limnoria: https://aur.archlinux.org/packages/limnoria/ -.. _limnoria-git: https://aur.archlinux.org/packages/limnoria-git/ - -On Gentoo ---------- - -.. code-block:: bash - - sudo emerge net-irc/limnoria - -With Guix and GuixSD --------------------- - -.. code-block:: bash - - guix package --install limnoria +.. _