[GRASS-user] problems running grass7 on Ubuntu 12.04

I am trying to run GRASS 7 on Ubuntu 12.04. I am new to both GRASS and Ubuntu. I believe I have it installed, but can’t get version 7 to run. When I search my Ubuntu Software Center it shows grass70 as installed. In a terminal when I type ‘grass’ I am prompted to run v. 6.4.3. When I type grass70 I receive the following message.

/usr/bin/grass70: 25: exec: /usr/lib/grass70/etc/Init.sh: not found

I need to run GRASS 7 as I am trying to investigate the functionality of an add-on that is specific to this version.

Certainly I have missed something along the way. Can anyone help get me on track? Thanks.

Chad

Chad Ferguson wrote:

I am trying to run GRASS 7 on Ubuntu 12.04. I am new to both GRASS and
Ubuntu. I believe I have it installed, but can't get version 7 to run.

Hi Chad!

How did you proceed in getting the software installed?

If I am not wrong, the current version in the official Ubuntu repositories
should (still) be 6.4.2-2build1 -- this is what you should normally see in
Ubuntu's Software Center.

If you see 6.4.3 and version 7 as well, does this mean that you added the some
Ubuntu-GIS repository?

Following links are recommended:
* <https://wiki.ubuntu.com/UbuntuGIS&gt;
* <https://launchpad.net/~ubuntugis/+archive/ppa/&gt;

When I search my Ubuntu Software Center it shows grass70 as installed.

O-kay.

In a terminal when I type 'grass' I am prompted to run v. 6.4.3. When I
type grass70 I receive the following message.

/usr/bin/grass70: 25: exec: /usr/lib/grass70/etc/Init.sh: not found

Confused... :-/

I need to run GRASS 7 as I am trying to investigate the functionality of an
add-on that is specific to this version.

Certainly I have missed something along the way. Can anyone help get me on
track?

Try this from the scratch (if you want):

1. remove any installed grass package, e.g. by executing in a terminal

sudo dpkg -r grass

OR, simply search & remove it within from the Software Center!

2. Add the "ubuntugis-testing" repository available in Launchpad:
<https://launchpad.net/~ubuntugis/+archive/ubuntugis-testing&gt;\. The easiest
way is to launch a Terminal, and execute the following:

sudo add-apt-repository ppa:ubuntugis/ubuntugis-testing && sudo apt-get update

3. Install grass7 from either the Terminal by instructing;

sudo apt-get install grass70

OR via the Software Center (it should appear!)

4. Launch grass70 via the terminal OR via Ubuntu's menu (should be also easy
to trace once installed!)

Gd Luck, Nikos

Nikos,

I did as you suggested. Uninstalled, added the ppa and reinstalled but unfortunately I am receiving the same error–

/usr/lib/grass70/etc/Init.sh: No such file or directory

It seems as though I am missing some sort of shell script, the Init.sh?? I can see the directory.

Very frustrating.

On Tue, Feb 26, 2013 at 8:29 PM, Nikos Alexandris <nik@nikosalexandris.net> wrote:

Chad Ferguson wrote:

I am trying to run GRASS 7 on Ubuntu 12.04. I am new to both GRASS and
Ubuntu. I believe I have it installed, but can’t get version 7 to run.

Hi Chad!

How did you proceed in getting the software installed?

If I am not wrong, the current version in the official Ubuntu repositories
should (still) be 6.4.2-2build1 – this is what you should normally see in
Ubuntu’s Software Center.

If you see 6.4.3 and version 7 as well, does this mean that you added the some
Ubuntu-GIS repository?

Following links are recommended:

When I search my Ubuntu Software Center it shows grass70 as installed.

O-kay.

In a terminal when I type ‘grass’ I am prompted to run v. 6.4.3. When I
type grass70 I receive the following message.

/usr/bin/grass70: 25: exec: /usr/lib/grass70/etc/Init.sh: not found

Confused… :-/

I need to run GRASS 7 as I am trying to investigate the functionality of an
add-on that is specific to this version.

Certainly I have missed something along the way. Can anyone help get me on
track?

Try this from the scratch (if you want):

  1. remove any installed grass package, e.g. by executing in a terminal

sudo dpkg -r grass

