-
Notifications
You must be signed in to change notification settings - Fork 0
Installation of Surfer on Debian
This page describes the installation of Surf and Surfer from the latest sources on Debian based systems (e.g. Ubuntu).
Surf and Surfer can then be call from Singular after loading the library surf.lib.
This version of the instructions was tested on Ubuntu 13.04. It requires sudo permission.
-
Install the packages required to build Surfer (we assume that you have installed the packages required to build Singular):
sudo apt-get install gtkmm-2.4sudo apt-get install libjpeg62-devsudo apt-get install libtiffsudo apt-get install libtiff4-devsudo apt-get install zlib1g-devsudo apt-get install libx11-devsudo apt-get install flex
-
Download Surfer (includes Surf sources):
cd $HOME/git/Singular4mkdir surfercd surferwget http://data.imaginary2008.de/software/surfer/surfer.tar.bz2tar -xvf surfer.tar.bz2tar -xvf surf-for-surfer.tar.gz
-
Compile and install Surf (after this step you can use Surf to plot curves and surfaces):
cd surf-1.0.5./configure --disable-guimakesudo make installcd ..
-
Check whether Surf works by doing in Singular: (of course Surf can also be used as a stand-alone program)
LIB "surf.lib";ring R = 0,(x,y),dp;ideal J = x^3-y^2;plot(J);
-
Compile and install Surfer:
./configuremakesudo make installcd ..
-
Check whether Surfer works by doing in Singular: (of course Surfer can also be used as a stand-alone program)
LIB "surf.lib";ring R = 0,(x,y,z),dp;ideal J = x^2*y^2+x^2*z^2+y^2*z^2-17*x*y*z;surfer(J);