source: general/prog/ruby.xml@ 8aeb474

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 8aeb474 was cc13920, checked in by Krejzi <krejzi@…>, 12 years ago

Ruby 1.9.3-p194 and EOG 3.4.3

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10429 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY ruby-download-http " ">
8 <!ENTITY ruby-download-ftp "ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-&ruby-version;.tar.bz2">
9 <!ENTITY ruby-md5sum "2278eff4cfed3cbc0653bc73085caa34">
10 <!ENTITY ruby-size "9.4 MB">
11 <!ENTITY ruby-buildsize "850 MB">
12 <!ENTITY ruby-time "4.0 SBU">
13]>
14
15<sect1 id="ruby" xreflabel="Ruby-&ruby-version;">
16 <?dbhtml filename="ruby.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Ruby-&ruby-version;</title>
24
25 <indexterm zone="ruby">
26 <primary sortas="a-Ruby">Ruby</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Ruby</title>
31
32 <para>
33 The <application>Ruby</application> package contains the
34 <application>Ruby</application> development environment. This
35 is useful for object-oriented scripting.
36 </para>
37
38 &lfs71_checked;
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>
44 Download (HTTP): <ulink url="&ruby-download-http;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download (FTP): <ulink url="&ruby-download-ftp;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download MD5 sum: &ruby-md5sum;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download size: &ruby-size;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated disk space required: &ruby-buildsize;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated build time: &ruby-time;
70 </para>
71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect3">Ruby Dependencies</bridgehead>
75
76 <bridgehead renderas="sect4">Optional</bridgehead>
77 <para role="optional">
78 <xref linkend="doxygen"/>,
79 <xref linkend="graphviz"/>,
80 <ulink url="http://pyyaml.org/wiki/LibYAML">libyaml</ulink>,
81 <xref linkend="openssl"/> and
82 <xref linkend="tk"/>
83 </para>
84
85 <para condition="html" role="usernotes">User Notes:
86 <ulink url="&blfs-wiki;/ruby"/>
87 </para>
88 </sect2>
89
90 <sect2 role="installation">
91 <title>Installation of Ruby</title>
92
93 <para>
94 Install <application>Ruby</application> by running the following
95 commands:
96 </para>
97
98<screen><userinput>./configure --prefix=/usr \
99 --enable-shared \
100 --enable-pthread &amp;&amp;
101make</userinput></screen>
102
103 <para>
104 To test the results, issue: <command>make test</command>.
105 </para>
106
107 <para>
108 Now, as the <systemitem class="username">root</systemitem> user:
109 </para>
110
111<screen role="root"><userinput>make install</userinput></screen>
112
113 </sect2>
114
115 <sect2 role="commands">
116 <title>Command Explanations</title>
117
118 <para>
119 <option>--enable-shared</option>: This parameter enables building of
120 the <filename class="libraryfile">libruby</filename> shared library.
121 </para>
122
123 <para>
124 <option>--enable-pthread</option>: This parameter enables linking of the
125 threading library into the <application>Ruby</application> build.
126 </para>
127
128 </sect2>
129
130 <sect2 role="content">
131 <title>Contents</title>
132
133 <segmentedlist>
134 <segtitle>Installed Programs</segtitle>
135 <segtitle>Installed Libraries</segtitle>
136 <segtitle>Installed Directories</segtitle>
137
138 <seglistitem>
139 <seg>
140 erb, gem, irb, rake, rdoc, ri, ruby and testrb
141 </seg>
142 <seg>
143 libruby.so, libruby-static.a and numerous modules located in the
144 <filename class="directory">/usr/lib/ruby</filename> hierarchy.
145 </seg>
146 <seg>
147 /usr/include/ruby-1.9.1,
148 /usr/lib/ruby,
149 /usr/share/doc/ruby and
150 /usr/share/ri
151 </seg>
152 </seglistitem>
153 </segmentedlist>
154
155 <variablelist>
156 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
157 <?dbfo list-presentation="list"?>
158 <?dbhtml list-presentation="table"?>
159
160 <varlistentry id="ruby-prog">
161 <term><command>ruby</command></term>
162 <listitem>
163 <para>
164 is an interpreted scripting language for quick
165 and easy object-oriented programming.
166 </para>
167 <indexterm zone="ruby ruby-prog">
168 <primary sortas="b-ruby">ruby</primary>
169 </indexterm>
170 </listitem>
171 </varlistentry>
172
173 <varlistentry id="irb">
174 <term><command>irb</command></term>
175 <listitem>
176 <para>
177 is the interactive interface for
178 <application>Ruby</application>.
179 </para>
180 <indexterm zone="ruby irb">
181 <primary sortas="b-irb">irb</primary>
182 </indexterm>
183 </listitem>
184 </varlistentry>
185
186 <varlistentry id="erb">
187 <term><command>erb</command></term>
188 <listitem>
189 <para>
190 is Tiny eRuby. It interprets a
191 <application>Ruby</application> code embedded text file.
192 </para>
193 <indexterm zone="ruby erb">
194 <primary sortas="b-erb">erb</primary>
195 </indexterm>
196 </listitem>
197 </varlistentry>
198
199 <varlistentry id="ri">
200 <term><command>ri</command></term>
201 <listitem>
202 <para>
203 displays documentation from a database on
204 <application>Ruby</application> classes, modules and methods.
205 </para>
206 <indexterm zone="ruby ri">
207 <primary sortas="b-ri">ri</primary>
208 </indexterm>
209 </listitem>
210 </varlistentry>
211
212 <varlistentry id="libruby">
213 <term><filename role='library'>libruby.so</filename></term>
214 <listitem>
215 <para>
216 contains the API functions required by <application>Ruby</application>.
217 </para>
218 <indexterm zone="ruby libruby">
219 <primary sortas="c-libruby">libruby.so</primary>
220 </indexterm>
221 </listitem>
222 </varlistentry>
223
224 </variablelist>
225
226 </sect2>
227
228</sect1>
Note: See TracBrowser for help on using the repository browser.