-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathINSTALL
More file actions
53 lines (33 loc) · 1.51 KB
/
INSTALL
File metadata and controls
53 lines (33 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Building and installing ncplot (Linux/MacOS).
1) Redhat dependencies
- 'dnf install flex-devel netcdf-devel motif-devel gsl-devel'
2) Edit Makefile to fit your needs.
- Default is Linux, see section for MacOS.
- Check for any OS depencies, but most have been removed.
- Uncomment UBUNTU if that is what you are building on.
3) Type 'make'
4) If you're installing for a system, put binary in appropriate place
(e.g. /usr/local/bin). If you are a lone user, put the binary wherever
you want (e.g. $HOME/bin).
'make install' will default to /usr/local/bin
5) You may need to do: dnf install "xorg-x11-fonts-ISO*"
Mac OSX using Homebrew (ncplot is availble from macports as of 2021).
You need three things:
1) Xcode command line tools or Xcode from Apple App Store. Don't forget to run
Xcode after it is installed to accept license, and/or "xcode-select --install"
for the command line tools.
xcode-select --install
2) Using Homebrew instead of MacPorts. https://brew.sh/
Run "brew bundle" in this directory after initial homebrew install to fetch
dependencies.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
cd ncplot
brew bundle
make
brew install whatever else the bundle missed.
3) XQuartz download for X11, it is no longer bundled with MacOS. This is
required to display X11 GUI programs.
https://www.xquartz.org/
Users manual: http://www.eol.ucar.edu/raf/Software/ncplot/ncplot.html
Chris Webster
cjw@ucar.edu