From: Vladimír Čunát Date: Wed, 12 Jul 2023 13:30:44 +0000 (+0200) Subject: doc/gettingstarted-install: adapt to 6.x package sources X-Git-Tag: v6.0.2~21^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da626627c4e3b8425444c11c0b5fa4e67b0f3ba5;p=thirdparty%2Fknot-resolver.git doc/gettingstarted-install: adapt to 6.x package sources --- diff --git a/doc/gettingstarted-install.rst b/doc/gettingstarted-install.rst index 9c4c434a2..7efd4a5f7 100644 --- a/doc/gettingstarted-install.rst +++ b/doc/gettingstarted-install.rst @@ -6,38 +6,42 @@ Installation ************ -As a first step, configure your system to use upstream repositories which have -the **latest version** of Knot Resolver. Follow the instructions below for your -distribution. +Some Linux distributions contain Knot Resolver in their official repositories, +but their policies usually don't allow keeping it up to date. +Therefore we recommend to use upstream repositories which have the **latest stable version** of Knot Resolver. -.. note:: Please note that the packages available in distribution repositories of Debian and Ubuntu are outdated. Make sure to follow these steps to use our upstream repositories. +Please, follow the instructions for your packaging system: .. tabs:: - .. code-tab:: bash Debian/Ubuntu + .. tab:: Debian - $ wget https://secure.nic.cz/files/knot-resolver/knot-resolver-release.deb - $ sudo dpkg -i knot-resolver-release.deb - $ sudo apt update - $ sudo apt install -y knot-resolver + Please follow https://pkg.labs.nic.cz/doc/?project=knot-resolver - .. code-tab:: bash CentOS 7+ + .. tab:: Ubuntu - $ sudo yum install -y epel-release - $ sudo yum install -y knot-resolver + .. code:: bash - .. code-tab:: bash Fedora + sudo apt install software-properties-common + sudo add-apt-repository ppa:cz.nic-labs/knot-resolver + sudo apt update + sudo apt install knot-resolver6 - $ sudo dnf install -y knot-resolver + For details see + https://launchpad.net/~cz.nic-labs/+archive/ubuntu/knot-resolver - .. code-tab:: bash Arch Linux + .. tab:: .rpm - $ sudo pacman -S knot-resolver + Please follow https://copr.fedorainfracloud.org/coprs/g/cznic/knot-resolver/ -**openSUSE Leap/Tumbleweed** + .. tab:: Docker -Add the `OBS `_ package repository `home:CZ-NIC:knot-resolver-latest `_ to your system. + .. code:: bash -.. note:: + sudo docker run -ti --net=host docker.io/cznic/knot-resolver:6 - If for some reason you need to **install Knot Resolver from source**, check out :ref:`building from sources ` documentation for developers. + Hub page: https://hub.docker.com/r/cznic/knot-resolver + + + +If for some reason you need to install Knot Resolver **from source**, check out :ref:`building from sources ` documentation for developers.