A Sage package has the extension .spkg. It is a tarball that is (usually) bzip2 compressed that contains arbitrary data and an spkg-install file. An Sage package typically has the following components:
Use the install_package command to install a new package, and use optional_packages to list all optional packages available on the central Sage server. The upgrade command upgrades all standard packages - there is no auto-upgrade command for optional packages.
All package management can also be done via the Sage command line.
Return two lists. The first contains the installed and the second contains the not-installed experimental packages that are available from the Sage repository. You must have an internet connection.
OUTPUT:
Use install_package(package_name) to install or re-install a given package.
See also
Install all available optional spkg’s in the official Sage spkg repository. Returns a list of all spkg’s that fail to install.
NOTE: This is designed mainly for testing purposes. This also doesn’t do anything with respect to dependencies – the packages are installed in alphabetical order. Dependency issues will be dealt with in a future version.
Install a package or return a list of all packages that have been installed into this Sage install.
You must have an internet connection. Also, you will have to restart Sage for the changes to take affect.
It is not needed to provide the version number.
INPUT:
IMPLEMENTATION: calls ‘sage -f’.
See also
Return true if a package starting with the given string is installed.
EXAMPLES:
sage: is_package_installed('sage')
True
Return two lists. The first contains the installed and the second contains the not-installed optional packages that are available from the Sage repository. You must have an internet connection.
OUTPUT:
Use install_package(package_name) to install or re-install a given package.
See also
Return two lists. The first contains the installed and the second contains the not-installed standard packages that are available from the Sage repository. You must have an internet connection.
OUTPUT:
Use install_package(package_name) to install or re-install a given package.
See also
Download and build the latest version of Sage.
You must have an internet connection. Also, you will have to restart Sage for the changes to take affect.
This upgrades to the latest version of core packages (optional packages are not automatically upgraded).
This will not work on systems that don’t have a C compiler.
See also