1 Installing Programs with setup.rb
2 =================================
7 Type this (You might needs super user previledge):
12 If you want to install a program in to your home directory
13 ($HOME), use following instead:
15 $ ruby setup.rb all --prefix=$HOME
18 Detailed Installtion Process
19 ----------------------------
21 setup.rb invokes installation by three steps. There are
22 "config", "setup" and "install". You can invoke each steps
23 separately as following:
25 $ ruby setup.rb config
27 # ruby setup.rb install
29 You can controll installation process by giving detailed
30 options for each tasks. For example, --bin-dir=$HOME/bin
31 let setup.rb install commands in $HOME/bin.
33 For details, see "Task Options".
38 "Global Option" is a command line option which you can use
39 for all tasks. You must give a global option before any task
43 suppress message outputs
45 output messages verbosely (default)
49 prints version and quit
51 prints copyright and quit
55 These are acceptable tasks:
57 Invokes `config', `setup', then `install'.
58 Task options for all is same with config.
60 Checks and saves configurations.
62 Prints current configurations.
64 Compiles ruby extentions.
68 Removes created files.
70 Removes all created files.
72 Task Options for CONFIG/ALL
73 ---------------------------
76 a prefix of the installing directory path
78 the directory for standard ruby libraries
80 the directory for version-independent non-standard
83 the directory for non-standard ruby libraries
85 the directory for commands
87 the directory for ruby scripts
89 the directory for ruby extentions
91 the directory for shared data
93 path to set to #! line
95 the ruby program using for installation
97 the make program to compile ruby extentions
99 forces to setup.rb never to compile/install
102 your rbconfig.rb to load
104 You can view default values of these options by typing
106 $ ruby setup.rb --help
109 If there's the directory named "packages",
110 You can also use these options:
111 --with=NAME,NAME,NAME...
112 Package names which you want to install.
113 --without=NAME,NAME,NAME...
114 Package names which you do not want to install.
116 [NOTE] You can pass options for extconf.rb like this:
118 ruby setup.rb config -- --with-tklib=/usr/lib/libtk-ja.so.8.0
121 Task Options for INSTALL
122 ------------------------
125 prints what to do and done nothing really.
127 The prefix of the installing directory path.
128 This option may help binary package maintainers.
129 A default value is an empty string.