install sw via apt-get

Hi,
I'm in the process to set up an R-GRASS workshop and I need to install the library rgrass7 ( see https://grasswiki.osgeo.org/wiki/R_statistics/rgrass7 ) which really on pre-installed GRASS version.
Is there a way to install grass using the apt-get package manager?
Thank you
Giuseppe

Yes, there is - follow the steps for your Linux flavor as described on https://grass.osgeo.org/download/software/linux/

Thanks Jlacko,
I'm aware of how to install GRASS with the apt-get the problem is in rcloud-terminal we have not sudo right. Therefore how we can use apt-get install without sudo pw?
Thanks
Giuseppe

Now I see... :slight_smile:

Without specifying that you do not have the sudo right the question seemed rather basic, no offense meant.

I believe it could be installed via

apt-get download grass
dpkg -i grass_7.4.0-1_all.deb --force-not-root --root=$HOME 

Note that while this does work on my Ubuntu machine I do not have access to rstudio-cloud, so I can not test it directly

It might be worth moving this thread to #rstudio-cloud, since you'll be able to get better help there that's specific to the limitations of cloud (e.g. not having root access).

Hi,
I'm in the process to set up an R-GRASS workshop and I need to install the library rgrass7 ( see https://grasswiki.osgeo.org/wiki/R_statistics/rgrass7 ) which really on pre-installed GRASS version.
Is there a way to install grass using the apt-get or dpkg without sudo privilege?
I have tried
dpkg grass_7.4.0-1_all.deb --root=$HOME/bin
But still get permission issues or sudo privilege required.
Thank you
Giuseppe

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.