[GRASS-user] Uninstall

Nikos Alexandris nikos.alexandris at felis.uni-freiburg.de
Mon Apr 5 17:26:45 EDT 2010


John Tate <john.tate at ntlworld.com> wrote:
> > Hi,
> > I'm going for a svn recompile (not just update), but have found little
> > information on uninstalling grass. This is for a previous ubuntu 32bit svn
> > compiled install following the ubuntu compile instructions:
> > http://grass.osgeo.org/wiki/Compile_and_Install_Ubuntu


Markus Neteler wrote:
> I have added an uninstall section at
> http://grass.osgeo.org/wiki/Compile_and_Install_Ubuntu#Removal_of_GRASS

> Generally, a recompile + installation overwrites, so there is no need to
> remove all stuff if you just want to compile SVN updates.
> With QGIS, I always remove the binary installation folder to avoid troubles,

For QGIS I do this too, e.g.:

# in case of compiling another qgis version, before installing remove
all qgis related stuff
# Be Careful with the "sudo rm -rf" command, it might HURT! #
sudo rm -rf /usr/local/share/qgis/
sudo rm -rf /usr/local/include/qgis/
sudo rm -rf /usr/local/bin/qgis
sudo rm -rf /usr/local/bin/qgis_help 
sudo rm -rf /usr/local/lib/qgis/

sudo rm -rf /usr/local/lib/libqgis_core.so
sudo rm -rf /usr/local/lib/libqgis_core.so.1.2
sudo rm -rf /usr/local/lib/libqgis_core.so.1.2.0 
sudo rm -rf /usr/local/lib/libqgis_gui.so
sudo rm -rf /usr/local/lib/libqgis_gui.so.1.2
sudo rm -rf /usr/local/lib/libqgis
sudo rm -rf /usr/local/lib/libqgisgrass.so
sudo rm -rf /usr/local/lib/libqgisgrass.so.1.2 
sudo rm -rf /usr/local/lib/libqgispython.so
sudo rm -rf /usr/local/lib/libqgispython.so.1.2
sudo rm -rf /usr/local/lib/libqgispython.so.1.2.0

sudo rm -rf /usr/local/share/man/man1/qgis.man

Nikos

> with GRASS I don't need to do that.
> Hope that helps,
> Markus




More information about the grass-user mailing list