source: general/prog/ruby.xml@ 6a2bce2

10.0 10.1 11.0 6.0 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 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 6a2bce2 was 6a2bce2, checked in by Randy McMurchy <randy@…>, 17 years ago

Cleaned up indexing tags (should all be correct now)

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

  • Property mode set to 100644
File size: 4.4 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/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 "36.2 MB">
12<!ENTITY ruby-time "0.62 SBU">
13]>
14
15<sect1 id="ruby-package" xreflabel="Ruby-&ruby-version;">
16<sect1info>
17<othername>$LastChangedBy$</othername>
18<date>$Date$</date>
19</sect1info>
20<?dbhtml filename="ruby.html"?>
21<title>Ruby-&ruby-version;</title>
22<indexterm zone="ruby-package">
23<primary sortas="a-Ruby">Ruby</primary></indexterm>
24
25<sect2>
26<title>Introduction to <application>Ruby</application></title>
27
28<para>The <application>Ruby</application> package contains the
29<application>Ruby</application> development environment. This
30is useful for object-oriented scripting.</para>
31
32<sect3><title>Package information</title>
33<itemizedlist spacing='compact'>
34<listitem><para>Download (HTTP):
35<ulink url="&ruby-download-http;"/></para></listitem>
36<listitem><para>Download (FTP):
37<ulink url="&ruby-download-ftp;"/></para></listitem>
38<listitem><para>Download MD5 sum: &ruby-md5sum;</para></listitem>
39<listitem><para>Download size: &ruby-size;</para></listitem>
40<listitem><para>Estimated disk space required:
41&ruby-buildsize;</para></listitem>
42<listitem><para>Estimated build time:
43&ruby-time;</para></listitem></itemizedlist>
44</sect3>
45
46<sect3><title><application>Ruby</application> dependencies</title>
47<sect4><title>Optional</title>
48<para><xref linkend="openssl-package"/>,
49<xref linkend="tk"/>,
50<xref linkend="db"/>,
51<xref linkend="gdbm"/></para>
52</sect4>
53</sect3>
54
55</sect2>
56
57<sect2>
58<title>Installation of <application>Ruby</application></title>
59
60<para>Install <application>Ruby</application> by running the following
61commands:</para>
62
63<screen><userinput><command>./configure --prefix=/usr \
64 --enable-shared --enable-pthread &amp;&amp;
65make &amp;&amp;
66make install &amp;&amp;
67make install-doc</command></userinput></screen>
68
69</sect2>
70
71<sect2>
72<title>Command explanations</title>
73
74<para><parameter>--enable-shared</parameter>: This parameter builds the
75<filename class='libraryfile'>libruby</filename> shared library.</para>
76
77<para><parameter>--enable-pthread</parameter>: This parameter links the
78threading library into the <application>Ruby</application> build.</para>
79
80</sect2>
81
82<sect2>
83<title>Contents</title>
84
85<segmentedlist>
86<segtitle>Installed Program</segtitle>
87<segtitle>Installed Library</segtitle>
88<segtitle>Installed Directories</segtitle>
89<seglistitem>
90<seg>ruby, irb, erb, rdoc, ri and testrb</seg>
91<seg>libruby.so</seg>
92<seg>/usr/lib/ruby and /usr/share/ri</seg></seglistitem>
93</segmentedlist>
94
95<variablelist>
96<bridgehead renderas="sect3">Short Descriptions</bridgehead>
97<?dbfo list-presentation="list"?>
98
99<varlistentry id="ruby">
100<term><command>ruby</command></term>
101<listitem><para>is an interpreted scripting language for quick
102and easy object-oriented programming.</para>
103<indexterm zone="ruby-package ruby">
104<primary sortas="b-ruby">ruby</primary></indexterm>
105</listitem>
106</varlistentry>
107
108<varlistentry id="irb">
109<term><command>irb</command></term>
110<listitem><para>is the interactive interface for
111<application>Ruby</application>.</para>
112<indexterm zone="ruby-package irb">
113<primary sortas="b-irb">irb</primary></indexterm>
114</listitem>
115</varlistentry>
116
117<varlistentry id="erb">
118<term><command>erb</command></term>
119<listitem><para>is Tiny eRuby. It interprets a
120<application>Ruby</application> code embedded text file.</para>
121<indexterm zone="ruby-package erb">
122<primary sortas="b-erb">erb</primary></indexterm>
123</listitem>
124</varlistentry>
125
126<varlistentry id="ri">
127<term><command>ri</command></term>
128<listitem><para>displays documentation from a database on
129<application>Ruby</application> classes, modules and methods.</para>
130<indexterm zone="ruby-package ri">
131<primary sortas="b-ri">ri</primary></indexterm>
132</listitem>
133</varlistentry>
134
135<varlistentry id="libruby">
136<term><filename role="library">libruby.so</filename></term>
137<listitem><para>contains the <acronym>API</acronym> functions required
138by <application>Ruby</application>.</para>
139<indexterm zone="ruby-package libruby">
140<primary sortas="c-libruby">libruby.so</primary></indexterm>
141</listitem>
142</varlistentry>
143</variablelist>
144
145</sect2>
146
147</sect1>
148
Note: See TracBrowser for help on using the repository browser.