First time here? Check out the FAQ!

Ask Your Question
1

Installing Optional Package

asked 13 years ago

Kenji gravatar image

updated 13 years ago

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.

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
2

answered 13 years ago

kcrisman gravatar image

updated 7 years ago

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.

Preview: (hide)
link

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 ( 13 years ago )

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

kcrisman gravatar imagekcrisman ( 13 years ago )

It's ok, kcrisman.Cheer!

Kenji gravatar imageKenji ( 13 years ago )

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 ( 13 years ago )

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 ( 13 years ago )

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: 13 years ago

Seen: 3,437 times

Last updated: Jun 30 '17