Ubuntu and libplot

Drew Parsons dparsons at debian.org
Wed Sep 19 21:35:58 PDT 2007


On Wed, 2007-09-19 at 21:09 -0700, Ron Cosner wrote:
> Hello,
>  
> I am in a programming class that uses libplot to compile a source file
> that does something to a xwindow plotter and draws some kind of
> picture. I do not know very much about this and just got a Makefile to
> work at the schools computer; they use Fedora.
>  
> At home I am using a Linux version Ubuntu 7.04 and I can not find a
> libplot, libxaw, and other like files of a vector graphic library with
> Ubuntu. Can someone tell me how to set up this operating system so
> that I can learn to program these plotter functions?
>  


Answering from the perspective of Debian, on which Ubuntu is based,
basically what you need to do is install the relevant -dev packages. You
might use apt-cache to identify them, e.g. "apt-cache search libplot",
"apt-cache search libxaw". That will tell you the packages you want are
libplot-dev, libxaw7-dev. Then you can install them using 
"aptitude install libplot-dev libxaw7-dev", which should automatically
pull in other dependencies.  In fact libplot itself depends in libxaw7,
so you only might only need "aptitude install libplot-dev".  

Drew



More information about the xorg mailing list