source: general/prog/ruby.xml@ 82fac2c

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 82fac2c was 82fac2c, checked in by Krejzi <krejzi@…>, 11 years ago

Package updates and some modifications. See changelog.xml for details.

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

  • Property mode set to 100644
File size: 6.0 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 "944e73eba9ee9e1f2647ff32ec0b14b2">
10 <!ENTITY ruby-size "9.6 MB">
11 <!ENTITY ruby-buildsize "350 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 &lfs72_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="db"/>,
79 <xref linkend="doxygen"/>,
80 <xref linkend="graphviz"/>,
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 --enable-shared &amp;&amp;
99make</userinput></screen>
100
101 <para>
102 To test the results, issue: <command>make test</command>.
103 </para>
104
105 <para>
106 Now, as the <systemitem class="username">root</systemitem> user:
107 </para>
108
109<screen role="root"><userinput>make install</userinput></screen>
110
111 </sect2>
112
113 <sect2 role="commands">
114 <title>Command Explanations</title>
115
116 <para>
117 <option>--enable-shared</option>: This switch enables building of
118 the <filename class="libraryfile">libruby</filename> shared library.
119 </para>
120
121 </sect2>
122
123 <sect2 role="content">
124 <title>Contents</title>
125
126 <segmentedlist>
127 <segtitle>Installed Programs</segtitle>
128 <segtitle>Installed Libraries</segtitle>
129 <segtitle>Installed Directories</segtitle>
130
131 <seglistitem>
132 <seg>
133 erb, gem, irb, rake, rdoc, ri, ruby and testrb
134 </seg>
135 <seg>
136 libruby.so, libruby-static.a and numerous modules located in the
137 <filename class="directory">/usr/lib/ruby</filename> hierarchy.
138 </seg>
139 <seg>
140 /usr/include/ruby-1.9.1,
141 /usr/lib/ruby,
142 /usr/share/doc/ruby and
143 /usr/share/ri
144 </seg>
145 </seglistitem>
146 </segmentedlist>
147
148 <variablelist>
149 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
150 <?dbfo list-presentation="list"?>
151 <?dbhtml list-presentation="table"?>
152
153 <varlistentry id="ruby-prog">
154 <term><command>ruby</command></term>
155 <listitem>
156 <para>
157 is an interpreted scripting language for quick
158 and easy object-oriented programming.
159 </para>
160 <indexterm zone="ruby ruby-prog">
161 <primary sortas="b-ruby">ruby</primary>
162 </indexterm>
163 </listitem>
164 </varlistentry>
165
166 <varlistentry id="irb">
167 <term><command>irb</command></term>
168 <listitem>
169 <para>
170 is the interactive interface for
171 <application>Ruby</application>.
172 </para>
173 <indexterm zone="ruby irb">
174 <primary sortas="b-irb">irb</primary>
175 </indexterm>
176 </listitem>
177 </varlistentry>
178
179 <varlistentry id="erb">
180 <term><command>erb</command></term>
181 <listitem>
182 <para>
183 is Tiny eRuby. It interprets a
184 <application>Ruby</application> code embedded text file.
185 </para>
186 <indexterm zone="ruby erb">
187 <primary sortas="b-erb">erb</primary>
188 </indexterm>
189 </listitem>
190 </varlistentry>
191
192 <varlistentry id="ri">
193 <term><command>ri</command></term>
194 <listitem>
195 <para>
196 displays documentation from a database on
197 <application>Ruby</application> classes, modules and methods.
198 </para>
199 <indexterm zone="ruby ri">
200 <primary sortas="b-ri">ri</primary>
201 </indexterm>
202 </listitem>
203 </varlistentry>
204
205 <varlistentry id="libruby">
206 <term><filename role="libraryfile">libruby.so</filename></term>
207 <listitem>
208 <para>
209 contains the API functions required by <application>Ruby</application>.
210 </para>
211 <indexterm zone="ruby libruby">
212 <primary sortas="c-libruby">libruby.so</primary>
213 </indexterm>
214 </listitem>
215 </varlistentry>
216
217 </variablelist>
218
219 </sect2>
220
221</sect1>
Note: See TracBrowser for help on using the repository browser.