OR, simply search & remove it within from the Software Center!

  1. Add the “ubuntugis-testing” repository available in Launchpad:
    <https://launchpad.net/~ubuntugis/+archive/ubuntugis-testing>. The easiest
    way is to launch a Terminal, and execute the following:

sudo add-apt-repository ppa:ubuntugis/ubuntugis-testing && sudo apt-get update

  1. Install grass7 from either the Terminal by instructing;

sudo apt-get install grass70

OR via the Software Center (it should appear!)

  1. Launch grass70 via the terminal OR via Ubuntu’s menu (should be also easy
    to trace once installed!)

Gd Luck, Nikos

Chad Ferguson wrote:

I did as you suggested. Uninstalled, added the ppa and reinstalled but
unfortunately I am receiving the same error--

/usr/lib/grass70/etc/Init.sh: No such file or directory

Strange! What does

which grass70

return (in a terminal)?

It seems as though I am missing some sort of shell script, the Init.sh?? I
can see the directory.

As far as my poor understanding goes, I think there is no shell initialisation
script for grass 7. (Right?). Something must have been mixed up in your box.

How did you, however, initially try to install grass70?

Very frustrating.

It must be -- I can understand :-/. Hang-on, you'll get it :slight_smile:

Best, Nikos

Hi,

2013/2/27 Chad Ferguson <terrafergus@gmail.com>:

I did as you suggested. Uninstalled, added the ppa and reinstalled but
unfortunately I am receiving the same error--

/usr/lib/grass70/etc/Init.sh: No such file or directory

huh, seems like that the package you installed is badly broken. GRASS
7 uses python script for initialization, not the shell script as GRASS
6. This is probably due the fact that the maintainer didn't used
debian rules when building the package. Before providing such packages
it should be fixed.

Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

I initially installed grass using the ppa, although I mistakenly used the unstable ppa (as opposed to testing) so my first GRASS install was 6.x. Upon noticing my error, I added the testing ppa and then had GRASS 6.x and 7. I removed both from my system, as per Nikos suggestion, and reinstalled using the apt-get update.

currently, this is what is returned in the terminal:

chad@chad-Satellite-S855:~$ grass70
/usr/bin/grass70: 25: exec: /usr/lib/grass70/etc/Init.sh: not found

thanks for the help

On Wed, Feb 27, 2013 at 1:07 PM, Martin Landa <landa.martin@gmail.com> wrote:

Hi,

2013/2/27 Chad Ferguson <terrafergus@gmail.com>:

I did as you suggested. Uninstalled, added the ppa and reinstalled but
unfortunately I am receiving the same error–

/usr/lib/grass70/etc/Init.sh: No such file or directory

huh, seems like that the package you installed is badly broken. GRASS
7 uses python script for initialization, not the shell script as GRASS
6. This is probably due the fact that the maintainer didn’t used
debian rules when building the package. Before providing such packages
it should be fixed.

Martin


Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

I have exactly the same problem on Ubuntu 12.04 32-bit. Get also the same error message.

···

2013/2/27 Chad Ferguson <terrafergus@gmail.com>

I initially installed grass using the ppa, although I mistakenly used the unstable ppa (as opposed to testing) so my first GRASS install was 6.x. Upon noticing my error, I added the testing ppa and then had GRASS 6.x and 7. I removed both from my system, as per Nikos suggestion, and reinstalled using the apt-get update.

currently, this is what is returned in the terminal:

chad@chad-Satellite-S855:~$ grass70

/usr/bin/grass70: 25: exec: /usr/lib/grass70/etc/Init.sh: not found

thanks for the help

On Wed, Feb 27, 2013 at 1:07 PM, Martin Landa <landa.martin@gmail.com> wrote:

Hi,

2013/2/27 Chad Ferguson <terrafergus@gmail.com>:

I did as you suggested. Uninstalled, added the ppa and reinstalled but
unfortunately I am receiving the same error–

/usr/lib/grass70/etc/Init.sh: No such file or directory

huh, seems like that the package you installed is badly broken. GRASS
7 uses python script for initialization, not the shell script as GRASS
6. This is probably due the fact that the maintainer didn’t used
debian rules when building the package. Before providing such packages
it should be fixed.

