source: general/prog/ruby.xml@ ddf46c4

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 ddf46c4 was 0455ea7, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

Updates to yelp-3.10.2, cups-filters-1.0.46, gparted-0.18.0, hicolor-icon-theme-0.13, mpg123-1.18.1, vlc-2.1.4, ruby-2.1.1, Subversion 1.8.8, nasm-2.11.02 and wireshark-1.10.6.

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

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