Quick walk through explaining the step by step process on how to install OpenOpt on Ubuntu 14 LTS –
1)Install dependencies :
# apt-get install libreadline-dev libncurses5-dev libssl1.0.0 tk8.5-dev zlib1g-dev liblzma-dev
2)Install Tar file.
3) Extract and cd the extracted directory
#tar -xjf Python-3.xtar.bz2 cd Python-3.x
4) Configure and install
#./configure –prefix=/opt/python3 #make #make install
5) To check it work proper;
/opt/python3.3/bin/python3
6) install GLPK libraries;
#apt-get install glpk-doc libglpk-dev glpk-utils libglpk-java libglpk0 libglpk0-dbg python-glpk r-cran-rglpk
7) Install openopt
# apt-get install apt-get install python-openopt python-scikits-openopt