looking for gnuplot

The ubuntu with my Jetson doesn’t seem to know about the popular gnuplot package:

mkb@tegra-ubuntu:~$ sudo apt-get install gnuplot
[sudo] password for mkb:
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package gnuplot is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package ‘gnuplot’ has no installation candidate
mkb@tegra-ubuntu:~$

It’s out there, it just isn’t in the default repository list. You’ll need to configure repository sources for more than Ubuntu’s default. Look at /etc/apt/sources.list. Many are there but just commented out. You probably want these uncommented (via edit, or there is a command to do this which I don’t remember at the moment):

deb http://ports.ubuntu.com/ubuntu-ports/ trusty universe
deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty universe
deb http://ports.ubuntu.com/ubuntu-ports/ trusty-updates universe
deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty-updates universe

Many thanks ‘linuxdev’, having added ‘trust universe’ to repo list and run ‘apt-get update’ I was able to see and install gnuplot. Although it’s really gnuplot-x11 that I’ve found useful.
Yours, High End Compute

@highendcompute
http://highendcompute.co.uk