Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Installing singular on xubuntu
PostPosted: Fri Apr 24, 2009 9:07 pm 

Joined: Fri Apr 24, 2009 8:03 pm
Posts: 2
Hallo,
I'm using Xubuntu 8.10 and I am still a beginner with linux. I'm trying to unpack the singular archives as described on the download-website. So in the first place I typed

robert@challenger2:/usr/local/install$ sudo gzip -dc Singular-3-1-0-ix86-Linux.tar.gz | tar -pxf-

into the terminal, after changing to the directory where the two files are. The result is that "tar" can't be executed cause subdirectories are missing.

So executed only the first commad seperately:

robert@challenger2:/usr/local/install$ sudo gzip -dc Singular-3-1-0-ix86-Linux.tar.gz

It ended up with a huge amount of asci-code running over my screen, it looks a bit like matrix , :twisted:, and then nothing but the command line. There are no additional files in the install folder after that.

Any ideas why that happens or am I doing something wrong?

Thanks for helping me


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Apr 27, 2009 10:07 am 
Site Admin

Joined: Thu Nov 13, 2008 10:52 am
Posts: 26
Hallo Klaus,
try the following:
become root, chdir to to location, where you want to install Sinbgular (like /usr/local or /opt). Then execute
Code:
tar -xvzf /path/to/Singular-3-1-0-ix86-Linux.tar.gz

(use the download location of the Singular package instead of /path/to/.)

Please let us know, if the problem persists.

For the second question:
Quote:
robert@challenger2:/usr/local/install$ sudo gzip -dc Singular-3-1-0-ix86-Linux.tar.gz

It ended up with a huge amount of asci-code running over my screen, it looks a bit like matrix , Twisted Evil, and then nothing but the command line. There are no additional files in the install folder after that.


That's exactly, what the "half" command is expected to do: It puts binary stuff to stdcout, the pipe-command
Code:
| tar etc.
generates files from this. Without the pipe, everything is put to the terminal session.

Best regards,
Alexander


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Apr 27, 2009 4:20 pm 
Site Admin

Joined: Thu Nov 13, 2008 10:52 am
Posts: 26
By the way, for ubuntu it might be easier to use deb-based packages: http://singular.mathematik.uni-kl.de/UNIX/rpm_manually.html#deb_manual

Regards,
Alexander


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Apr 28, 2009 11:14 pm 

Joined: Fri Apr 24, 2009 8:03 pm
Posts: 2
Hallo Alexander,

I can finally use Singular now because I installed the Debian packages with the dpkg command, which worked very well.

I Also tried your suggestion:
Code:
tar -xvzf /path/to/Singular-3-1-0-ix86-Linux.tar.gz

That also worked, the files were unpacked, but then I couldn't execute the program properly. When I tried to run it from thunar (as root) it was startet up, displaying the start-screen and also "Good Bye", so I couldn't use it. I tried the optional steps, so that typing "Singular" into the shell prompt would execute the programm. Even though there were no error messages after executing the commands, typing "Singular" didn't execute the program.

Anyway, Singular runs on my computer now so I am quite happy, thanks for your help.

Regards,
klaus


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Apr 28, 2009 11:48 pm 
Site Admin

Joined: Thu Nov 13, 2008 10:52 am
Posts: 26
Hallo Klaus,
indeed, I forgot to mention that the PATH environment variable should be fixed accordingly. But since the deb package has worked for you (it's the preferred solution anyway), I will not go into detail for fixing the "generic" install.

Best regards,
Alexander


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 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:05 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group