[Thread Prev][Thread Next][Index]

Re: [ferret_users] installing pyferret on public Linux machine



Dear PyFerret users,

Installing PyFerret on a Linux machine appears complicated because of its dependencies.  It's actually easy!  You don't have to be a superuser, either!

Below is my little, unofficial, step-by-step guide to install PyFerret on Linux and on macOS.  Hope it helps.

Regards,
Ryo
===============
1. Linux (for a non-superuser)

1.1. Install miniconda.

1.1.1. Download the official installer from

    https://docs.conda.io/en/latest/miniconda.html

There are four versions: (python2, python3) x (32-bit, 64-bit).
For example, the installer "Miniconda3-latest-Linux-x86_64.sh" is for python3 & 64-bit Linux.

1.1.2. Run the installer & keep saying "yes":

    $ sh Miniconda3-latest-Linux-x86_64.sh

This command installs the whole miniconda system under your home directory as "miniconda3".

1.2. Install PyFerret.
Run these commands on your bash command line:

    conda=$HOME/miniconda3/bin/conda
    $conda update conda --all --yes
    $conda create -n FERRET -c conda-forge pyferret ferret_datasets --yes

1.3. Use PyFerret.
see https://github.com/NOAA-PMEL/PyFerret/blob/master/README.md


2. macOS

2.1. Install miniconda.

2.1.1. Install Homebrew
   according to  https://brew.sh .

2.1.2. Install miniconda

    $ brew cask install miniconda

This command installs the whole miniconda system under /usr/local/Caskroom/miniconda/base/ .  (This place is changed from time to time by the homebrew packager of miniconda .)


2.2. Install PyFerret.
Run these commands on your bash command line:

    conda=/usr/local/Caskroom/miniconda/base/bin/conda
    $conda update conda --all --yes
    $conda create -n FERRET -c conda-forge pyferret ferret_datasets --yes

2.3. Use PyFerret.
see https://github.com/NOAA-PMEL/PyFerret/blob/master/README.md

[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement