mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-10 13:04:42 +08:00
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2880 af4574ff-66df-0310-9fd7-8a98e5e911e0
102 lines
2.9 KiB
XML
102 lines
2.9 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY ruby-download-http "http://rubyforge.org/download.php/262/ruby-&ruby-version;.tar.gz">
|
|
<!ENTITY ruby-download-ftp " ">
|
|
<!ENTITY ruby-size "2.6 MB">
|
|
<!ENTITY ruby-buildsize "36.2 MB">
|
|
<!ENTITY ruby-time "0.62 SBU">
|
|
]>
|
|
|
|
<sect1 id="ruby" xreflabel="Ruby-&ruby-version;">
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
<?dbhtml filename="ruby.html"?>
|
|
<title>Ruby-&ruby-version;</title>
|
|
|
|
<sect2>
|
|
<title>Introduction to <application>Ruby</application></title>
|
|
|
|
<para>The <application>Ruby</application> package contains the
|
|
<application>Ruby</application> development environment. This
|
|
is useful for object-oriented scripting.</para>
|
|
|
|
<sect3><title>Package information</title>
|
|
<itemizedlist spacing='compact'>
|
|
<listitem><para>Download (HTTP): <ulink url="&ruby-download-http;"/></para></listitem>
|
|
<listitem><para>Download (FTP): <ulink url="&ruby-download-ftp;"/></para></listitem>
|
|
<listitem><para>Download size: &ruby-size;</para></listitem>
|
|
<listitem><para>Estimated disk space required: &ruby-buildsize;</para></listitem>
|
|
<listitem><para>Estimated build time: &ruby-time;</para></listitem></itemizedlist>
|
|
</sect3>
|
|
|
|
<sect3><title><application>Ruby</application> dependencies</title>
|
|
<sect4><title>Optional</title>
|
|
<para><xref linkend="openssl"/>,
|
|
<xref linkend="tk"/>,
|
|
<xref linkend="db"/>,
|
|
<xref linkend="gdbm"/></para>
|
|
</sect4>
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Installation of <application>Ruby</application></title>
|
|
|
|
<para>Install <application>Ruby</application> by running the following
|
|
commands:</para>
|
|
|
|
<screen><userinput><command>./configure --prefix=/usr \
|
|
--enable-shared --enable-pthread &&
|
|
make &&
|
|
make install</command></userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Command explanations</title>
|
|
|
|
<para><parameter>--enable-shared</parameter>: This parameter builds the
|
|
<filename class='libraryfile'>libruby</filename> shared library.</para>
|
|
|
|
<para><parameter>--enable-pthread</parameter>: This parameter links the
|
|
threading library into the <application>Ruby</application> build.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Contents</title>
|
|
|
|
<para>The <application>Ruby</application> package contains
|
|
<command>ruby</command>,
|
|
<command>irb</command>,
|
|
<command>erb</command>,
|
|
<command>rdoc</command>,
|
|
<command>ri</command>,
|
|
<command>testrb</command>,
|
|
<filename class='libraryfile'>libruby</filename> libraries and
|
|
numerous scripts and modules.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2><title>Description</title>
|
|
|
|
<sect3><title>ruby</title>
|
|
<para><command>ruby</command> is an interpreted scripting language for quick
|
|
and easy object-oriented programming.</para></sect3>
|
|
|
|
<sect3><title>irb</title>
|
|
<para><command>irb</command> is the interactive interface for ruby.</para>
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|
|
|