Menu

#282 Build instruction on Ubuntu

None
accepted
nobody
None
5
2024-09-26
2023-03-07
No

2023-03-26

Build instruction on Ubuntu for development version (tested on Ubuntu 22.04)

Preparation
Preparation for "apt build-dep" (If you already tweaked sources.list, this procedure is not neccesary.)
How to Fix “E: You must put some ‘deb-src’ URIs in your sources.list” on Debian/Ubuntu/Kali Linux etc.
https://dannyda.com/2022/02/22/how-to-fix-e-you-must-put-some-deb-src-uris-in-your-sources-list-on-debian-ubuntu-kali-linux-etc/

apt build-dep

sudo apt build-dep gnuplot

This installs build tools, libraries, and documentation tools (TeX) for building gnuplot binary (5.4.2 on Ubuntu 22.04) .

Install additonal tools and libraries for development version

apt install

sudo apt install gfortran libcerf-dev libwebp-dev adwaita-icon-theme-full \
unzip texlive-science

openspecfun (for the Amos routine exept the cexint)

git clone https://github.com/JuliaMath/openspecfun.git
cd openspecfun
make
sudo make install

Add the below to ~/.profile

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

For detailed discussion of the Amos routine, please refer the below
https://sourceforge.net/p/gnuplot/bugs/2475/

install picins.sty to LaTeX

wget https://mirrors.ctan.org/macros/latex209/contrib/picins.zip
unzip pinins.zip
sudo cp -pR ./picins /usr/share/texlive/texmf-dist/tex/latex
sudo texhash

git clone, build, install and documantation

#git clone
git clone https://git.code.sf.net/p/gnuplot/gnuplot-main gnuplot-dev
cd gnuplot-dev
# generate configure script
./prepare
# change configure line according to your condition
./configure --enable-function-blocks
make
sudo make install
make check
# gnuplot.pdf
make pdf

Discussion

  • Ethan Merritt

    Ethan Merritt - 2023-03-08

    Great. I put a slightly shorter version into INSTALL.

     
  • Tatsuro MATSUOKA

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,4 @@
    -2023-03-07 
    +2023-03-26
    
     Build instruction on Ubuntu  for development version (tested on Ubuntu 22.04)
    
    @@ -19,7 +19,8 @@
    
     apt install
     ~~~
    -sudo apt install gfortran libcerf-dev libwebp-dev adwaita-icon-theme-full unzip
    +sudo apt install gfortran libcerf-dev libwebp-dev adwaita-icon-theme-full \
    +unzip texlive-science
     ~~~
     openspecfun (for the Amos routine exept the cexint)
    
     
  • Ethan Merritt

    Ethan Merritt - 2024-09-26
    • status: open --> accepted
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.