Uninstalling NEURON on linux

Post Reply
JohnGriffiths
Posts: 3
Joined: Thu Jul 07, 2011 12:58 pm

Uninstalling NEURON on linux

Post by JohnGriffiths » Mon Oct 24, 2011 3:23 am

Had a good look through the forum and can't locate the answer to this:

I've installed NEURON on debian using the precompiled standard distribution ('dpkg -i <install_file>') on the command line. I want to remove it so I can install from source to allow for python compatibility. Can you please tell me how to do this?

Thanks,
john

ted
Site Admin
Posts: 5598
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: Uninstalling NEURON on linux

Post by ted » Mon Oct 24, 2011 11:00 am

If you found a debian-specific installer, I would you contact the person who created the installer.

Failing that, and assuming that the person who set up the installer didn't do anything strange, you might
echo $PATH
to find the location of NEURON's binaries, then back up two directories and there's the root of NEURON's installation. Example: on my Linux box, the binaries are in
/usr/local/nrn/i686/bin
so the root of NEURON's installation is
/usr/local/nrn
and I would
su
cd /usr/local
rm -rf nrn
Then I'd clean up my PATH by removing any reference to
/usr/local/nrn/i686/bin
from .bash_profile (on your system you might have to edit .bashrc).

Do the same for InterViews (look in the PATH for iv/i686/bin).

Finally reboot, and you're ready to do whatever else you want.

Post Reply