{"id":4700,"date":"2020-10-26T20:43:01","date_gmt":"2020-10-26T19:43:01","guid":{"rendered":"https:\/\/blog.hani-ibrahim.de\/?p=4700"},"modified":"2021-02-07T22:48:01","modified_gmt":"2021-02-07T21:48:01","slug":"install-dislin-11-3-on-ubuntu-20-04-focal-fossa","status":"publish","type":"post","link":"https:\/\/blog.hani-ibrahim.de\/en\/install-dislin-11-3-on-ubuntu-20-04-focal-fossa.html","title":{"rendered":"Install DISLIN 11.3 on Ubuntu 20.04 Focal Fossa"},"content":{"rendered":"<nav class=\"tinytoc tiny_toc\">\n<ul>\n<li><a href=\"#h0\">Installation<\/a>\n<ul style=\"list-style-type:circle;\">\n<li><a href=\"#h1\">Install Motif libraries<\/a><\/li>\n<li><a href=\"#h2\">Install compiler<\/a><\/li>\n<li><a href=\"#h3\">Download and install DISLIN<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#h4\">Build programs against the shared DISLIN library<\/a>\n<ul style=\"list-style-type:circle;\">\n<li><a href=\"#h5\">The DISLIN way via gf95link script<\/a><\/li>\n<li><a href=\"#h6\">The classic way<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#h7\">Drawbacks of shared linking<\/a><\/li>\n<li><a href=\"#h8\">Build programs against the static DISLIN library<\/a>\n<ul style=\"list-style-type:circle;\">\n<li><a href=\"#h9\">Distribution-independent DISLIN applications?<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#h10\">Troubleshooting<\/a>\n<ul style=\"list-style-type:circle;\">\n<li><a href=\"#h11\">\u201cNo application installed for shared library\u201d<\/a><\/li>\n<li><a href=\"#h12\">\u201cError while loading shared libraries\u201d<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#h13\">Acknowledgment<\/a><\/li>\n<li><a href=\"#h14\">Related Links<\/a><\/li>\n<\/ul>\n<\/nav>\n\n\r\n<body><p><a href=\"http:\/\/www.dislin.de\/\" target=\"_blank\" rel=\"noopener noreferrer\">DISLIN<\/a> is a very nice and well-documented 2-D and 3-D plotting framework for Fortran and some other programming languages. Furthermore DISLIN provides some widgets to create simple graphic user interfaces (GUIs).<\/p>\n<p>This how-to describes how to install DISLIN 11.3 on Ubuntu 20.04 (Focal Fossa) and how to compile and link a sample Fortran 90 program with GUI against the shared and static DISLIN libraries.<\/p>\n<p>This how-to should work on Ubuntu-related distributions as Linux Mint, etc.<\/p>\n<p><!--more--><\/p>\n<p>In this how-to Gfortran is used as the standard Fortran 90 compiler of GNU\/Linux. A new thing in Ubuntu 20.04 is the absent 32-bit version. So I just cover a 64-bit installation.<\/p>\n<h2 id=\"h0\">Installation<\/h2>\n<h3 id=\"h1\">Install Motif libraries<\/h3>\n<p>DISLIN needs the Motif libraries for the GUI widgets and tools. But Motif is not installed on Ubuntu by default.<\/p>\n<p>Focal Fossa has the Version 4 libraries of Openmotif in its universe repository which work with DISLIN 11.3. Ensure that you have Internet access and install Motif packages:<\/p>\n<pre>sudo apt install libmotif-common libmotif-dev<\/pre>\n<blockquote><p>In general multiverse\/universe repositories should be activated in Focal but if you get an error therfore here, activate it as described as followed. Write in one line in the terminal:<\/p>\n<pre>sudo add-apt-repository 'deb http:\/\/archive.ubuntu.com\/ubuntu `lsb_release -sc` universe multiverse'<\/pre>\n<p>Take care of the back tics (`): You find the `-key to the left of the key \u201c1\u201d on the standard English keyboard. The <span class=\"codestyle tt_tag\">`lsb_release -sc`<\/span> makes this command independent of the Ubuntu version.<\/p>\n<p>And then:<\/p>\n<pre>sudo apt update<\/pre>\n<p>After repeat Motif installation.<\/p><\/blockquote>\n<h3 id=\"h2\">Install compiler<\/h3>\n<p>This how-to uses Fortan. The GNU Fortran compiler <em>Gfortran<\/em> is in the repositories of Ubuntu. Install it right away:<\/p>\n<pre>sudo apt install gfortran<\/pre>\n<p>It is not required for compiling DISLIN-applications but recommended to install the meta-package \u201cbuild-essential\u201d as well. It contains commands like make, configure, etc.<\/p>\n<p>If you want to use another supported language you can install it instead of Gfortran. For the differences refer <a href=\"https:\/\/www.mps.mpg.de\/1756550\/linux_test\">Test Installations for DISLIN and Linux<\/a> for details.<\/p>\n<h3 id=\"h3\">Download and install DISLIN<\/h3>\n<ol>\n<li>Download the appropriate deb file <del><\/del>to your e.g. downloads directory (~\/Downloads). For Ubuntu (64-bit) download from <a href=\"ftp:\/\/ftp.gwdg.de\/pub\/grafik\/dislin\/linux\/i586_64\/\" target=\"_blank\" rel=\"noopener noreferrer\">ftp:\/\/ftp.gwdg.de\/pub\/grafik\/dislin\/linux\/i586_64\/<\/a> the \u201c<span class=\"tt_tag\">dislin-11.3.linux.i586_64.deb<\/span>\u201d file.<\/li>\n<li>Installation:\n<pre>sudo dpkg -i ~\/Downloads\/dislin-11.3.linux.i586_64.deb<\/pre>\n<\/li>\n<li>DISLIN is now installed in \u201c<span class=\"tt_tag\">\/usr\/local\/<\/span>\u201d in the directory \u201c<span class=\"tt_tag\">dislin\/<\/span>\u201c. Dependent on your Fortran compiler version you may need to recompile the MODULE files \u201c<span class=\"tt_tag\">dislin.f90<\/span>\u201d in \u201c<span class=\"tt_tag\">\/usr\/local\/dislin\/<\/span>\u201d (for Gfortran:<span class=\"tt_tag\"> \/usr\/local\/dislin\/gf\/<\/span>). For Gfortran:\n<pre>cd \/usr\/local\/dislin\/gf\/\r\nsudo gfortran -c dislin.f90\r\ncd real64\r\nsudo gfortran -c dislin.f90<\/pre>\n<\/li>\n<\/ol>\n<h2 id=\"h4\"><a id=\"shared\"><\/a>Build programs against the shared DISLIN library<\/h2>\n<h3 id=\"h5\">The DISLIN way via gf95link script<\/h3>\n<p>To get started have a look at \u201c<span class=\"tt_tag\">\/usr\/local\/dislin\/README<\/span>\u201c. To compile the sample program map_f90, copy the source file to your home directory, move to home and compile\/link it with \u201c<span class=\"tt_tag\">gf95link<\/span>\u201c:<\/p>\n<pre>cp \/usr\/local\/dislin\/examples\/map_f90.f90 ~\r\ncd ~\r\ngf95link -a map_f90<\/pre>\n<p>You can compile all single precision programs the same way.<\/p>\n<p>Run map_f90 by typing<\/p>\n<pre>.\/map_f90<\/pre>\n<p>in the terminal.<\/p>\n<p>Link your program with the double precision DISLIN library, if your program uses double precision reals (map_f90 does not), by adding the -r8 option:<\/p>\n<pre>gf95link -a -r8 doubleprec-app<\/pre>\n<blockquote><p><strong>Note: <\/strong>Take care that you do not append the filename suffix \u2013 e.g. \u201c.f90\u201d \u2013 to the filename when you use gf95link or the other compile scripts provided by DISLIN.<\/p><\/blockquote>\n<p>If you installed another compiler use the appropriate script, e.g. <span class=\"tt_tag\">clink<\/span> instead of <span class=\"tt_tag\">gf95link<\/span> for C.<\/p>\n<blockquote><p><strong>Note:<\/strong> Unfortunately you cannot run your app from the file manager when you built it with <span class=\"tt_tag\">gf95link<\/span> (but from the terminal). Use the \u201cThe classic way\u201d below to add this capability.<\/p><\/blockquote>\n<h3 id=\"h6\">The classic way<\/h3>\n<p>If you want to compile\/link your program the classic way or to integrate DISLIN to your IDE and if you want to run it from your file manager, you call DISLIN via \u201c<span class=\"tt_tag\">-ldislin<\/span>\u201c, the necessary \u201c<span class=\"tt_tag\">dislin.mod<\/span>\u201d file is located in <span class=\"tt_tag\">\u201c\/usr\/local\/dislin\/gf\/<\/span>\u201d for single precision. For double precision use \u201c<span class=\"tt_tag\">-ldislin_d<\/span>\u201d and find the mod-file in \u201c<span class=\"tt_tag\">\/usr\/local\/<\/span><span class='tt_tag\" tt_tag'>gf\/real64\/<\/span>\u201c:<\/p>\n<pre>gfortran map_f90.f90 -no-pie -I\/usr\/local\/dislin\/gf -ldislin -o map_f90<\/pre>\n<p>or for double precision:<\/p>\n<pre>gfortran doubleprec-app.f90 -no-pie -I\/usr\/local\/dislin\/gf\/real64 -ldislin_d -o doubleprec-app<\/pre>\n<p>Change \u201cdoubleprec-app.f90\u201d to the real file\/app name. The compiler and linker options are explained in the next <a href=\"#static\">chapter<\/a>.<\/p>\n<p>Run map_f90 by typing<\/p>\n<pre>.\/map_f90<\/pre>\n<p>in the terminal or double-click the file in your file manager:<\/p>\n<div id=\"attachment_4701\" style=\"width: 642px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/blog.hani-ibrahim.de\/wp-content\/uploads\/dislin-map-plot-ubuntu2004.png\" data-rel=\"lightbox-gallery-ETWkKVdw\" data-rl_title=\"\" data-rl_caption=\"\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-4701\" class=\"wp-image-4701 size-medium\" title=\"\" src=\"https:\/\/blog.hani-ibrahim.de\/wp-content\/uploads\/dislin-map-plot-ubuntu2004-632x384.png\" alt=\"Dislin Map-Plot\" width=\"632\" height=\"384\" srcset=\"https:\/\/blog.hani-ibrahim.de\/wp-content\/uploads\/dislin-map-plot-ubuntu2004-632x384.png 632w, https:\/\/blog.hani-ibrahim.de\/wp-content\/uploads\/dislin-map-plot-ubuntu2004-1020x621.png 1020w, https:\/\/blog.hani-ibrahim.de\/wp-content\/uploads\/dislin-map-plot-ubuntu2004.png 1338w\" sizes=\"auto, (max-width: 632px) 100vw, 632px\"><\/a><p id=\"caption-attachment-4701\" class=\"wp-caption-text\">DISLIN\u2019s Map-Plot example app (map_f90) in Ubuntu 20.04<\/p><\/div>\n<p>In both cases your app is dependent on a gfortran and DISLIN installation on target machines.<\/p>\n<h2 id=\"h7\">Drawbacks of shared linking<\/h2>\n<p>\u201cgf95link\u201d and linking via \u201c<span class=\"tt_tag\">-ldislin(_d)<\/span>\u201d links the <em>shared<\/em> DISLIN library to your program. That reduces the footprint of your application on your hard disk. However if you intend to run this program on other machines, you have to install DISLIN on these machines, too. It is also depended on a gfortran installation on these machines.<\/p>\n<p>To avoid both issues go to the next chapter and build your program statically instead.<\/p>\n<h2 id=\"h8\"><a id=\"static\"><\/a>Build programs against the static DISLIN library<\/h2>\n<p>To build your DISLIN app against the static DISLIN library you have to install missing X11-libraries:<\/p>\n<pre>sudo apt install libx11-dev libxt-dev libgl1-mesa-dev<\/pre>\n<p>For compiling and static linking type for map_f90 (and for other single precision apps):<\/p>\n<pre>gfortran map_f90.f90 -static-libgfortran -no-pie -I\/usr\/local\/dislin\/gf \/usr\/local\/dislin\/libdislin.a -lXm -lXt -lX11 -lGL -o map_f90<\/pre>\n<p>If you use double precision real variables, type:<\/p>\n<pre>gfortran doubleprec-app.f90 -static-libgfortran -no-pie -I\/usr\/local\/dislin\/gf\/real64 \/usr\/local\/dislin\/libdislin_d.a -lXm -lXt -lX11 -lGL -o doubleprec-app<\/pre>\n<p>instead.The options are described below:<\/p>\n<table style=\"border-collapse: collapse; width: 100%; height: 363px;\">\n<tbody>\n<tr style=\"height: 72px;\">\n<td style=\"width: 37.1429%; vertical-align: top; height: 72px;\"><em>-static-libgfortran<\/em><\/td>\n<td style=\"width: 62.8571%; vertical-align: top; height: 72px;\">Links the static gfortran library to the app rather than the shared one (default) and makes it independent of a gfortran installation on the target machines.<\/td>\n<\/tr>\n<tr style=\"height: 97px;\">\n<td style=\"width: 37.1429%; vertical-align: top; height: 97px;\">-no-pie<em><br>\n<\/em><\/td>\n<td style=\"width: 62.8571%; vertical-align: top; height: 97px;\">Solves the problem that the file manager misinterprets the executable as a shared library (<a href=\"#nopie\">see below<\/a>). Otherwise it prevents it from running from your file manager.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 37.1429%; vertical-align: top; height: 24px;\"><em>-I<\/em><\/td>\n<td style=\"width: 62.8571%; vertical-align: top; height: 24px;\">Path to the module files<\/td>\n<\/tr>\n<tr style=\"height: 73px;\">\n<td style=\"width: 37.1429%; vertical-align: top; height: 73px;\"><em>\/usr\/local\/dislin\/libdislin(_d).a<\/em><\/td>\n<td style=\"width: 62.8571%; vertical-align: top; height: 73px;\">Links the static DISLIN library instead of the shared one, when using <span class=\"tt_tag\">-ldislin(_d)<\/span>. Target machines do not need DISLIN installed.<\/td>\n<\/tr>\n<tr style=\"height: 48px;\">\n<td style=\"width: 37.1429%; vertical-align: top; height: 48px;\"><em>-lXm -lXt -lX11 -lGL<\/em><\/td>\n<td style=\"width: 62.8571%; vertical-align: top; height: 48px;\">Links the shared Modif libraries (static ones are not provided). Still Motif 4 dependency left.<\/td>\n<\/tr>\n<tr style=\"height: 49px;\">\n<td style=\"width: 37.1429%; vertical-align: top; height: 49px;\"><em>-o<\/em><\/td>\n<td style=\"width: 62.8571%; vertical-align: top; height: 49px;\">Specify the file name of the app (here map_f90). Without this option your binary is named <span class=\"tt_tag\">a.out<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Now you can start your GUI-program from your file manager or terminal. Furthermore you can copy it to any other machines without DISLIN and Gfortran installed. But you still need the <a href=\"#motif\">Motif4 libraries<\/a> and some other libraries. Install packages <em>libxm4<\/em> and <em>libquadmath0<\/em> on these machines.<\/p>\n<p>The <span class=\"tt_tag\">-static<\/span> option would normally solve that but some Motif libraries are not provided in a static form, so this option fails in this case.<\/p>\n<p>But they are still some issues left which we take care of in the next chapter.<\/p>\n<h3 id=\"h9\">Distribution-independent DISLIN applications?<\/h3>\n<p>For a long time it was complicated to provide distribution-independent applications in GNU\/Linux. In Ubuntu it was no different, of course.<\/p>\n<p>There were several problems:<\/p>\n<ul>\n<li>The Motif libraries depend on a lot of XServer libraries (libXm, libXt, etc.) which are not all provided in a static form (.a-libs) or depend themselves on other libraries. That means it is not possible to link statically against Motif out-of-the-box.<\/li>\n<li>Furthermore if you use the map capability of DISLIN in your app the maps will not be displayed on target machines even when you built it statically. They are not stored in the library file.<\/li>\n<li>Additionally there is a dependency to the <em>libquadmath0<\/em>-package.<\/li>\n<li>When run your app on older distros you may get glibc-version problems.<br>\nYou may work around a bit following the suggestion of E.T. at Stack Overflow: \u201c<a href=\"https:\/\/stackoverflow.com\/a\/62998901\" target=\"_blank\" rel=\"noopener noreferrer\">Just build on the system with the oldest GLIBC you still want to support<\/a>.\u201d<br>\nAs far as I know Ubuntu provides Motif 4 in the universe repository since Natty Narwhal (11.04).<del><\/del> You may run this Ubuntu version in a virtualization environment just for compiling\/linking. That means your app will work from Ubuntu 11.04 onwards.<\/li>\n<\/ul>\n<p>For an Only-Ubuntu-package you just have the package dependencies of <em>libxm4<\/em> and <em>libquadmath0<\/em>, as long as you do not make use of the map capabilities of DISLIN.<\/p>\n<p>But in newer Ubuntu versions you may use <a href=\"https:\/\/en.wikipedia.org\/wiki\/Snap_(package_manager)\" target=\"_blank\" rel=\"noopener noreferrer\">Snap<\/a> or <a href=\"https:\/\/en.wikipedia.org\/wiki\/Flatpak\" target=\"_blank\" rel=\"noopener noreferrer\">Flatpak<\/a> or <a href=\"https:\/\/en.wikipedia.org\/wiki\/AppImage\" target=\"_blank\" rel=\"noopener noreferrer\">AppImages<\/a> to package distribution-independent packages. This may solve all the problem regarding distribution dependencies but I have not tried it yet.<\/p>\n<h2 id=\"h10\">Troubleshooting<\/h2>\n<h3 id=\"h11\"><a id=\"nopie\"><\/a>\u201cNo application installed for shared library\u201d<\/h3>\n<p>Newer gfortran versions uses -fPIC as default. This causes the file manager to interpret the binary as a shared library instead of an executable and you are not able to run your app from the file manager (but from the terminal). You get the error:<\/p>\n<p><em>\u201cCould Not Display xxx. There is no application installed for \u201cshared library\u201d files. Do you want to search for an application to open this file?\u201d<\/em><\/p>\n<p><a href=\"https:\/\/blog.hani-ibrahim.de\/wp-content\/uploads\/dislin-ubuntu-error.png\" data-rel=\"lightbox-gallery-ETWkKVdw\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4717\" src=\"https:\/\/blog.hani-ibrahim.de\/wp-content\/uploads\/dislin-ubuntu-error.png\" alt=\"Sharable library error\" width=\"656\" height=\"182\" srcset=\"https:\/\/blog.hani-ibrahim.de\/wp-content\/uploads\/dislin-ubuntu-error.png 656w, https:\/\/blog.hani-ibrahim.de\/wp-content\/uploads\/dislin-ubuntu-error-632x175.png 632w\" sizes=\"auto, (max-width: 656px) 100vw, 656px\"><\/a><\/p>\n<p>To avid this use the link option <span class=\"tt_tag\">-no-pie<\/span> as described above.<\/p>\n<h3 id=\"h12\">\u201cError while loading shared libraries\u201d<\/h3>\n<p>If you get an error while linking against the shared library, like:<\/p>\n<p>\u201c<em>error while loading shared libraries: libdislin.so.11: cannot open shared object file: No such file or directory<\/em>\u201d<\/p>\n<p>you have to specify the environment variable \u201cLD_LIBRARY_PATH\u201d to make DISLIN find its shared libraries. On current supportet Ubuntus you should not see this error.<\/p>\n<p>However, for a system-wide setup start a text editor (here \u201cnano\u201d) with root privileges and open the file <span class=\"codestyle\">bash.bashrc<\/span>. Open a terminal and type:<\/p>\n<pre>sudo nano \/etc\/bash.bashrc<\/pre>\n<p>and append the following lines:<\/p>\n<pre>LD_LIBRARY_PATH=\/usr\/local\/dislin\r\nexport LD_LIBRARY_PATH<\/pre>\n<p>Save <span class=\"tt_tag\">bash.bashrc<\/span>. You just need to restart your terminal (window).<\/p>\n<blockquote><p>For a single user setup just do this in <span class=\"tt_tag\">~\/.bashrc<\/span> in your home directory instead of <span class=\"codestyle tt_tag\">\/etc\/bash.bashrc<\/span>.<\/p><\/blockquote>\n<h2 id=\"h13\">Acknowledgment<\/h2>\n<p>Thanks to Helmut Michels, the author of DISLIN, for his assistance. He helped me out in this version, too. Great support. If you have any question regarding DISLIN go to <a href=\"https:\/\/groups.google.com\/forum\/?fromgroups#!forum\/dislin-users\" target=\"_blank\" rel=\"noopener noreferrer\">dislin-users<\/a> in Google Groups. He is around there.<\/p>\n<h2 id=\"h14\">Related Links<\/h2>\n<ul>\n<li><a href=\"http:\/\/www.dislin.de\/\" target=\"_blank\" rel=\"noopener noreferrer\">DISLIN Homepage<\/a><\/li>\n<li><a href=\"http:\/\/www.mps.mpg.de\/1756550\/linux_test\">Test Installations for DISLIN and Linux<\/a> \u2013 DISLIN Homepage<\/li>\n<li>Google Group <a href=\"https:\/\/groups.google.com\/forum\/?fromgroups#!forum\/dislin-users\" target=\"_blank\" rel=\"noopener noreferrer\">dislin-users<\/a><\/li>\n<li><a href=\"http:\/\/www.star.le.ac.uk\/~cgp\/dislinGUI.html\" target=\"_blank\" rel=\"noopener noreferrer\">Using DISLIN to make a GUI<\/a> \u2013 Dr. Clive Page (University of Leicester)<\/li>\n<li>German <a href=\"http:\/\/de.wikibooks.org\/wiki\/Fortran:_DISLIN\" target=\"_blank\" rel=\"noopener noreferrer\">Wikibooks<\/a> for DISLIN<\/li>\n<li><a href=\"https:\/\/blog.hani-ibrahim.de\/install-dislin-10-6-on-ubuntu-16-04.html\">Install DISLIN 10.6 on Ubuntu 16.04 Xenial Xerus<\/a>\u00a0\u2013 Hanis\u2019s Omnium Gatherum<\/li>\n<li><a href=\"https:\/\/blog.hani-ibrahim.de\/install-dislin-on-ubuntu.html\">I<\/a><a href=\"https:\/\/blog.hani-ibrahim.de\/install-dislin-on-ubuntu.html\">nstall DISLIN 10.4 on Ubuntu 14.04 Trusty Tahr<\/a>\u00a0\u2013 Hanis\u2019s Omnium Gatherum<\/li>\n<\/ul>\n<p><\/p><\/body>","protected":false},"excerpt":{"rendered":"<div class=\"shariff shariff-align-flex-start shariff-widget-align-flex-start\" data-services=\"facebook\" data-url=\"https%3A%2F%2Fblog.hani-ibrahim.de%2Fen%2Finstall-dislin-11-3-on-ubuntu-20-04-focal-fossa.html\" data-timestamp=\"1612738081\" data-backendurl=\"https:\/\/blog.hani-ibrahim.de\/en\/wp-json\/shariff\/v1\/share_counts?\"><ul class=\"shariff-buttons theme-round orientation-horizontal buttonsize-small\"><li class=\"shariff-button facebook shariff-nocustomcolor\" style=\"background-color:#4273c8;border-radius:50%\"><a href=\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Fblog.hani-ibrahim.de%2Fen%2Finstall-dislin-11-3-on-ubuntu-20-04-focal-fossa.html\" title=\"Share on Facebook\" aria-label=\"Share on Facebook\" role=\"button\" rel=\"nofollow\" class=\"shariff-link\" style=\";border-radius:50%; background-color:#3b5998; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 18 32\"><path fill=\"#3b5998\" d=\"M17.1 0.2v4.7h-2.8q-1.5 0-2.1 0.6t-0.5 1.9v3.4h5.2l-0.7 5.3h-4.5v13.6h-5.5v-13.6h-4.5v-5.3h4.5v-3.9q0-3.3 1.9-5.2t5-1.8q2.6 0 4.1 0.2z\"\/><\/svg><\/span><span data-service=\"facebook\" style=\"color:#3b5998\" class=\"shariff-count shariff-hidezero\"><\/span>&nbsp;<\/a><\/li><li class=\"shariff-button twitter shariff-nocustomcolor\" style=\"background-color:#595959;border-radius:50%\"><a href=\"https:\/\/twitter.com\/share?url=https%3A%2F%2Fblog.hani-ibrahim.de%2Fen%2Finstall-dislin-11-3-on-ubuntu-20-04-focal-fossa.html&text=Install%20DISLIN%2011.3%20on%20Ubuntu%2020.04%20Focal%20Fossa\" title=\"Share on X\" aria-label=\"Share on X\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\";border-radius:50%; background-color:#000; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path fill=\"#000\" d=\"M14.258 10.152L23.176 0h-2.113l-7.747 8.813L7.133 0H0l9.352 13.328L0 23.973h2.113l8.176-9.309 6.531 9.309h7.133zm-2.895 3.293l-.949-1.328L2.875 1.56h3.246l6.086 8.523.945 1.328 7.91 11.078h-3.246zm0 0\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button pocket shariff-nocustomcolor\" style=\"background-color:#444;border-radius:50%\"><a href=\"https:\/\/getpocket.com\/save?url=https%3A%2F%2Fblog.hani-ibrahim.de%2Fen%2Finstall-dislin-11-3-on-ubuntu-20-04-focal-fossa.html&title=Install%20DISLIN%2011.3%20on%20Ubuntu%2020.04%20Focal%20Fossa\" title=\"Save to Pocket\" aria-label=\"Save to Pocket\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\";border-radius:50%; background-color:#ff0000; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 27 28\"><path fill=\"#ff0000\" d=\"M24.5 2q1 0 1.7 0.7t0.7 1.7v8.1q0 2.8-1.1 5.3t-2.9 4.3-4.3 2.9-5.2 1.1q-2.7 0-5.2-1.1t-4.3-2.9-2.9-4.3-1.1-5.2v-8.1q0-1 0.7-1.7t1.7-0.7h22zM13.5 18.6q0.7 0 1.3-0.5l6.3-6.1q0.6-0.5 0.6-1.3 0-0.8-0.5-1.3t-1.3-0.5q-0.7 0-1.3 0.5l-5 4.8-5-4.8q-0.5-0.5-1.3-0.5-0.8 0-1.3 0.5t-0.5 1.3q0 0.8 0.6 1.3l6.3 6.1q0.5 0.5 1.3 0.5z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button rss shariff-nocustomcolor\" style=\"background-color:#ff8c00;border-radius:50%\"><a href=\"https:\/\/blog.hani-ibrahim.de\/en\/feed\/rss\" title=\"RSS feed\" aria-label=\"RSS feed\" role=\"button\" class=\"shariff-link\" style=\";border-radius:50%; background-color:#fe9312; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 32 32\"><path fill=\"#fe9312\" d=\"M4.3 23.5c-2.3 0-4.3 1.9-4.3 4.3 0 2.3 1.9 4.2 4.3 4.2 2.4 0 4.3-1.9 4.3-4.2 0-2.3-1.9-4.3-4.3-4.3zM0 10.9v6.1c4 0 7.7 1.6 10.6 4.4 2.8 2.8 4.4 6.6 4.4 10.6h6.2c0-11.7-9.5-21.1-21.1-21.1zM0 0v6.1c14.2 0 25.8 11.6 25.8 25.9h6.2c0-17.6-14.4-32-32-32z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button mailto shariff-nocustomcolor\" style=\"background-color:#a8a8a8;border-radius:50%\"><a href=\"mailto:?body=https%3A%2F%2Fblog.hani-ibrahim.de%2Fen%2Finstall-dislin-11-3-on-ubuntu-20-04-focal-fossa.html&subject=Install%20DISLIN%2011.3%20on%20Ubuntu%2020.04%20Focal%20Fossa\" title=\"Send by email\" aria-label=\"Send by email\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\";border-radius:50%; background-color:#999; color:#fff\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 32 32\"><path fill=\"#999\" d=\"M32 12.7v14.2q0 1.2-0.8 2t-2 0.9h-26.3q-1.2 0-2-0.9t-0.8-2v-14.2q0.8 0.9 1.8 1.6 6.5 4.4 8.9 6.1 1 0.8 1.6 1.2t1.7 0.9 2 0.4h0.1q0.9 0 2-0.4t1.7-0.9 1.6-1.2q3-2.2 8.9-6.1 1-0.7 1.8-1.6zM32 7.4q0 1.4-0.9 2.7t-2.2 2.2q-6.7 4.7-8.4 5.8-0.2 0.1-0.7 0.5t-1 0.7-0.9 0.6-1.1 0.5-0.9 0.2h-0.1q-0.4 0-0.9-0.2t-1.1-0.5-0.9-0.6-1-0.7-0.7-0.5q-1.6-1.1-4.7-3.2t-3.6-2.6q-1.1-0.7-2.1-2t-1-2.5q0-1.4 0.7-2.3t2.1-0.9h26.3q1.2 0 2 0.8t0.9 2z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button whatsapp shariff-nocustomcolor\" style=\"background-color:#5cbe4a;border-radius:50%\"><a href=\"https:\/\/api.whatsapp.com\/send?text=https%3A%2F%2Fblog.hani-ibrahim.de%2Fen%2Finstall-dislin-11-3-on-ubuntu-20-04-focal-fossa.html%20Install%20DISLIN%2011.3%20on%20Ubuntu%2020.04%20Focal%20Fossa\" title=\"Share on Whatsapp\" aria-label=\"Share on Whatsapp\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\";border-radius:50%; background-color:#34af23; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 32 32\"><path fill=\"#34af23\" d=\"M17.6 17.4q0.2 0 1.7 0.8t1.6 0.9q0 0.1 0 0.3 0 0.6-0.3 1.4-0.3 0.7-1.3 1.2t-1.8 0.5q-1 0-3.4-1.1-1.7-0.8-3-2.1t-2.6-3.3q-1.3-1.9-1.3-3.5v-0.1q0.1-1.6 1.3-2.8 0.4-0.4 0.9-0.4 0.1 0 0.3 0t0.3 0q0.3 0 0.5 0.1t0.3 0.5q0.1 0.4 0.6 1.6t0.4 1.3q0 0.4-0.6 1t-0.6 0.8q0 0.1 0.1 0.3 0.6 1.3 1.8 2.4 1 0.9 2.7 1.8 0.2 0.1 0.4 0.1 0.3 0 1-0.9t0.9-0.9zM14 26.9q2.3 0 4.3-0.9t3.6-2.4 2.4-3.6 0.9-4.3-0.9-4.3-2.4-3.6-3.6-2.4-4.3-0.9-4.3 0.9-3.6 2.4-2.4 3.6-0.9 4.3q0 3.6 2.1 6.6l-1.4 4.2 4.3-1.4q2.8 1.9 6.2 1.9zM14 2.2q2.7 0 5.2 1.1t4.3 2.9 2.9 4.3 1.1 5.2-1.1 5.2-2.9 4.3-4.3 2.9-5.2 1.1q-3.5 0-6.5-1.7l-7.4 2.4 2.4-7.2q-1.9-3.2-1.9-6.9 0-2.7 1.1-5.2t2.9-4.3 4.3-2.9 5.2-1.1z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button info shariff-nocustomcolor\" style=\"background-color:#eee;border-radius:50%\"><a href=\"http:\/\/ct.de\/-2467514\" title=\"More information\" aria-label=\"More information\" role=\"button\" rel=\"noopener \" class=\"shariff-link\" style=\";border-radius:50%; background-color:#fff; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 11 32\"><path fill=\"#999\" d=\"M11.4 24v2.3q0 0.5-0.3 0.8t-0.8 0.4h-9.1q-0.5 0-0.8-0.4t-0.4-0.8v-2.3q0-0.5 0.4-0.8t0.8-0.4h1.1v-6.8h-1.1q-0.5 0-0.8-0.4t-0.4-0.8v-2.3q0-0.5 0.4-0.8t0.8-0.4h6.8q0.5 0 0.8 0.4t0.4 0.8v10.3h1.1q0.5 0 0.8 0.4t0.3 0.8zM9.2 3.4v3.4q0 0.5-0.4 0.8t-0.8 0.4h-4.6q-0.4 0-0.8-0.4t-0.4-0.8v-3.4q0-0.4 0.4-0.8t0.8-0.4h4.6q0.5 0 0.8 0.4t0.4 0.8z\"\/><\/svg><\/span><\/a><\/li><\/ul><\/div><p>DISLIN is a very nice and well-documented 2-D and 3-D plotting framework for Fortran and some other programming languages. Furthermore DISLIN provides some widgets to [&#8230;]<\/p>\n","protected":false},"author":3,"featured_media":4705,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[25,16,6,45,67,8],"tags":[82,201,111,19,103,70,144,104],"class_list":["post-4700","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-english","category-fortran","category-gnu-linux","category-how-tos","category-programming","category-ubuntu","tag-dislin","tag-focal-fossa","tag-fortran","tag-gfortran","tag-gnu-linux","tag-gui","tag-plotten","tag-ubuntu"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/blog.hani-ibrahim.de\/en\/wp-json\/wp\/v2\/posts\/4700","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.hani-ibrahim.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.hani-ibrahim.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.hani-ibrahim.de\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.hani-ibrahim.de\/en\/wp-json\/wp\/v2\/comments?post=4700"}],"version-history":[{"count":62,"href":"https:\/\/blog.hani-ibrahim.de\/en\/wp-json\/wp\/v2\/posts\/4700\/revisions"}],"predecessor-version":[{"id":4770,"href":"https:\/\/blog.hani-ibrahim.de\/en\/wp-json\/wp\/v2\/posts\/4700\/revisions\/4770"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.hani-ibrahim.de\/en\/wp-json\/wp\/v2\/media\/4705"}],"wp:attachment":[{"href":"https:\/\/blog.hani-ibrahim.de\/en\/wp-json\/wp\/v2\/media?parent=4700"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.hani-ibrahim.de\/en\/wp-json\/wp\/v2\/categories?post=4700"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.hani-ibrahim.de\/en\/wp-json\/wp\/v2\/tags?post=4700"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}