High resolution Worldmaps in Kubuntu
Posted: 30 Oct 2012 20:08
In my experience, the script for installing "High resolution Worldmaps" doesn't work in Kubuntu (in 12.04, at least).
https://www.zygrib.org/#section_ubuntu:
That is because the script tries to install in /opt/zyGrib/ directory...
In Kubuntu must be in the directory: /usr/share/zygrib/
For Kubuntu, edit the script and replace:
with:
save and execute.
------------------------------------- For beginners in Linux -------------------------------
For the explain, I suppose that you have download the script in your home, in your 'Downloads' directory:
/home/user/Downloads/
(And user must be replaced with your user's name, of course, below)
Open Konsole and type:
(If you have tried running the script, perhaps you must edit it as sudo)
(another once again: 'user' must be replaced with your user name; and it's posible your directory for downloads to be another one)
In kate, search the line
comment this with #. In this way:
(comments not run in a script, but if you comment instead of deleting, you can see what you have change...)
and write below a new line like this:
Save and close kate.
In Konsole again, type:
And... voilĂ
--------------------------------------------------------------------------------
https://www.zygrib.org/#section_ubuntu:
However, it isn't a bug.High resolution Worldmaps :
gshhs_maps2_cities_deb_install (1.5 ko)
The script gshhs_maps2_cities_deb_install allow to download and install high resolution Worldmaps which are not in the main package in /opt/zyGrib/maps/gshhs and more cities in /opt/zyGrib/data/gis
Script and packages by Dominique Hausser.
That is because the script tries to install in /opt/zyGrib/ directory...
In Kubuntu must be in the directory: /usr/share/zygrib/
For Kubuntu, edit the script and replace:
Code: Select all
cd /opt/zyGrib/data/
Code: Select all
cd /usr/share/zygrib/data/
------------------------------------- For beginners in Linux -------------------------------
For the explain, I suppose that you have download the script in your home, in your 'Downloads' directory:
/home/user/Downloads/
(And user must be replaced with your user's name, of course, below)
Open Konsole and type:
Code: Select all
kdesudo kate /home/user/Downloads/gshhs_maps2_cities_deb_install
(another once again: 'user' must be replaced with your user name; and it's posible your directory for downloads to be another one)
In kate, search the line
Code: Select all
cd /opt/zyGrib/data/
Code: Select all
# cd /opt/zyGrib/data/
and write below a new line like this:
Code: Select all
cd /usr/share/zygrib/data/
In Konsole again, type:
Code: Select all
sudo sh /home/user/Downloads/gshhs_maps2_cities_deb_install
--------------------------------------------------------------------------------