{"id":31,"date":"2008-01-23T16:50:20","date_gmt":"2008-01-23T15:50:20","guid":{"rendered":"http:\/\/www.miscdebris.net\/blog\/2008\/01\/23\/install-gnuplot-on-ubuntu-gutsy-gibbon\/"},"modified":"2010-03-03T17:09:51","modified_gmt":"2010-03-03T16:09:51","slug":"install-gnuplot-on-ubuntu-gutsy-gibbon","status":"publish","type":"post","link":"http:\/\/www.miscdebris.net\/blog\/2008\/01\/23\/install-gnuplot-on-ubuntu-gutsy-gibbon\/","title":{"rendered":"Install gnuplot on Ubuntu Gutsy Gibbon"},"content":{"rendered":"<p><strong>I again have updated these instructions for Gnuplot 4.4.0 RC1 and newer Ubuntu versions. Find them in<a href=\"http:\/\/www.miscdebris.net\/blog\/2010\/03\/03\/install-gnuplot-4-4-0-rc1-on-ubuntu-linux\/\" target=\"_self\"> this post<\/a>.<\/strong><\/p>\n<p>Some months ago I wrote a small <a href=\"http:\/\/www.miscdebris.net\/blog\/2007\/04\/27\/install-gnuplot-on-ubuntu\/\">Howto<\/a> about installing <a href=\"http:\/\/www.gnuplot.info\/\" target=\"_blank\">Gnuplot<\/a> on Ubuntu Feisty Fawn with readline, pdf and wxWidgets terminal support. It turned out, that this howto was of interest for many people, since this blog post was the most visited until Gutsy Gibbon came out &#8211; and the readline problem was obviously solved, since it works now if you install the standard Gnuplot package. Still the pdf and wxWidgets terminal are not compiled in by default, therefore I wrote a new (shorter) howto about including this terminals.<\/p>\n<p>So here are the instructions:<!--more--><\/p>\n<p>Instead of compiling wxWidgets on our own, we just get the libwxgtk2.8-dev package. The version number is only at 2.8.4 (and wxWidgets already reached 2.8.7) but there shouldn&#8217;t be much problems.<\/p>\n<p>Than we are going to install the PDFlib lite<\/p>\n<ul>\n<li>Download <a href=\"http:\/\/www.pdflib.com\/en\/download\/free-software\/pdflib-lite\/\" target=\"_blank\">PDFlib Lite<\/a><\/li>\n<li>tar xzf PDFlib-Lite-7.0.2.tar.gz<\/li>\n<li>cd PDFlib-Lite-7.0.2<\/li>\n<li>.\/configure<\/li>\n<li>make<\/li>\n<li>sudo paco -lD make install (or just sudo make install if you don&#8217;t use paco)<\/li>\n<li>sudo ldconfig<\/li>\n<\/ul>\n<p>Then we compile gnuplot<\/p>\n<ul>\n<li>Download <a href=\"http:\/\/sourceforge.net\/project\/showfiles.php?group_id=2055\" target=\"_blank\">gnuplot 4.2.2<\/a><\/li>\n<li>tar xzf gnuplot-4.2.2.tar.gz<\/li>\n<li>cd gnuplot-4.2.2<\/li>\n<li>.\/configure &#8211;with-readline=gnu (check if we have the lines &#8220;pdf terminal: yes&#8221; and &#8220;wxt terminal: yes (EXPERIMENTAL)&#8221;, if you miss the jpeg, png and gif terminal install the libgd2-xpm-dev package; also check if you find &#8220;Readline library: GNU readline library with  -lncurses&#8221;, if it says only minimal readline support than install the libreadline5-dev package; you need also the libx11-dev and libxt-dev package for the X11 terminal &#8211; libxt-dev package is normally not installed by default (at the <a href=\"http:\/\/ftp.debian.org\/debian\/pool\/main\/g\/gnuplot\/gnuplot_4.2.0-2.dsc\" target=\"_blank\">debian page about gnuplot<\/a> one can find the packages necessary to build gnuplot))<\/li>\n<li>make (if you have problems here with some latex errors than disable the latex tutorial during the configure stage with &#8220;&#8211;without-tutorial&#8221;, if you get a &#8220;103: makeinfo: not found&#8221; error message than install the texinfo package)<\/li>\n<li>sudo paco -lD make install  (or just sudo make install if you don&#8217;t use paco)<\/li>\n<\/ul>\n<p>Than you have gnuplot installed with nice readline support (command line like in bash), a nice new wxWidgets terminal and a pdf terminal also on Gutsy Gibbon.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I again have updated these instructions for Gnuplot 4.4.0 RC1 and newer Ubuntu versions. Find them in this post. Some months ago I wrote a small Howto about installing Gnuplot on Ubuntu Feisty Fawn with readline, pdf and wxWidgets terminal support. It turned out, that this howto was of interest for many people, since this &hellip; <a href=\"http:\/\/www.miscdebris.net\/blog\/2008\/01\/23\/install-gnuplot-on-ubuntu-gutsy-gibbon\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Install gnuplot on Ubuntu Gutsy Gibbon<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[9],"tags":[],"class_list":["post-31","post","type-post","status-publish","format-standard","hentry","category-linux"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6pnj-v","_links":{"self":[{"href":"http:\/\/www.miscdebris.net\/blog\/wp-json\/wp\/v2\/posts\/31"}],"collection":[{"href":"http:\/\/www.miscdebris.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.miscdebris.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.miscdebris.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.miscdebris.net\/blog\/wp-json\/wp\/v2\/comments?post=31"}],"version-history":[{"count":2,"href":"http:\/\/www.miscdebris.net\/blog\/wp-json\/wp\/v2\/posts\/31\/revisions"}],"predecessor-version":[{"id":98,"href":"http:\/\/www.miscdebris.net\/blog\/wp-json\/wp\/v2\/posts\/31\/revisions\/98"}],"wp:attachment":[{"href":"http:\/\/www.miscdebris.net\/blog\/wp-json\/wp\/v2\/media?parent=31"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.miscdebris.net\/blog\/wp-json\/wp\/v2\/categories?post=31"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.miscdebris.net\/blog\/wp-json\/wp\/v2\/tags?post=31"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}