Ferret Installation Example
Ferret Installation Example
> () t @
The following is a guide to install Ferret on a computer with Ubuntu (Linux) OS.
I am a regular Ferret user and my first encounter with Ferret was during my
Masters Dissertation. I did all my computations, data analysis and plotting using
Ferret. The only thing I did not know up until then was the installation of Ferret.
Though I eventually gained an expertise in using Ferret, I was always pricked by
the fact that I never knew how to install it. It was only when my computer crashed
that I was forced to learn the installation. I must admit, it was a painstaking task to
learn it and that has inspired me to put together this short guide for all those
Experts and Beginners who want to an easy and quick installation guide.
The aim of this guide is simply to simplify the installation process. I can safely say
that, all you need to do is cut, copy and paste the commands into the terminal
and you will witness Ferret installed effortlessly. Go ahead, try it !!!
Attention :
A) Only the text in green is to be Typed/CopyPasted in the terminal.
B) You need to have an Internet connection.
C) You need to have a package manager. I suggest the use of Synaptic
Package Manager. You can download it from Ubuntu Software Center.
D) Make sure you have the vim editor. Install it using Synaptic Package
Manager.
E) Know the username of the computer you are working on. If you dont, do
the following:
Type in a new terminal:
cd ~/
pwd
The output will be something like:
/home/username
Where the username will be your username.
Now, check your OS, whether it is a 32bit or 64bit OS. To do this type:
file /sbin/init
You should get an output which will read something like:
/sbin/init: ELF 32-bit LSB shared object,
From the above display on the terminal, you will know if you have a 32-bit or 64bit Operating System.
Having done all this, we are now ready to download the files required for Ferret
installation.
Step 1
We will first make a folder to store the files that we will download from the
internet. We will create this in our Home folder.
Type in the terminal:
mkdir ~/ferret_downloads
Step 2
Now using your web browser go to the following site:
http://ferret.pmel.noaa.gov/Ferret/downloads/downloading_ferret
From above choose your desired version of Ferret you want to download either:
32-bit Linux (RedHat 6 and equivalent)
64-bit Linux (RedHat 6 and equivalent)
These files will get downloaded to your Downloads folder by default.To copy
files from Downloads folder to the ferret_downloads folder, type the
following in your terminal:
cp ~/Downloads/fer_dsets.tar.gz ~/ferret_downloads
cp ~/Downloads/fer_environment.tar.gz ~/ferret_downloads
cp ~/Downloads/fer_executables.tar.gz ~/ferret_downloads
exit
Step 3
This is the step where we will install Ferret.
A) First we make a folder where we will install ferret.Open a new terminal and
type the following commands:
cd /usr/local
sudo mkdir ferret
cd ferret
Next we have to Customizing the Paths. For this we will select Customize
ferret_paths files.
i) Input into the terminal:
Note: Some times, after you paste the above command in the terminal, you may get
the following on the screen:
We will now check if Ferret has been installed by trying to open it.
First, type in the terminal:
source /usr/local/ferret/ferret_paths
Then type:
ferret
You will see something as follows:
exit
Step 4
The last step of the installation is giving the path in the .bashrc file. This file is
located in the home folder. In a new terminal, type the following:
cd ~/
vi .bashrc
insert
(on KeyBoard)
followed by :wq
exit
GREAT JOB now you have successfully installed ferret. The tutorial should be a
good start to learn the basics of Ferret.
References
1) http://davies-barnard.co.uk/2011/08/installing-ferret-noaa-onto-ubuntu/
2) http://ferret.pmel.noaa.gov/Ferret/
A special thanks:
Ferret was taught to me by Ms. Vidya PJ and the installation of Ubuntu and Ferret
was first done by Mr. Vijith V, both of whom I would like to thank for all their
kind help encouragement, without whom, none of this would be possible. I would
also like to thank Mr Renjith for checking this guide.
Happy Ferreting