Ask Your Question

Is 'make install' on opensuse necessary?

asked 2013-11-09 07:46:28 +0200

leo krupski gravatar image

I have typed 'make' yesterday and the makefile was executing many,many hours. Now I can finally run sage in my browser, so I believe everything is alright. However, in instructions on makefiles, they say I should also run 'make install'. When I did, I got a warning saying "experimental use only". So is 'make install' redundant and sage will work as well as now?

I am new to linux. I moved to it just for sage.

edit retag flag offensive close merge delete


Shake hands, but why did you choose openSuSE? I am now using 12.3 and next week upgrade to 13.1

gundamlh gravatar imagegundamlh ( 2013-11-15 14:04:59 +0200 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-11-09 08:47:18 +0200

tmonteil gravatar image

When you type make, you build the binary, so it is enough to use Sage.

When you type make install, it does not do anything since you have to set a DESTDIR environement variable. The aim of this command is to copy the content of your Sage directory to some specified directory and to symlink the sage binary in some drectory that may belong to your PATH. This allows you to launch Sage by just typing sage instead of having to go to the Sage directory and to type ./sage

As it is experimental, i would not advise to use make install.

If you want to have the sage command in your PATH, is suffice to symlink it by hand to /usr/local/bin, by typing:

sudo ln -s /path/to/command/sage /usr/local/bin/sage

If such a symlink exists (from a ), you should first remove the old one:

sudo rm /usr/local/bin/sage
edit flag offensive delete link more

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-11-09 07:46:28 +0200

Seen: 1,663 times

Last updated: Nov 09 '13