Skip to content

Commit

Permalink
install.rst: fix links to BUILDING.md and improve formatting (#8511)
Browse files Browse the repository at this point in the history
  • Loading branch information
anbj committed Jun 3, 2024
1 parent 2c14f4c commit ccc94f6
Showing 1 changed file with 7 additions and 16 deletions.
23 changes: 7 additions & 16 deletions doc/rst/source/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ Ubuntu/Debian

**NOTE:** The Ubuntu/Debian official repositories may provide old GMT
versions. If you want the latest GMT 6.x release, your best bet then is
to `build the latest release from source <BUILDING.md>`__.
to `build the latest release from source <https://github.com/GenericMappingTools/gmt/blob/master/BUILDING.md>`__.

Install GMT via:

Expand Down Expand Up @@ -270,7 +270,7 @@ Gentoo
~~~~~~

**NOTE:** This may provide old GMT versions. Consider `building from
source <BUILDING.md>`__.
source <https://github.com/GenericMappingTools/gmt/blob/master/BUILDING.md>`__.

Install GMT via:

Expand Down Expand Up @@ -339,7 +339,7 @@ GMT may be installed on FreeBSD using Ports or from source.

**NOTE:** The Ports Collection may provide old GMT versions. If you want
the latest GMT release, consider `building the latest release from
source <BUILDING.md>`__.
source <https://github.com/GenericMappingTools/gmt/blob/master/BUILDING.md>`__.

Install via Ports
~~~~~~~~~~~~~~~~~
Expand All @@ -349,31 +349,22 @@ application software that has been ported to FreeBSD.

**Precompiled**

Install precompiled gmt binaries with

::
Install precompiled gmt binaries with::

pkg install gmt

**Compile from Ports**

If not done already, set up the **Ports Collection** See
https://docs.freebsd.org/en/books/handbook/ports/#ports-using:

::
If not done already, set up the `Ports Collection <https://docs.freebsd.org/en/books/handbook/ports/#ports-using>`__::

portsnap fetch
portsnap extract

If already set up, make sure you’re up-to-date:

::
If already set up, make sure you’re up-to-date::

portsnap fetch update

Then change into directory ``/usr/ports/graphics/gmt`` and build:

::
Then change into directory ``/usr/ports/graphics/gmt`` and build::

make install clean

0 comments on commit ccc94f6

Please sign in to comment.