I am a noob with linux and I use Synaptic package manager to install all the software I need. I did so also for mathgl, the library for scientific graphs.
Recently a new version appeared online, but not in the package manager. I downloaded the sources and tried to install it manually. The instructions said:
cmake .
cmake .
make
make install
I did exactly the same, but then I realized that I forgot some build options. I did a web search to find a way how to uninstall the library, so that I can install it with the new settings, but I did not get a clear answer. What I found out is that when it comes to uninstalling under Linux, unless the developer provided an uninstall script, you are on your own and it is not trivial.
With this in mind I just tried to install the library without removing the misconfigured one.
cmake -D enable-all=on -D enable-langall=on .
cmake -D enable-all=on -D enable-langall=on .
make
make install
Everything seems to be fine. My question is this: is there any chance that the consequence of my action will come back to haunt me?
I am also concerned, because the old library was not removed as well as the old headers. Another strange thing is that the old headers are in
/usr/lib/mgl
while the new ones are in
/usr/local/lib/mgl2
Is there any explanation for this?