User Tools

Site Tools


linux:sudo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
linux:sudo [2016/09/01 09:09]
jansen
linux:sudo [2017/06/28 09:37] (current)
jansen [Software installation tips]
Line 24: Line 24:
 ===== Software installation tips ===== ===== Software installation tips =====
 If you want to install a software package, it often has a system-wide location as default (''/​usr'',​ ''/​usr/​local''​ or ''/​opt'',​ most of the time). But in most cases, an install location can be specified. If you want to install a software package, it often has a system-wide location as default (''/​usr'',​ ''/​usr/​local''​ or ''/​opt'',​ most of the time). But in most cases, an install location can be specified.
-  * ''​configure''​ scripts often have a ''​--prefix''​ option to specify the install location. Check ''​INSTALL''​ notes that come with the package, and ''​configure --help''​ often lists supported options too. +  * ''​configure''​ scripts often have a ''​%%--%%prefix''​ option to specify the install location. Check ''​INSTALL''​ notes that come with the package, and ''​configure ​%%--%%help''​ often lists supported options too. 
-  * Python source packages often come with a ''​setup.py''​. When running the ''​install''​ phase, you can also specify a ''​--prefix''​ location, or use ''​--user''​ to install in a location in your home directory. +  * Python source packages often come with a ''​setup.py''​. When running the ''​install''​ phase, you can also specify a ''​--prefix''​ location, or use ''​%%--%%user''​ to install in a location in your home directory. 
-  * Installing python packages using ''​pip''​ or ''​easy_install''​ will also work if you give it a ''​--prefix''​ or ''​--user''​ option+  * Installing python packages using ''​pip''​ or ''​easy_install''​ will also work if you give it a ''​%%--%%prefix''​ or ''​%%--%%user''​ option
   * a package that comes with a ''​Makefile''​ often has a ''​install''​ target or some other location where you can set the destination. No real standards here, you may have to read the documentation and/or the makefile.   * a package that comes with a ''​Makefile''​ often has a ''​install''​ target or some other location where you can set the destination. No real standards here, you may have to read the documentation and/or the makefile.
  
linux/sudo.txt · Last modified: 2017/06/28 09:37 by jansen