Ask Your Question

How to unpack .spkg files

asked 2013-02-26 15:32:59 -0500

anonymous user


This is probably an extremely basic question, but I can't figure it out.

I got the Sage source code from a .tar file from the download link here:

I unpacked the tar file using 7-zip and got the directory containing some files, the .hg folder, and the spkg folder. I am told that .spkg is just a tar file, but I can't seem to open them up. Could someone walk me through the steps for Windows?


edit retag flag offensive close merge delete

3 answers

Sort by » oldest newest most voted

answered 2013-02-27 03:12:17 -0500

ppurka gravatar image

updated 2013-02-27 03:15:46 -0500

If you only want to open the spkg files then just rename then to have an ending of tar.bz2 instead of spkg. Then 7 zip will be able to recognize the file. You will probably need to change some folder settings so that windows shows you the full filename. You may also try opening the spkg file from 7 zip directly without any renaming. It might work if7 zip is able to determine the file type from the file contents.

edit flag offensive delete link more


Thanks! It worked.

Switch gravatar imageSwitch ( 2013-02-27 08:35:13 -0500 )edit

answered 2013-02-27 02:57:34 -0500

The answer is rough: it's impossible to install Sage on a Windows system ! It's a feature, not a bug :-) See e.g.

edit flag offensive delete link more


More precisely, there is a virtual machine solution, and a Cygwin solution (more native, in some sense) is very close to reality...

kcrisman gravatar imagekcrisman ( 2013-02-27 03:35:10 -0500 )edit

well nevertheless it is possible to use Sage on Windows:

twch gravatar imagetwch ( 2013-02-27 03:37:59 -0500 )edit

answered 2014-02-20 20:35:32 -0500

updated 2014-02-20 20:36:00 -0500

Instead of renaming the SPKG to xyz.tar.bz2 you can also tar xvfj the SPKG directly. Note that the z option extracts zipped and gzipped files, the j option extracts bzipped files, and the J option extracts xz files.

edit flag offensive delete link more


The question was about unarchiving on Windows. :)

ppurka gravatar imageppurka ( 2014-02-20 23:09:18 -0500 )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


Asked: 2013-02-26 15:32:59 -0500

Seen: 20,203 times

Last updated: Feb 20 '14