Installing Picviz
Fedora core 6
These instructions are valid with Picviz version 0.2.3 a newly installed Fedora core 6.
Install packages
- To have Picviz usable with the pcv command line tool, and able to generate png images
# yum install gcc # yum install gcc-c++ # yum install bison # yum install flex # yum install cmake # yum install libtool-ltdl-devel # yum install plplot-devel # yum install plplot-gnome
- To have the Python bindings working
# yum install python-devel
Compile
- Decompress:
# tar xf picviz-0.2.3.tar.gz
- Compile:
# make
- Install:
# make install # echo "/usr/local/lib" > /etc/ld.so.conf.d/picviz.conf # ldconfig
Test
- SVG output
# pcv -Tsvg samples/test1.pcv
- Gnome canvas
$ pcv -Tplplot samples/test1.pcv Plotting Options: < 1> xwin X-Window (Xlib) < 2> gcw Gnome Canvas Widget < 3> plmeta PLplot Native Meta-File < 4> ps PostScript File (monochrome) < 5> psc PostScript File (color) < 6> xfig Fig file < 7> hp7470 HP 7470 Plotter File (HPGL Cartridge, Small Plotter) < 8> hp7580 HP 7580 Plotter File (Large Plotter) < 9> lj_hpgl HP Laserjet III, HPGL emulation mode <10> pbm PDB (PPM) Driver <11> png PNG file <12> jpeg JPEG file <13> null Null device <14> mem User-supplied memory device <15> gif GIF file <16> psttf PostScript File (monochrome) <17> psttfc PostScript File (color) Enter device number or keyword: 2
Ubuntu
The instruction below valid for Picviz 0.5(including GUI) on Ubuntu 8.04 or later.
Installing dependencies via Ubuntu packages
# sudo apt-get install cmake # sudo apt-get install python-all-dev # sudo apt-get install python-qt4 # sudo apt-get install libevent-dev # sudo apt-get install libpcre3-dev # sudo apt-get install libcairo2-dev
- Note: If you are using Ubuntu 8.04, you need to use cmake 2.6 backport which is available here
Compile & Install
# tar xvzf picviz-0.5.tar.gz # cd picviz-0.5 # make # sudo make install
- Note: You can change install directory prefix, do this before make
# cmake -DCMAKE_INSTALL_PREFIX=/usr/local/stow/picviz-0.5.0
Build Python Binding
- In picviz source directory
# cd src/libpicviz/bindings/python/ # sudo python ./setup.py install
Build Gui Frontend
- In picviz source directory
# cd src/frontend # sudo python ./setup.py install
- To launch the python gui
# picviz-gui
FreeBSD
Since version 0.4, picviz is ported to FreeBSD. To install picviz, simply run
# cd /usr/ports/graphics/picviz # make install clean
- Or using package method
# pkg_add -vr picviz
- You can also find the prebuilt package here for different version/platform of FreeBSD.
Attachments
-
picviz-plplot-gnome.png
(7.5 KB) - added by toady
2 years ago.

