Skip to content

Commit

Permalink
clarity changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Carpay committed Aug 2, 2021
1 parent 8d849ff commit 89feea5
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions source/getting-started/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ First of all, we need our copy of the Unbound code, so we download the tarball o
tar xzf unbound-latest.tar.gz
We'll need some tools, such as a compiler and the ``make`` program.
We'll need some tools, such as a compiler and the :command:`make` program.

.. code-block:: bash
Expand All @@ -40,21 +40,22 @@ The library components Unbounds needs are: ``libssl`` ``libexpat``, of which we
sudo apt install -y libexpat1-dev
We'll also need the tools to build the actual program. For this, Unbound uses "make" and internally it uses "flex" and "yacc", which we need to download as well.
We'll also need the tools to build the actual program. For this, Unbound uses :command:``make`` and internally it uses ``flex`` and ``yacc``, which we need to download as well.

.. code-block:: bash
sudo apt-get install -y bison flex
sudo apt-get install -y bison
sudo apt-get install -y flex
With all the requirements met, we can now start compiling in the Unbound directory. The first step here is configuring. With :option:`./configure -h` you can look at the extensive list of configurables for Unbound. A nice feature is that ``./configure`` will tell you what it's missing. A common error is for the paths to the two libraries we just installed, which can be specified with :option:`--with-ssl=` and :option:`--with-libexpat=`).
With all the requirements met, we can now start compiling in the Unbound directory. The first step here is configuring. With :option:`./configure -h` you can look at the extensive list of configurables for Unbound. A nice feature is that ``./configure`` will tell you what it's missing during configuration. A common error is for the paths to the two libraries we just installed, which can be manually specified with :option:`--with-ssl=` and :option:`--with-libexpat=`).

.. code-block:: bash
./configure
When :command`configure` gives no errors, we can continue to actually compiling. For this Unbound uses :command`make`. Be warned that compiling might take a while
When :command`configure` gives no errors, we can continue to actually compiling Unbound. For this Unbound uses :command:`make`. Be warned that compiling might take a while

.. code-block:: bash
Expand All @@ -69,7 +70,7 @@ When we have a succesful compilation, we can install the programs to have them a
We now have fully compiled and installed version of Unbound, and can now move to configuring it.


.. Link to configuring block
macOS Big Sur
-------------
Expand All @@ -91,9 +92,12 @@ get Unbound from repo

.. code-block:: bash
wget https://nlnetlabs.nl/downloads/unbound/unbound-latest.tar.gz
tar xzf unbound-latest.tar.gz
.. MENTION XCODE
get libs (with brew)

.. code-block:: bash
Expand Down Expand Up @@ -127,6 +131,9 @@ no errors? make install
sudo make install
We now have fully compiled and installed version of Unbound, and can now move to configuring it.

.. Link to configuring block
Installing with a package manager
=================================
Expand Down

0 comments on commit 89feea5

Please sign in to comment.