Type these lines on command line: ("#" line may require root privilege)
$ ruby install.rb config $ ruby install.rb setup # ruby install.rb install
There's no difference in a usage between install.rb and setup.rb.
$ ruby setup.rb config $ ruby setup.rb setup # ruby setup.rb install
Usage of install.rb/setup.rb is:
ruby install.rb <global options> ruby install.rb [<global options>] <task> [<task options>]
-q,--quietsuppress message outputs
--verboseoutput messages verbosely (default)
-h,--helpprints help and quit
-v,--versionprints version and quit
--copyrightprints copyright and quit
These are acceptable tasks:
configsaves configurations
showprints current configurations
setupcompiles extentions
installinstalls files
cleancleans created files
--prefix=PATHa prefix of the installing directory path
--install-prefix=PATHa prefix of the installing directory path. This option may help binary package maintainers. A default config value is equal to --prefix.
--std-ruby=PATHthe directory for standard ruby libraries
--site-ruby=PATHthe directory for non-standard ruby libraries
--bin-dir=PATHthe directory for commands
--rb-dir=PATHthe directory for ruby scripts
--so-dir=PATHthe directory for ruby extentions
--data-dir=PATHthe directory for shared data
--ruby-path=PATHpath to set to #! line
--ruby-prog=PATHthe ruby program using for installation
--make-prog=NAMEthe make program to compile ruby extentions
--without-extforces to install.rb never to compile/install ruby extentions.
--rbconfig=PATHyour rbconfig.rb to load
You can view default values of these options by typing
$ ruby install.rb --help
In addition, setup.rb accepts these options:
--with=NAME,NAME,NAME...package names which you want to install
--without=NAME,NAME,NAME...package names which you do not want to install
[NOTE] You can pass options for extconf.rb like this:
ruby install.rb config -- --with-tklib=/usr/lib/libtk-ja.so.8.0
--no-harmprints what to do and done nothing really.