Installing Rglpk on linux

后端 未结 3 924
慢半拍i
慢半拍i 2021-01-19 01:01

I am trying to install Rglpk using the install.packages command. I am getting this error : /bin/sh: line 0: cd: GLPK: No such file or directory make: *** [GLPK.ts] Error 1

3条回答
  •  清歌不尽
    2021-01-19 01:45

    Hi what I did was the following as a sudoer

    cd usr local
    wget http://ftp.gnu.org/gnu/glpk/glpk-4.54.tar.gz
    tar xfzv glpk-4.54.tar.gz
    mkdir GLPK
    ./configure
    make
    make install
    

    then download the Rglpk_0.6-0.tar.gz and install.package the usual way. It is basically the same as what was done here, but as a sudoer:

提交回复
热议问题