Ask Your Question
1

Installing Optional Package

asked 2011-06-07 06:32:49 +0200

Kenji gravatar image

updated 2011-06-07 06:36:18 +0200

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 09:24:47 +0200

kcrisman gravatar image

updated 2017-06-30 03:35:09 +0200

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

Edit: the following is no longer true, as this ticket deprecated this functionality, which has since been removed.

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 09:36:10 +0200 )edit

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

kcrisman gravatar imagekcrisman ( 2011-06-07 10:08:27 +0200 )edit

It's ok, kcrisman.Cheer!

Kenji gravatar imageKenji ( 2011-06-08 01:41:12 +0200 )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 10:43:35 +0200 )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 08:29:36 +0200 )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-07 06:32:49 +0200

Seen: 3,277 times

Last updated: Jun 30 '17