Next: , Up: Installation from packages   [Contents][Index]


3.4.1 Installing Knot DNS packages on Debian

Knot DNS is already available from Debian wheezy upwards. In addition to the official packages we also provide custom repository, which can be used by adding:

deb     http://deb.knot-dns.cz/debian/ <codename> main
deb-src http://deb.knot-dns.cz/debian/ <codename> main

to your /etc/apt/sources.list or into separate file in /etc/apt/sources.list.d/.

As an example, for Debian squeeze (current stable) the Knot DNS packages can be added by executing following command as the root user.

$ cat >/etc/apt/sources.list.d/knot.list <<EOF
deb     http://deb.knot-dns.cz/debian/ <codename> main
deb-src http://deb.knot-dns.cz/debian/ <codename> main
EOF
$ apt-get update
$ apt-get install knot