[GRASS-user] Help with installing GRASS 7 on linux mint 14

Eric Goddard egoddard1010 at gmail.com
Tue Mar 26 04:40:44 PDT 2013


Forgot to mention those options are for a 64-bit machine. If you're
running Linux Mint 14 32-bit, remove the "--enable-64bit" option from
the grass configure line.

On Tue, Mar 26, 2013 at 6:37 AM, Eric Goddard <egoddard1010 at gmail.com> wrote:
> Sorry, Linux Mint 14 is based on ubuntu 12.10 (Quantal Quetzal).
> Looking at the package lists at
> https://launchpad.net/~ubuntugis/+archive/ubuntugis-testing, it
> appears that they don't have packages built for that version of
> ubuntu, which is why you are getting the not found errors. It looks
> like you'll have to compile grass7 manually for Linux Mint 14.
>
> Since that ppa is unsupported on your version, you should install
> ppa-purge and remove it:
> sudo apt-get install ppa-purge
> sudo ppa-purge ubuntugis-testing
>
> You can compile grass by adding the ppa:ubuntugis/ubuntugis-unstable
> repository (which will work for Linux Mint 14) to install dependencies
> and then compile grass7. I compile several other packages as well so
> the following list of dependencies may be overkill for just grass but
> it should get the job done:
>
> sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable
> sudo apt-get update
>
> sudo apt-get install build-essential gdal libgeos-dev libspatialite3
> libspatialite-dev libcurl4-nss-dev byacc ncurses-dev bison gsl-bin
> libgsl0-dev libexpat1-dev libexpat1 libproj0 libproj-dev libgeotiff2
> libgeotiff-dev libwxgtk2.8-dev swig python-psycopg2 python-numpy
> python-sip python-sip-dev python-wxgtk2.8 curl unixodbc unixodbc-dev
> libkml0 libkml-dev proj-bin flex libpng12-0 libpng12-dev
> mesa-common-dev freeglut3-dev tcl-dev tk8.5-dev libfftw3-3
> libfftw3-dev libxmu-dev libqwt-dev libspatialindex-dev libopenjpeg-dev
> git subversion libcairo2-dev libpoppler-dev libboost1.50-all-dev
>
> #Download the grass7 source to /home/<username>/source:
> mkdir ~/source
> cd ~/source
> svn checkout https://svn.osgeo.org/grass/grass/trunk grass7_trunk
> cd grass_trunk
>
> #Configure grass7 for compile. This command varies based on what
> options you need but this should work:
> ./configure --prefix=/usr/local/grass70 --enable-largefile
> --with-sqlite --with-freetype=yes
> --with-freetype-includes=/usr/include/freetype2
> --with-proj-share=/usr/share/proj --with-python --with-cxx
> --with-wxwidgets --with-tcltk-includes=/usr/include/tcl8.5
> --with-odbc=yes --enable-64bit --with-geos=yes --with-cairo=yes
>
> #if configure runs without reporting any errors you're ready to compile:
> make
>
> #Make will take awhile to complete, but if no errors are returned
> you're ready to install.
> sudo make install
>
> You should now have grass7 installed to /usr/local/grass7. The final
> step is to link the grass7 executable to your /usr/local/bin/ folder
> so that you can run grass from the command line by just typing
> 'grass70':
> sudo ln -s /usr/local/grass70/bin/grass70 /usr/local/bin/grass70
>
>
> Eric
>
>
>
>
>
>
> On Tue, Mar 26, 2013 at 4:47 AM, דור פרידמן <dof1985 at gmail.com> wrote:
>> After running the commands I've received the following:
>>
>> Fetched 1,639 kB in 11s (145 kB/s)
>> W: Failed to fetch
>> http://ppa.launchpad.net/ubuntugis/ubuntugis-testing/ubuntu/dists/nadia/main/source/Sources
>> 404  Not Found
>>
>> W: Failed to fetch
>> http://ppa.launchpad.net/ubuntugis/ubuntugis-testing/ubuntu/dists/nadia/main/binary-amd64/Packages
>> 404  Not Found
>>
>> W: Failed to fetch
>> http://ppa.launchpad.net/ubuntugis/ubuntugis-testing/ubuntu/dists/nadia/main/binary-i386/Packages
>> 404  Not Found
>>
>> W: Failed to fetch
>> http://ppa.launchpad.net/ubuntugis/ubuntugis-testing/ubuntu/dists/quantal/main/source/Sources
>> 404  Not Found
>>
>> W: Failed to fetch
>> http://ppa.launchpad.net/ubuntugis/ubuntugis-testing/ubuntu/dists/quantal/main/binary-amd64/Packages
>> 404  Not Found
>>
>> W: Failed to fetch
>> http://ppa.launchpad.net/ubuntugis/ubuntugis-testing/ubuntu/dists/quantal/main/binary-i386/Packages
>> 404  Not Found
>>
>> E: Some index files failed to download. They have been ignored, or old ones
>> used instead.
>> dof1985 at dof1985-K53E ~ $ sudo apt-get install grass70
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> E: Unable to locate package grass70
>>
>> Can it be fixed?
>>
>> Thanks
>>
>>
>> 2013/3/25 Eric Goddard <egoddard1010 at gmail.com>
>>>
>>> Adding the repository for testing just provides the package manager
>>> with the locations of the packages--you still have to install grass.
>>> After you add the repository, from the terminal run:
>>> sudo apt-get update
>>> sudo apt-get install grass70
>>>
>>> The first command refreshes the repositories, and the second one will
>>> download grass7 and its dependencies. To run grass7, enter grass7 into
>>> the terminal.
>>>
>>> Eric
>>>
>>>
>>> On Mon, Mar 25, 2013 at 10:09 AM, Micha Silver <micha at arava.co.il> wrote:
>>> > On 03/25/2013 04:16 PM, Markus Neteler wrote:
>>> >
>>> > On Mon, Mar 25, 2013 at 3:01 PM, דור פרידמן <dof1985 at gmail.com> wrote:
>>> > ...
>>> >
>>> > However due to my lack of experience with Linux and due
>>> > to the fact that the Grass 7 has not yet come within an installation
>>> > package, I couldn't make it work.
>>> >
>>> > I recently updated the download pages:
>>> >
>>> > http://grass.osgeo.org/download/software/linux/
>>> > http://grass.osgeo.org/download/software/ms-windows/
>>> > http://grass.osgeo.org/download/software/mac-osx/
>>> >
>>> > with links to the GRASS 7 snapshot installers. Perhaps that helps?
>>> >
>>> >
>>> > I also try to run grass70 and/or grass70. in the command console, but it
>>> > didn't help.
>>> >
>>> >
>>> > Also, what do these commands show:
>>> > which grass
>>> > which grass70
>>> > ??
>>> >
>>> >
>>> > What didn't work exactly? Then we may fix it.
>>> >
>>> > Markus
>>> > _______________________________________________
>>> > grass-user mailing list
>>> > grass-user at lists.osgeo.org
>>> > http://lists.osgeo.org/mailman/listinfo/grass-user
>>> >
>>> > This mail was received via Mail-SeCure System.
>>> >
>>> >
>>> >
>>> > --
>>> > Micha Silver
>>> > GIS Consultant, Arava Development Co.
>>> > http://www.surfaces.co.il
>>> >
>>> >
>>> > _______________________________________________
>>> > grass-user mailing list
>>> > grass-user at lists.osgeo.org
>>> > http://lists.osgeo.org/mailman/listinfo/grass-user
>>> >
>>
>>


More information about the grass-user mailing list