Ask Your Question

Problems Installing TOPCOM

asked 2015-10-16 19:07:42 +0200

done_with_fish gravatar image

updated 2015-11-03 09:43:32 +0200

slelievre gravatar image

I am trying to install the package TOPCOM in Sage. I am running ubuntu 14.04.


$ sage -i topcom

from my terminal returns

make: *** No rule to make target 'all-toolchain'. Stop.

Any ideas what is going wrong?

edit retag flag offensive close merge delete


It is generally not a good idea to install Sage as a root user.

FrédéricC gravatar imageFrédéricC ( 2015-10-16 19:12:06 +0200 )edit

I don't believe that Sage is installed as root. I've updated with the error obtained by trying to install topcom without sudo.

done_with_fish gravatar imagedone_with_fish ( 2015-10-16 19:26:35 +0200 )edit

Well, /usr/lib certainly does not look like being inside your home dir...

FrédéricC gravatar imageFrédéricC ( 2015-10-16 19:48:02 +0200 )edit

Maybe it is a Sage installation through some distro package manager... (?)

fidbc gravatar imagefidbc ( 2015-10-16 20:41:52 +0200 )edit

How did you install Sage on your computer ? Did you use the PPA ? Did you download the binaries ? id you compile it yourself ?

tmonteil gravatar imagetmonteil ( 2015-10-17 00:05:17 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2016-08-10 06:15:37 +0200

pipedream0 gravatar image

updated 2016-08-10 06:16:25 +0200

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.

You need sagemath-upstream-binary-full, which does include the src and build and git 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.

edit flag offensive delete link more


Thanks for the answer. I ended up installing from source and everything worked.

done_with_fish gravatar imagedone_with_fish ( 2016-08-17 01:19:55 +0200 )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

1 follower


Asked: 2015-10-16 19:07:42 +0200

Seen: 1,140 times

Last updated: Aug 10 '16