Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I am the sagemath PPA maintainer.

The PPA (and even the binary tarballs downloaded from sagemath) is not really intended for adding optional packages but it is possible.

It is dangerous to build everything as root, as you found from the sage error!
Changing the ownership may essentially break apt, or on a multi-user system be insecure for your user.

I think when you installed extra packages from synaptic you added what you need: sagemath-upstream-binary-full, which does include the src and build and git folders.

If you regularly use optional packages, it is preferred to install from source, (fix permissions on a multi-user system to a new user like sagemath or root), sage -i your packages (fix permissions after), and join the low-traffic sage-release mailing list which will announce new releases, and use sage -upgrade which will only download and compile parts that changed.

I am the sagemath PPA maintainer.

The PPA (and even the binary tarballs downloaded from sagemath) is not really intended for adding optional packages but it is possible.

It is dangerous to build everything as root, as you found from the sage error!
Changing the ownership may essentially break apt, or on a multi-user system be insecure for your user.

I think when you installed extra packages from synaptic you added what you need: You need sagemath-upstream-binary-full, which does include the src and build and git folders.folders if you really want to do this.

If you regularly use optional packages, it is preferred to install from source, (fix permissions on a multi-user system to a new user like sagemath or root), sage -i your packages (fix permissions after), and join the low-traffic sage-release mailing list which will announce new releases, and use sage -upgrade which will only download and compile parts that changed.