From c6302dd06a075d145e991b4fd4e9009e94a08a2c Mon Sep 17 00:00:00 2001 From: acxz Date: Mon, 6 May 2019 11:18:29 -0400 Subject: [PATCH 1/2] Added installtion instructions for ArchLinux and FreeBSD, organized installation page slightly --- doc/sphinx/install.rst | 65 +++++++++++++++++++++++++++++++++++------- 1 file changed, 55 insertions(+), 10 deletions(-) diff --git a/doc/sphinx/install.rst b/doc/sphinx/install.rst index 434d7a0cb..5ee660bd6 100644 --- a/doc/sphinx/install.rst +++ b/doc/sphinx/install.rst @@ -18,6 +18,9 @@ pagmo is a header-only library which has the following third-party dependencies: * `Ipopt `__, optional, requires linking (enabled via the ``PAGMO_WITH_IPOPT`` CMake option) + +Installation from source +^^^^^^^^^^^^^^^^^^^^^^^^ After making sure the dependencies above are installed in your system, you can download the pagmo source code from the `GitHub release page `__. Alternatively, and if you like living on the bleeding edge, you can get the very latest version of pagmo via the ``git`` @@ -43,6 +46,9 @@ When done, you can install pagmo via the command: To check that all went well compile the :ref:`quick-start example `. + +Installation with conda +^^^^^^^^^^^^^^^^^^^^^^^ pagmo is also available via the `conda `__ package manager for Linux, OSX and Windows. In order to install pagmo via conda, you just need to add ``conda-forge`` to the channels, and then we can immediately install pagmo: @@ -55,6 +61,55 @@ and then we can immediately install pagmo: Please refer to the `conda documentation `__ for instructions on how to setup and manage your conda installation. + +Installation on Arch Linux +^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Pagmo is also available on the `Arch User Repository +`__ (AUR) in Arch Linux. It is +recommended to use an AUR helper like +`yay `__ has been created for +pagmo. In order to install pagmo using pkg, execute the following command: + +.. code-block:: bash + + pkg install pagmo2 + + +Installation with homebrew +^^^^^^^^^^^^^^^^^^^^^^^^^^ +A `Homebrew `__ recipe for pagmo has been generously contributed by the community. In order to install +pagmo on OSX with Homebrew, it is sufficient to execute the following command: + +.. code-block:: bash + + brew install pagmo + + .. _py_install: Python @@ -119,16 +174,6 @@ conda will automatically install all of pygmo's dependencies for you. Please ref for instructions on how to setup and manage your conda installation. -Installation with homebrew -^^^^^^^^^^^^^^^^^^^^^^^^^^ -A `Homebrew `__ recipe for pagmo has been generously contributed by the community. In order to install -pagmo on OSX with Homebrew, it is sufficient to execute the following command: - -.. code-block:: bash - - brew install pagmo - - Installation with pip ^^^^^^^^^^^^^^^^^^^^^ The installation of pygmo with pip is also straightforward: From 29c9fbf9ff0bd59bc5b9b0896bf54af85146a991 Mon Sep 17 00:00:00 2001 From: acxz Date: Mon, 6 May 2019 11:31:41 -0400 Subject: [PATCH 2/2] Eigen doesn't require linking, ipopt does --- doc/sphinx/install.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/sphinx/install.rst b/doc/sphinx/install.rst index 5ee660bd6..255295a71 100644 --- a/doc/sphinx/install.rst +++ b/doc/sphinx/install.rst @@ -72,7 +72,7 @@ recommended to use an AUR helper like See the `AUR helpers