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
This page seems to be the only one with a reference to uninstalling I can find so far:
http://grass.itc.it/grass64/binary/linux/snapshot/README.html
Bear in mind I am still relatively new to Linux and this was my first (successful!) attempt at compiling.
Firstly, I ran ‘make clean’ and ‘make distclean’.
Then deleted these:
/usr/local/src/grass_64svn (source code location)
/usr/local/grass-6.4.0svn (folder)
/usr/local/bin/grass64 (file)
/home/username/.grassrc6 (file, found reference to deleting this in an old post)
Do I also need to delete these?:
/usr/local/bin/gem64 (file)
/usr/lib/grass64 (folder)
Is deletion necessary for all of these, or some, or would a recompile overwrite?
Am I missing anything obvious?
Cheers
John
For reference:
On Monday 29 March 2010 12:37:13 John Tate 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
This page seems to be the only one with a reference to uninstalling I can
find so far: http://grass.itc.it/grass64/binary/linux/snapshot/README.html
Bear in mind I am still relatively new to Linux and this was my first
(successful!) attempt at compiling.
Firstly, I ran 'make clean' and 'make distclean'.
Then deleted these:
/usr/local/src/grass_64svn (source code location)
/usr/local/grass-6.4.0svn (folder)
/usr/local/bin/grass64 (file)
/home/username/.grassrc6 (file, found reference to deleting this in an old
post)
I did delete these too...
Do I also need to delete these?:
/usr/local/bin/gem64 (file)
/usr/lib/grass64 (folder)
Is deletion necessary for all of these, or some, or would a recompile
overwrite? Am I missing anything obvious?
Guess not as I recompiled and everything is working ok , so far...
John
On Mon, Mar 29, 2010 at 1:37 PM, John Tate <john.tate@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
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,
with GRASS I don't need to do that.
Hope that helps,
Markus
On Monday 29 March 2010 21:27:13 Markus Neteler wrote:
On Mon, Mar 29, 2010 at 1:37 PM, John Tate <john.tate@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
I have added an uninstall section at
http://grass.osgeo.org/wiki/Compile_and_Install_Ubuntu#Removal_of_GRASS
Nice one.
Generally, a recompile + installation overwrites, so there is no need to
remove all stuff if you just want to compile SVN updates.
Cheers for the clarity.
John
John Tate <john.tate@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