This is an old revision of the document!
Installing Diana from Launchpad
Diana is available as a set of packages from Launchpad. For users of Ubuntu, installing these packages is the easiest way to install Diana.
Ubuntu 12.04 (Precise)
Note: You need to be able to run the sudo
command to be able to install Diana.
Obtain the apt-add-repository
tool from the python-software-properties
package:
sudo apt-get install python-software-properties
Add the Diana repository to those that the system can use by running the apt-add-repository
tool in the following way:
sudo apt-add-repository ppa:diana-deployment/precise
This command will ask you to continue or cancel. Press ENTER to continue.
Add the Fimex repository to the system in the same way:
sudo apt-add-repository ppa:heiko-klein/fimex
It should then be possible to update the system sources:
sudo apt-get update
Now you can install Diana and some additional packages that Diana uses:
sudo apt-get install diana-3.39 dianamaps metno-bufrtables
Test that Diana is installed correctly by running it:
diana.bin-3.39 -s /etc/diana/3.39/diana.setup
This should cause a window to open that looks like this:
If so, Diana should be working correctly.
Ubuntu 14.04 (Trusty)
Note: You need to be able to run the sudo
command to be able to install Diana.
Obtain the apt-add-repository
tool from the software-properties-common
package:
sudo apt-get install software-properties-common
Add the Diana repository to those that the system can use by running the apt-add-repository
tool in the following way:
sudo apt-add-repository ppa:diana-deployment/trusty
This command will ask you to continue or cancel. Press ENTER to continue.
Add the Fimex repository to the system in the same way:
sudo apt-add-repository ppa:heiko-klein/fimex
It should then be possible to update the system sources:
sudo apt-get update
Now you can install Diana and some additional packages that Diana uses:
sudo apt-get install diana-3.39 dianamaps metno-bufrtables
Test that Diana is installed correctly by running it:
diana.bin-3.39 -s /etc/diana/3.39/diana.setup
This should cause a window to open that looks like this:
If so, Diana should be working correctly.