Read-only forum archive

what is the installation path of singular in ubuntu?

what is the installation path of singular in ubuntu?

Guest · Tue Aug 31, 2010 4:01 pm

what is the installation path of singular in ubuntu?

i can only find the path /usr/share/singular.

but do not know where it install after following the instruction in manual
dpkg -i singular-release.deb

i would like to find the headers .h and .c of singular

write a c program to run singular's function

Re: what is the installation path of singular in ubuntu?

vinay · Wed Sep 01, 2010 5:50 am

You can find all the Singular related files installed on your system by
Code:
locate -i Singular.

Note that the command
Quote:
dpkg -i singular-release.deb
will not put the source on your system. You will have to download and install the source separately from: http://www.mathematik.uni-kl.de/ftp/pub/Math/Singular/SOURCES/.

If you want to run a Singular code through a 'C' program, then here is my small suggestion:
Code:
your_c_code
myfile  = generate_.sing_file
char str[256];
str=strcat("/usr/bin/Singular < ", myfile);
system(str);
remaining_c_code

I hope this solves your problem...

-- VInay

Re: what is the installation path of singular in ubuntu?

Guest · Mon Sep 06, 2010 3:23 pm

I find the source code in official web site. Thank you for your help