First time here? Check out the FAQ!

Ask Your Question
1

Installing an optional huge database package on Arch Linux

asked 2 years ago

SinTan gravatar image

updated 2 years ago

I've installed Sage using the Arch package sagemath. I'm unable to install any packages in my system. I get the error "Unknown option".

sage -i database_stein_watkins

Error: unknown option: -i

My SageMath version is 9.6, Release Date: 2022-05-15. I've tried searching the internet but haven't found any fixes. Please help me out.

Edit: I managed to solve it using the answers. Here's a link to the AUR package I created. Hope it'll help others in the future: sage-data-stein-watkins.

Preview: (hide)

Comments

Congratulations on creating a package and pushing it to the AUR!

slelievre gravatar imageslelievre ( 2 years ago )

3 Answers

Sort by » oldest newest most voted
2

answered 2 years ago

arojas gravatar image

'sage -i' doesn't work on distro packages by design. You'll have to create a package for it that installs the database to /usr/share/stein_watkins. You can follow

https://aur.archlinux.org/packages/sa...

https://aur.archlinux.org/packages/sa...

as models. Also, if you do it please consider contributing it to AUR so others can make use of it.

Preview: (hide)
link
1

answered 2 years ago

slelievre gravatar image

updated 2 years ago

Unfortunately, while other databases seem to be packaged for Arch Linux:

it seems the Stein-Watkins database is not.

Possibly you can install it easily by downloading the compressed database and uncompressing it into the correct location.

I'm not sure what the correct location is on Arch Linux.

To download the compressed database: either

or

  • select a mirror from the download page
  • then navigate to "SPKG Sage Packages" > "database_stein_watkins"
  • then download "database_stein_watkins-20110713.tar.gz"

Another solution is to build Sage from source, following the instructions at

Then, using that Sage, sage -i will work.

Preview: (hide)
link
0

answered 2 years ago

Pickle gravatar image

Please refer to this question for help https://ask.sagemath.org/question/523...

Preview: (hide)
link

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: 2 years ago

Seen: 815 times

Last updated: Jul 14 '22