If there was a 'make install' step then you can try 'make uninstall'. If you installed it some other way you have to look at what the installation script did and remove any files it copied or created. If you installed it all to /usr/ns2 you can just do: