Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing Rglpk on linux

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

The glpk-dev package is already installed :

rpm -qa| grep glpk-dev glpk-devel-4.40-1.1.el6.x86_64

Thanks for your help,

like image 390
Adam Dahmani Avatar asked Nov 01 '22 15:11

Adam Dahmani


1 Answers

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:

like image 136
Naus Avatar answered Jan 04 '23 13:01

Naus