{"id":164,"date":"2010-03-03T17:02:56","date_gmt":"2010-03-03T16:02:56","guid":{"rendered":"http:\/\/www.miscdebris.net\/blog\/?p=164"},"modified":"2010-04-12T14:36:23","modified_gmt":"2010-04-12T13:36:23","slug":"install-gnuplot-4-4-0-rc1-on-ubuntu-linux","status":"publish","type":"post","link":"http:\/\/www.miscdebris.net\/blog\/2010\/03\/03\/install-gnuplot-4-4-0-rc1-on-ubuntu-linux\/","title":{"rendered":"Install Gnuplot 4.4.0 on Ubuntu Linux"},"content":{"rendered":"<p>The most frequented blog entries here are about installing <a href=\"http:\/\/www.miscdebris.net\/blog\/2008\/01\/23\/install-gnuplot-on-ubuntu-gutsy-gibbon\/\" target=\"_blank\">Gnuplot on Ubuntu<\/a> Linux or <a href=\"http:\/\/www.miscdebris.net\/blog\/2009\/09\/16\/install-gnuplot-on-mac-os-x\/\" target=\"_blank\">Mac OS X<\/a>. These entries are still valid for the newer Ubuntu versions. But <a href=\"http:\/\/www.gnuplot.info\" target=\"_blank\">Gnuplot<\/a> newest version 4.4.0 was already released, and in this release there are cairo based pdf and png terminals provided. So you don&#8217;t need the <a href=\"http:\/\/www.pdflib.com\/\" target=\"_blank\">pdflib<\/a> anymore. Below you&#8217;ll find updated instructions to compile and install Gnuplot 4.4.0 with wxt and pdfcairo terminal. These instructions were tested on Ubuntu 8.04 (Hardy Heron) and Ubuntu 9.10 (Karmic Koala) and should also work on 8.10 (Intrepid Ibex) and 9.04 (Jaunty Jackalop).<!--more--><\/p>\n<p><strong>Prerequisites<\/strong><\/p>\n<p>We need to make sure some packages are already installed before we try to compile gnuplot<\/p>\n<ul>\n<li>libwxgtk2.8-dev &#8211; for the wxt terminal<\/li>\n<li>libpango1.0-dev &#8211; for the cairo (pdf, png) and wxt terminals<\/li>\n<li>libreadline5-dev &#8211; readline support (editing command lines)<\/li>\n<li>libx11-dev and libxt-dev &#8211; X11 terminal<\/li>\n<li>texinfo (optional) &#8211; needed for the tutorial<\/li>\n<li>libgd2-xpm-dev (optional) &#8211; old png, jpeg and gif terminals based on libgd<\/li>\n<\/ul>\n<p>This command (run in a terminal) will install all prerequisites if not already installed:<\/p>\n<p><code>sudo apt-get install libwxgtk2.8-dev libpango1.0-dev libreadline5-dev libx11-dev libxt-dev texinfo libgd2-xpm-dev<\/code><\/p>\n<p>Then we download and compile gnuplot (run each command\/line in a terminal)<\/p>\n<ul>\n<li><code>wget http:\/\/sourceforge.net\/projects\/gnuplot\/files\/gnuplot\/4.4.0\/gnuplot-4.4.0.tar.gz\/download<\/code><\/li>\n<li><code>tar xzf gnuplot-4.4.0.tar.gz<\/code><\/li>\n<li><code>mkdir build &amp;&amp; cd build<\/code><\/li>\n<li><code>..\/gnuplot-4.4.0\/configure --with-readline=gnu<\/code><\/li>\n<\/ul>\n<p>check if you find the lines in the output at the bottom:<\/p>\n<pre>X Window System terminal: yes\r\njpeg terminal: yes\r\ngif terminal: yes (with animated gif)\r\npng terminal: yes\r\n    (jpeg, gif and png terminals can use TTF fonts)\r\nwxt terminal: yes\r\ncairo-based pdf and png terminals: yes\r\nReadline library: GNU readline library with  -lncurses<\/pre>\n<ul>\n<li><code>make<\/code><\/li>\n<\/ul>\n<p>(if you have problems here with some latex errors than disable the latex tutorial during the configure stage with \u00e2\u20ac\u0153<code>--without-tutorial<\/code>\u00e2\u20ac\u009d, if you get a \u00e2\u20ac\u0153103: makeinfo: not found\u00e2\u20ac\u009d error message than install the texinfo package)<\/p>\n<ul>\n<li><code>sudo make install<\/code><\/li>\n<\/ul>\n<p>Then you have gnuplot installed with nice readline support (command line like in bash), a nice new wxWidgets terminal and a pdf terminal based on cairo.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The most frequented blog entries here are about installing Gnuplot on Ubuntu Linux or Mac OS X. These entries are still valid for the newer Ubuntu versions. But Gnuplot newest version 4.4.0 was already released, and in this release there are cairo based pdf and png terminals provided. So you don&#8217;t need the pdflib anymore. &hellip; <a href=\"http:\/\/www.miscdebris.net\/blog\/2010\/03\/03\/install-gnuplot-4-4-0-rc1-on-ubuntu-linux\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Install Gnuplot 4.4.0 on Ubuntu Linux<\/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":[30,9,4],"tags":[],"class_list":["post-164","post","type-post","status-publish","format-standard","hentry","category-development","category-linux","category-research"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6pnj-2E","_links":{"self":[{"href":"http:\/\/www.miscdebris.net\/blog\/wp-json\/wp\/v2\/posts\/164"}],"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=164"}],"version-history":[{"count":27,"href":"http:\/\/www.miscdebris.net\/blog\/wp-json\/wp\/v2\/posts\/164\/revisions"}],"predecessor-version":[{"id":177,"href":"http:\/\/www.miscdebris.net\/blog\/wp-json\/wp\/v2\/posts\/164\/revisions\/177"}],"wp:attachment":[{"href":"http:\/\/www.miscdebris.net\/blog\/wp-json\/wp\/v2\/media?parent=164"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.miscdebris.net\/blog\/wp-json\/wp\/v2\/categories?post=164"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.miscdebris.net\/blog\/wp-json\/wp\/v2\/tags?post=164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}