From 2a5ca6cda0528e2ed1afcfe64f32148b6d82a899 Mon Sep 17 00:00:00 2001 From: f-rousset <francois.rousset@umontpellier.fr> Date: Wed, 26 Mar 2025 15:12:00 +0100 Subject: [PATCH] newlines in README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 839d9eb..fb089d1 100644 --- a/README.md +++ b/README.md @@ -43,16 +43,16 @@ For **Debian or Ubuntu**, this should typically work:\ `sudo apt-get install libglpk-dev` \ -If the installation of `nloptr` or `NLopt` fails, **do read the messages**. They may tell you, for example, that `NLopt` 2.7 is not installed for your system. Further, it may not be available by `apt-get` for your system. If `NLopt` 2.7 is not installed, the `nloptr` installation script tries to compile `NLopt` 2.7 from source, but for that purpose `cmake` version 3.15 (or higher) is required, and you need to make sure that it is installed. The `cmake` installation procedure described [here](https://askubuntu.com/questions/1203635/) may then be useful. +If the installation of `nloptr` or `NLopt` fails, **do read the messages**. They may tell you, for example, that `NLopt` 2.7 is not installed. Further, it may not be available by `apt-get` for your system. If `NLopt` 2.7 is not installed, the `nloptr` installation script tries to compile `NLopt` 2.7 from source, but for that purpose `cmake` version 3.15 (or higher) is required, and you need to make sure that it is installed. The `cmake` installation procedure described [here](https://askubuntu.com/questions/1203635/) may then be useful. **Mac** users may find [HomeBrew](https://brew.sh/) useful: install it and then run `brew install gsl` and `brew install glpk`. However, my limited experience with it was deceptive. It did not tell when no writeable `/usr/local/include` directory existed, preventing the installation of the `GSL`. The alternative installation procedure described [here](https://gist.github.com/TysonRayJones/af7bedcdb8dc59868c7966232b4da903#osx) has then been useful. -Possibly obsolete: once upon a time on **Windows** I had to \cr +Possibly obsolete: once upon a time on **Windows** I had to run\ `pacman -S mingw-w64-x86_64-nlopt`; and - `pacman -S mingw-w64-x86_64-glpk` in the Rtools40 bash shell, together with\cr + `pacman -S mingw-w64-x86_64-glpk` in the Rtools40 bash shell, together with\ `Sys.setenv(GLPK_HOME = "$(MINGW_PREFIX)")` in the R session. Previously I had to install `glpk` from https://sourceforge.net/projects/winglpk/. The different concerned packages may also provide installation instructions. -- GitLab