# Revision history [back]

### How can I install a Sage package on Sage Cloud?

To install a sage package (e.g. the package "ore_algebra") from within a SMC project, I first tried running

install_package("ore_algebra")


but I got an error message that told me to do

sage -i ore_algebra


from the terminal instead. This I did and then got the error message

~\$ sage -i ore_algebra
tee: /usr/local/sage/sage-6.3.beta6/logs/install.log: Permission denied
tee: /usr/local/sage/sage-6.3.beta6/logs/pkgs/ore_algebra.log: Permission denied
>>> Checking online list of optional packages.
[.]
>>> Found ore_algebra-0.1


which is obvious since, I do not have write access to the global packages directory.

So the question becomes: How can I install Sage packages in the home directory of the current project on Sage Cloud?