diff --git a/README.md b/README.md index 839d9eb4074347115b4b2786874d1759e3ec929d..fb089d16a0b3db05f424400930d5cfa826b3ba10 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.