Rate This Document
Findability
Accuracy
Completeness
Readability

Failed to Install GLPK

Symptom

The GLPK installation failed.

Key Process and Cause Analysis

The downloaded installation package is incorrect or the installation method is incorrect.

Conclusion and Solution

Use the source code for installation.

  1. Download the GLPK installation package.
    1
    wget https://ftp.gnu.org/gnu/glpk/glpk-5.0.tar.gz
    
  2. Decompress the installation package.
    1
    tar zxvf glpk-5.0.tar.gz
    
  3. Go to the glpk-5.0 directory and run the configuration script.
    1
    2
    cd glpk-5.0
    ./configure
    
  4. Perform compilation and installation.
    1
    2
    make
    make install