Ask Your Question
1

Is 'make install' on opensuse necessary?

asked 2013-11-09 00:46:28 -0500

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

Comments

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 07:04:59 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
2

answered 2013-11-09 01:47:18 -0500

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

Stats

Asked: 2013-11-09 00:46:28 -0500

Seen: 893 times

Last updated: Nov 09 '13