Martin


Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

On Wed, Feb 27, 2013 at 7:36 PM, Johan Nilsson <joni8135@gmail.com> wrote:

I have exactly the same problem on Ubuntu 12.04 32-bit. Get also the same
error message.

Could you identify the maintainer of the package? His/her name should be
listed, so that we can contact him/her to fix it.

Maybe we should unlist the link on the GRASS Web site? (which one is it)?

Markus

here’s the link:
https://launchpad.net/~ubuntugis/+archive/ubuntugis-testing

On Wed, Feb 27, 2013 at 7:30 PM, Markus Neteler <neteler@osgeo.org> wrote:

On Wed, Feb 27, 2013 at 7:36 PM, Johan Nilsson <joni8135@gmail.com> wrote:

I have exactly the same problem on Ubuntu 12.04 32-bit. Get also the same
error message.

Could you identify the maintainer of the package? His/her name should be
listed, so that we can contact him/her to fix it.

Maybe we should unlist the link on the GRASS Web site? (which one is it)?

Markus


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

I also added Ubuntu-unstable.

···

2013/2/28 Chad Ferguson <terrafergus@gmail.com>

here’s the link:
https://launchpad.net/~ubuntugis/+archive/ubuntugis-testing

On Wed, Feb 27, 2013 at 7:30 PM, Markus Neteler <neteler@osgeo.org> wrote:

On Wed, Feb 27, 2013 at 7:36 PM, Johan Nilsson <joni8135@gmail.com> wrote:

I have exactly the same problem on Ubuntu 12.04 32-bit. Get also the same
error message.

Could you identify the maintainer of the package? His/her name should be
listed, so that we can contact him/her to fix it.

Maybe we should unlist the link on the GRASS Web site? (which one is it)?

Markus


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

I had updated grass70 package on ubuntugis-testing archive. Launchpad build system is currently building the packages[1]. Please check after 3-4 hrs.

Sorry for the inconvenience

[1] https://launchpad.net/~ubuntugis/+archive/ubuntugis-testing/+packages

···

On Thu, Feb 28, 2013 at 8:56 AM, Johan Nilsson <joni8135@gmail.com> wrote:

I also added Ubuntu-unstable.


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Regards,
Rashad

2013/2/28 Chad Ferguson <terrafergus@gmail.com>

here’s the link:
https://launchpad.net/~ubuntugis/+archive/ubuntugis-testing

On Wed, Feb 27, 2013 at 7:30 PM, Markus Neteler <neteler@osgeo.org> wrote:

On Wed, Feb 27, 2013 at 7:36 PM, Johan Nilsson <joni8135@gmail.com> wrote:

I have exactly the same problem on Ubuntu 12.04 32-bit. Get also the same
error message.

Could you identify the maintainer of the package? His/her name should be
listed, so that we can contact him/her to fix it.

Maybe we should unlist the link on the GRASS Web site? (which one is it)?

Markus


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Thanx Rashad M.

Now grass70 starts :slight_smile:

···

2013/2/28 Rashad M <mohammedrashadkm@gmail.com>

I had updated grass70 package on ubuntugis-testing archive. Launchpad build system is currently building the packages[1]. Please check after 3-4 hrs.

Sorry for the inconvenience

[1] https://launchpad.net/~ubuntugis/+archive/ubuntugis-testing/+packages

On Thu, Feb 28, 2013 at 8:56 AM, Johan Nilsson <joni8135@gmail.com> wrote:

I also added Ubuntu-unstable.


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Regards,
Rashad

2013/2/28 Chad Ferguson <terrafergus@gmail.com>

here’s the link:
https://launchpad.net/~ubuntugis/+archive/ubuntugis-testing

On Wed, Feb 27, 2013 at 7:30 PM, Markus Neteler <neteler@osgeo.org> wrote:

On Wed, Feb 27, 2013 at 7:36 PM, Johan Nilsson <joni8135@gmail.com> wrote:

I have exactly the same problem on Ubuntu 12.04 32-bit. Get also the same
error message.

Could you identify the maintainer of the package? His/her name should be
listed, so that we can contact him/her to fix it.

Maybe we should unlist the link on the GRASS Web site? (which one is it)?

Markus


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user