Back to Forum | View unanswered posts | View active topics
|
Page 1 of 1
|
[ 4 posts ] |
|
Author |
Message |
cecilfso
|
Post subject: How can one copy a file to lib folder in ubuntu linux? Posted: Tue May 12, 2009 9:42 pm |
|
Joined: Mon Sep 08, 2008 6:39 pm Posts: 1 Location: Rio de Janeiro
|
I mean, if there is such a folder... I need to copy procedures created by my teacher and another student to cope with differential forms in a way that didn't exist before in Singular, so I need to copy the procedures, edit the lib files in some way... I need to add extra info to the standard libraries of Singular, but in Ubuntu Januty system. Does anyone know how to do it?
_________________ Eternal nothingness is fine if you happen to be dressed for it. - Woody Allen
|
|
Top |
|
|
dreyer
|
Post subject: Posted: Wed May 13, 2009 9:40 am |
|
Joined: Thu Nov 13, 2008 10:52 am Posts: 26
|
Hi, like any part of an installed software, one should not change the installed libs in the system folders. (this might corrupt the software). But you could define alternative location for the changed libraries using environment variables. See http://www.singular.uni-kl.de/Manual/3-0-4/sing_47.htm
|
|
Top |
|
|
anne
|
Post subject: Re: library path in Singular Posted: Wed May 13, 2009 10:12 am |
|
|
Your request can be interpreted in two ways: 1) You have root-priviledges on the given ubuntu-system and face the task of making these libraries as well as the modified system libraries accessible to all users on the machine. In this case, you may find the correct directory in the following way: -start Singular -enter the command system("SingularLib") In this way you obtain the search path for the Singular libraries in the standard unix path syntax, which allows you to find the correct directories on your system.
Please do not change any libraries from the standard distribution. If changes are necessary, create a copy of the library with a slightly modified name, make the changes there and make sure that the respective new libraries written by your colleagues call the 'new' library. The change in the name of the library should involve something more than just an exchange of lower case letters by upper case ones, because all characters in the library name are changed to lower case upon loading.
2) If you are a user on the machine and you simply want to use your colleagues' libraries which rely on modified system libraries in your colleagues' home directories, then you can either copy or link those libraries into the directory from which you are calling Singular. Libraries in this directory have precedence over libraries in the main system directory tree.
I hope one of the answers solves your problem. Best regards, Anne
|
|
|
Top |
|
|
Guest
|
Post subject: Posted: Wed May 13, 2009 3:42 pm |
|
|
Thanks a lot, Anne and Dreyer, for your advices. They will certainly help me a lot.
|
|
Top |
|
|
|
Page 1 of 1
|
[ 4 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:04 am
|
|