some time out is gnuplot version 4.4 . Users of Debian Sid / Squeeze can usually install it with the package manager, Ubuntu Lucid Lynx users can download the deb packages from the archives of Debian: http://packages.debian.org/sid/gnuplot . This version also introduces native support gnuplot terminal Lua / TikZ, useful for inserting graphics in LaTeX documents (remember, however, there is also the terminal epslatex to do this). The package in Debian Sid, however, does not currently support this terminal and then the program is compiled from source is one of the possible ways to use it. course to build the program the first thing to do is get the source code. This can be found here
. As a second step you need to install the build dependencies. A list of libraries to install can be found here (in other distributions of the names may differ slightly):
http://packages.debian.org/source/sid/gnuplot . In systems that use APT
(such as Debian and Ubuntu) and that the source of gnuplot is present in the repositories you can install all these dependencies with the command sudo apt-get build-dep gnuplot order to use terminal Lua / TikZ is But also need to install the Lua interpreter and libraries needed for compilation. In Debian and Ubuntu just install the package liblua5.1-0-dev
. Before continuing, create a symbolic link:
sudo ln-s / usr/lib/pkgconfig/lua5.1.pc / usr / lib / pkgconfig / lua.pc
Without this operation would not be detected the presence of Lua at compile gnuplot.
At this point we must unpack the tarball you just downloaded and move with
terminal in the folder where there is now the source. To compile the program, with support from the terminal Lua / TikZ must do a
. / Configure - with-lua terminal in the folder where there is now the source. To compile the program, with support from the terminal Lua / TikZ must do a
make sudo make install After running the configure script
controlled Lua script that is present among those that will be built. Instead of the command sudo make install
you can use sudo checkinstall
after you install the package checkinstall , which will create a deb package for easy removal and installation of the program.