Running install_scripts(directory) creates scripts in the given directory that run various software components included with Sage. Each of these scripts essentially just runs sage --CMD where CMD is also the name of the script:
OUTPUT: Verbosely prints what it is doing and creates files in directory that are world executable and readable.
You may need to run sage as root in order to run install_scripts successfully, since the user running sage needs write permissions on directory. Note that one good candidate for directory is '/usr/local/bin', so from the shell prompt, you could run
sudo sage -c "install_scripts('/usr/local/bin')"
Running install_scripts(directory) will be most helpful if directory is in your path.
sage: install_scripts(str(SAGE_TMP), ignore_existing=True) Checking that Sage has the command 'gap' installed ...