I just switched from Windows to Ubuntu. Now I'm trying to install GRASS GIS 7.0 (beta, upcoming stable) packages on Ubuntu 14.04 following the instructions given here. But I'm getting this error
grass70 : Depends: grass70-core but it is not going to be installed
grass70-gui : Depends: grass70-core but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I wonder how to resolve this issue. Any help will be highly appreciated. Thanks
Edited
I also tried the following instructions but no luck:
sudo add-apt-repository ppa:grass/grass-stable
sudo apt-get update
sudo apt-get -f install
sudo apt-get clean
sudo apt-get -f install
sudo apt-get install grass70 grass70-gui
Unfortunately, GRASS GIS development version package for 7.0 is not in a good shape now. I would suggest to compile GRASS GIS from the source code. (Edit: GRASS GIS 7.0 was released, so situation is different; this was valid for September 2014, however the compilation can be advantageous anyway.)
You need to install compile tools and dependencies, download source code using SVN, configure, compile and install.
The steps are described here:
http://grasswiki.osgeo.org/wiki/Compile_and_Install_Ubuntu
Go through the sections:
Here are the actual steps (partially mine, partially extracted from the wiki page):
More dependencies:
Navigate to the directory where you want the code and GRASS GIS to be compiled (e.g.
~/dev
or~/bin
or/usr/local/src
or/opt/
, ...).Then to get the latest code for 7.0 release use:
Go to the directory which was created by
svn
:Configuration:
Compile:
The number after
-j
is number of cores which should be used for compilation (this may speed up the compilation, it does not influence the result).Install:
You can optionally not install but then you have to run GRASS GIS using full path to the source code directory (
../grass70_release
), subdirectorybin
, filegrass70
.To update the source code later, use:
And then compile again.
Time to time, you need to recompile everything, so do
and then start with configuration and continue with compilation and installation.
Install grass70-core with synaptic package and it will work.
In march 2016 I installed it (version 6.4.3, not 7 but may be useful) quite easy with "Geographic Resources Analysis Support System (GRASS GIS)" from Ubuntu Software Center.
First you need to install some tools:
Now install the QGIS Signing Key, so QGIS software from the QGIS repo will be trusted and installed:
Add the QGIS repo for the latest stable QGIS (3.12.x București):
Note:
lsb_release -c -s
in those lines will return your distro nameUpdate your repository information to reflect also the just added QGIS one:
Now, install QGIS!
Note: add
qgis-server
to this line if you also want to install QGIS Server:and fire up [
Answer is delivered from this source