source: general/prog/ruby.xml@ 40d6bab

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.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 40d6bab was 40d6bab, checked in by Randy McMurchy <randy@…>, 19 years ago

Fixed typos in various Chapter 12 package instructions

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

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