Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: what is the installation path of singular in ubuntu?
PostPosted: 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


Report this post
Top
  
Reply with quote  
 Post subject: Re: what is the installation path of singular in ubuntu?
PostPosted: Wed Sep 01, 2010 5:50 am 

Joined: Sat Oct 01, 2005 11:40 am
Posts: 40
Location: IIT Guwahati, Guwahati, Assam, INDIA
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: what is the installation path of singular in ubuntu?
PostPosted: Mon Sep 06, 2010 3:23 pm 
I find the source code in official web site. Thank you for your help


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

It is currently Fri May 13, 2022 11:06 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group