source: general/prog/ruby.xml@ ec6a601

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 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 ec6a601 was ec6a601, checked in by Randy McMurchy <randy@…>, 18 years ago

Updated to Ruby-1.8.4

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

  • Property mode set to 100644
File size: 5.8 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY ruby-download-http "http://www.ibiblio.org/pub/languages/ruby/ruby/ruby-&ruby-version;.tar.gz">
8 <!ENTITY ruby-download-ftp "ftp://ftp.ruby-lang.org/pub/ruby/ruby-&ruby-version;.tar.gz">
9 <!ENTITY ruby-md5sum "bd8c2e593e1fa4b01fd98eaf016329bb">
10 <!ENTITY ruby-size "4.3 MB">
11 <!ENTITY ruby-buildsize "65.9 MB">
12 <!ENTITY ruby-time "1.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 <keywordset>
22 <keyword role="package">ruby-&ruby-version;.tar</keyword>
23 <keyword role="ftpdir">ruby</keyword>
24 </keywordset>
25 </sect1info>
26
27 <title>Ruby-&ruby-version;</title>
28
29 <indexterm zone="ruby">
30 <primary sortas="a-Ruby">Ruby</primary>
31 </indexterm>
32
33 <sect2 role="package">
34 <title>Introduction to Ruby</title>
35
36 <para>The <application>Ruby</application> package contains the
37 <application>Ruby</application> development environment. This
38 is useful for object-oriented scripting.</para>
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>Download (HTTP): <ulink url="&ruby-download-http;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download (FTP): <ulink url="&ruby-download-ftp;"/></para>
47 </listitem>
48 <listitem>
49 <para>Download MD5 sum: &ruby-md5sum;</para>
50 </listitem>
51 <listitem>
52 <para>Download size: &ruby-size;</para>
53 </listitem>
54 <listitem>
55 <para>Estimated disk space required: &ruby-buildsize;</para>
56 </listitem>
57 <listitem>
58 <para>Estimated build time: &ruby-time;</para>
59 </listitem>
60 </itemizedlist>
61
62 <bridgehead renderas="sect3">Ruby Dependencies</bridgehead>
63
64 <bridgehead renderas="sect4">Optional</bridgehead>
65 <para role="optional"><xref linkend="openssl"/>,
66 <xref linkend="tk"/>, and
67 <!-- <xref linkend="db"/>, -->
68 <xref linkend="gdbm"/></para>
69
70 </sect2>
71
72 <sect2 role="installation">
73 <title>Installation of Ruby</title>
74
75 <para>Install <application>Ruby</application> by running the following
76 commands:</para>
77
78<screen><userinput>./configure --prefix=/usr \
79 --enable-shared \
80 --enable-pthread \
81 --enable-install-doc &amp;&amp;
82make</userinput></screen>
83
84 <para>To test the results, issue: <command>make test</command>.</para>
85
86 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
87
88<screen role="root"><userinput>make install</userinput></screen>
89
90 </sect2>
91
92 <sect2 role="commands">
93 <title>Command Explanations</title>
94
95 <para><parameter>--enable-shared</parameter>: This parameter builds the
96 <filename class='libraryfile'>libruby</filename> shared library.</para>
97
98 <para><parameter>--enable-pthread</parameter>: This parameter links the
99 threading library into the <application>Ruby</application> build.</para>
100
101 </sect2>
102
103 <sect2 role="content">
104 <title>Contents</title>
105
106 <segmentedlist>
107 <segtitle>Installed Programs</segtitle>
108 <segtitle>Installed Libraries</segtitle>
109 <segtitle>Installed Directories</segtitle>
110
111 <seglistitem>
112 <seg>ruby, irb, erb, rdoc, ri, and testrb</seg>
113 <seg>libruby.so and numerous modules located in the
114 <filename class='directory'>/usr/lib/ruby</filename> hierarchy.</seg>
115 <seg>/usr/lib/ruby and /usr/share/ri</seg>
116 </seglistitem>
117 </segmentedlist>
118
119 <variablelist>
120 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
121 <?dbfo list-presentation="list"?>
122 <?dbhtml list-presentation="table"?>
123
124 <varlistentry id="ruby-prog">
125 <term><command>ruby</command></term>
126 <listitem>
127 <para>is an interpreted scripting language for quick
128 and easy object-oriented programming.</para>
129 <indexterm zone="ruby ruby-prog">
130 <primary sortas="b-ruby">ruby</primary>
131 </indexterm>
132 </listitem>
133 </varlistentry>
134
135 <varlistentry id="irb">
136 <term><command>irb</command></term>
137 <listitem>
138 <para>is the interactive interface for
139 <application>Ruby</application>.</para>
140 <indexterm zone="ruby irb">
141 <primary sortas="b-irb">irb</primary>
142 </indexterm>
143 </listitem>
144 </varlistentry>
145
146 <varlistentry id="erb">
147 <term><command>erb</command></term>
148 <listitem>
149 <para>is Tiny eRuby. It interprets a
150 <application>Ruby</application> code embedded text file.</para>
151 <indexterm zone="ruby erb">
152 <primary sortas="b-erb">erb</primary>
153 </indexterm>
154 </listitem>
155 </varlistentry>
156
157 <varlistentry id="ri">
158 <term><command>ri</command></term>
159 <listitem>
160 <para>displays documentation from a database on
161 <application>Ruby</application> classes, modules and methods.</para>
162 <indexterm zone="ruby ri">
163 <primary sortas="b-ri">ri</primary>
164 </indexterm>
165 </listitem>
166 </varlistentry>
167
168 <varlistentry id="libruby">
169 <term><filename role="library">libruby.so</filename></term>
170 <listitem>
171 <para>contains the API functions required
172 by <application>Ruby</application>.</para>
173 <indexterm zone="ruby libruby">
174 <primary sortas="c-libruby">libruby.so</primary>
175 </indexterm>
176 </listitem>
177 </varlistentry>
178
179 </variablelist>
180
181 </sect2>
182
183</sect1>
Note: See TracBrowser for help on using the repository browser.