I need to run some physics software on my laptop, which is very finicky, so I specifically need to use gsl 2.6 (where I normally run I have found this through trial and error).
I run ubuntu-18.04. I had gsl 2.4 installed but could not get it to update further than that. So I went to the gnu website and downloaded 2.7 in the hopes that it would do. I followed the instructions here: https://coral.ise.lehigh.edu/jild13/2016/07/11/hello/ to install it. Including creating the little example.c test file, which seemed to work just fine. But when I tried to check the version with gsl-config --version
it returned 2.4 still.
So I uninstalled gsl and purged it from the system in case the problem was just that I hadn't gotten rid of the other version first (I'm used to unloading and loading gsl as a module normally so I didn't think to remove it first). I tried again with the exact same results except that my laptop now complains that there is no gsl in /usr/bin. I don't know why it is specifically looking there, the old version wasn't installed there, and the new one isn't installed there either.
Can I not just do something like apt-get install libgsl-dev-2.6
? Not that specifically - I know that doesn't work! I'm also fine to install manually again if anyone knows what I missed.
Thanks!
Edited to add errors after attempting N0rbert's solution *
libtool: install: ranlib /home/cb27g11/Downloads/gsl-2.6+dfsg/debian/tmp/usr/lib/x86_64-linux-gnu/libgsl.a
libtool: warning: remember to run 'libtool --finish /usr/lib/x86_64-linux-gnu'
/bin/mkdir -p '/home/cb27g11/Downloads/gsl-2.6+dfsg/debian/tmp/usr/bin'
/bin/bash ./libtool --mode=install /usr/bin/install -c gsl-randist gsl-histogram '/home/cb27g11/Downloads/gsl-2.6+dfsg/debian/tmp/usr/bin'
libtool: warning: 'libgsl.la' has not been installed in '/usr/lib/x86_64-linux-gnu'
libtool: warning: '/home/cb27g11/Downloads/gsl-2.6+dfsg/cblas/libgslcblas.la' has not been installed in '/usr/lib/x86_64-linux-gnu'
libtool: warning: 'cblas/libgslcblas.la' has not been installed in '/usr/lib/x86_64-linux-gnu'
libtool: install: /usr/bin/install -c .libs/gsl-randist /home/cb27g11/Downloads/gsl-2.6+dfsg/debian/tmp/usr/bin/gsl-randist
libtool: warning: 'libgsl.la' has not been installed in '/usr/lib/x86_64-linux-gnu'
libtool: warning: '/home/cb27g11/Downloads/gsl-2.6+dfsg/cblas/libgslcblas.la' has not been installed in '/usr/lib/x86_64-linux-gnu'
libtool: warning: 'cblas/libgslcblas.la' has not been installed in '/usr/lib/x86_64-linux-gnu'
Does this mean anything to you?