source: general/prog/ruby.xml@ 4ba4e7c

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

Added additional parameters to configure and added dependencies to Ruby instructions

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

  • Property mode set to 100644
File size: 2.9 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 "http://rubyforge.org/download.php/262/ruby-&ruby-version;.tar.gz">
8<!ENTITY ruby-download-ftp " ">
9<!ENTITY ruby-size "2.6 MB">
10<!ENTITY ruby-buildsize "36.2 MB">
11<!ENTITY ruby-time "0.62 SBU">
12]>
13
14<sect1 id="ruby" xreflabel="Ruby-&ruby-version;">
15<sect1info>
16<othername>$LastChangedBy$</othername>
17<date>$Date$</date>
18</sect1info>
19<?dbhtml filename="ruby.html"?>
20<title>Ruby-&ruby-version;</title>
21
22<sect2>
23<title>Introduction to <application>Ruby</application></title>
24
25<para>The <application>Ruby</application> package contains the
26<application>Ruby</application> development environment. This
27is useful for object-oriented scripting.</para>
28
29<sect3><title>Package information</title>
30<itemizedlist spacing='compact'>
31<listitem><para>Download (HTTP): <ulink url="&ruby-download-http;"/></para></listitem>
32<listitem><para>Download (FTP): <ulink url="&ruby-download-ftp;"/></para></listitem>
33<listitem><para>Download size: &ruby-size;</para></listitem>
34<listitem><para>Estimated disk space required: &ruby-buildsize;</para></listitem>
35<listitem><para>Estimated build time: &ruby-time;</para></listitem></itemizedlist>
36</sect3>
37
38<sect3><title><application>Ruby</application> dependencies</title>
39<sect4><title>Optional</title>
40<para><xref linkend="openssl"/>,
41<xref linkend="tk"/>,
42<xref linkend="db"/>,
43<xref linkend="gdbm"/></para>
44</sect4>
45</sect3>
46
47</sect2>
48
49<sect2>
50<title>Installation of <application>Ruby</application></title>
51
52<para>Install <application>Ruby</application> by running the following
53commands:</para>
54
55<screen><userinput><command>./configure --prefix=/usr \
56 --enable-shared --enable-pthread &amp;&amp;
57make &amp;&amp;
58make install</command></userinput></screen>
59
60</sect2>
61
62<sect2>
63<title>Command explanations</title>
64
65<para><parameter>--enable-shared</parameter>: This parameter builds the
66<filename class='libraryfile'>libruby</filename> shared library.</para>
67
68<para><parameter>--enable-pthread</parameter>: This parameter links the
69threading library into the <application>Ruby</application> build.</para>
70
71</sect2>
72
73<sect2>
74<title>Contents</title>
75
76<para>The <application>Ruby</application> package contains
77<command>ruby</command>,
78<command>irb</command>,
79<command>erb</command>,
80<command>rdoc</command>,
81<command>ri</command>,
82<command>testrb</command>,
83<filename class='libraryfile'>libruby</filename> libraries and
84numerous scripts and modules.</para>
85
86</sect2>
87
88<sect2><title>Description</title>
89
90<sect3><title>ruby</title>
91<para><command>ruby</command> is an interpreted scripting language for quick
92and easy object-oriented programming.</para></sect3>
93
94<sect3><title>irb</title>
95<para><command>irb</command> is the interactive interface for ruby.</para>
96</sect3>
97
98</sect2>
99
100</sect1>
101
Note: See TracBrowser for help on using the repository browser.