Ask Your Question
1

Installing Optional Package

asked 2011-06-06 23:32:49 -0600

Kenji gravatar image

updated 2011-06-06 23:36:18 -0600

I have downloaded an optional package from SAGE website namely database_kohel-20060803.spkg. How to install in my SAGE 4.6 (Windows user)? I do check the website but I still cannot figure out.

Besides, I do encounter a problem to use.dbz file such as pol.001.dbz

I glad if someone can help me.Thanks.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2011-06-07 02:24:47 -0600

kcrisman gravatar image

updated 2011-06-07 03:07:38 -0600

If you go to the command line in your Sage installation (in the virtual machine), how do you launch Sage? Let's say you use the command

$  /path/to/sage-4.6/sage

to launch Sage. Then all you should have to do is

$  /path/to/sage-4.6/sage -i database_kohel-20060803

or possibly

$  /path/to/sage-4.6/sage -i database_kohel-20060803.spkg

It should automatically download, even in the virtual machine.

If not, then you'd have to move the spkg to the VM filesystem somehow (I'm not sure how that's done, but should be Googleable) and then do

$  /path/to/sage-4.6/sage -i /path/to/database_kohel-20060803.spkg

If you only have the notebook, you should be able to do

install_package(package='database_kohel-20060803')

Try

install_package?

for more information. See this Sage documentation page as well.

edit flag offensive delete link more

Comments

Hi, thanks for reply. I lauch SAGE using VMware player, then I click sage-vmware and I will enter the SAGE notebook. I don't know how to enter the commands given by you, I am sorry. Can SAGE load the spkg file in the SAGE worksheet?

Kenji gravatar imageKenji ( 2011-06-07 02:36:10 -0600 )edit

I didn't realize that was the question - sorry!

kcrisman gravatar imagekcrisman ( 2011-06-07 03:08:27 -0600 )edit

It's ok, kcrisman.Cheer!

Kenji gravatar imageKenji ( 2011-06-07 18:41:12 -0600 )edit

Great! I did update the answer to indicate how to do it from the notebook. By the way, if this answers your question and works, you can feel free to click the check mark :)

kcrisman gravatar imagekcrisman ( 2011-06-08 03:43:35 -0600 )edit

Thanks kcrisman. Sorry for late reply. I do appreciate your efforts and therefore I click check. But may be something wrong with my SAGE set up, it shows error in connecting SAGE serve.

Kenji gravatar imageKenji ( 2011-06-13 01:29:36 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2011-06-06 23:32:49 -0600

Seen: 770 times

Last updated: Jun 07 '11