FPrefect
Posts: 1
Joined: Sat Jun 27, 2015 12:36 am

Whence PGPLOT?

Wed Jul 15, 2015 3:22 am

Hi,

I'm seeking guidance regarding installation of pgplot and libpgplot-perl for raspbian 7.8 / wheezy. These packages are available for debian generally, and seem to be in the raspian repositories. However...

apt-get install pgplot5
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package pgplot5 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 'pgplot5' has no installation candidate


Is there an issue with the repositories, something on my RPi, something else?

Thanks. Any guidance besides sneers and rude gestures would be welcome.

User avatar
topguy
Posts: 6527
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: Whence PGPLOT?

Sun Sep 20, 2015 2:47 pm

https://packages.debian.org/search?keywords=pgplot

I can see that it is in the "non-free" part of the debian repository. So I thought that maybe "non-free" is not enabled by default in Raspbian. But I checked "/etc/apt/sources.list" and that was not the problem on my Pi.

Going to the repository itself here: http://mirrordirector.raspbian.org/rasp ... p/pgplot5/
we can see that the .deb file is definitly not there.

So.. its not you, its them.

You could compile it yourself, I just tried it and I may understand why it isn't supported.

Code: Select all

First uncomment the line in "/etc/apt/sources.list" to enable sources.
then:
sudo apt-get install gfortran
apt-get source pgplot5
cd pgplot5-5.2.2
./makemake . linux g77_gcc
make

Return to “Graphics programming”