📄 appendix-e.html
字号:
<HTML>
<HEAD>
<TITLE>Special Edition Using Linux, Fourth Edition:Appendix E Installing StarOffice</TITLE>
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<SCRIPT>
<!--
function displayWindow(url, width, height) {
var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=1,scrollbars=yes');
}
//-->
</SCRIPT>
</HEAD>
-->
<!--ISBN=0789717468//-->
<!--TITLE=Special Edition Using Linux, Fourth Edition//-->
<!--AUTHOR=Jack Tackett//-->
<!--AUTHOR=Jr.//-->
<!--AUTHOR=Steve Burnett//-->
<!--PUBLISHER=Macmillan Computer Publishing//-->
<!--IMPRINT=Que//-->
<!--APPENDIX=E//-->
<!--PAGES=807-822//-->
<!--UNASSIGNED1//-->
<!--UNASSIGNED2//-->
<CENTER>
<TABLE BORDER>
<TR>
<TD><A HREF="ewtoc.html">Table of Contents</A></TD>
</TR>
</TABLE>
</CENTER>
<P><BR></P>
<H2><A NAME="Heading1"></A><FONT COLOR="#000077">Appendix E<BR>Installing StarOffice
</FONT></H2>
<DL>
<DT><B><BIG>I</BIG>n this appendix
</B><DT>Reviewing Linux System Requirements
<DT>Starting Setup for a Single-User Installation
<DT>Preparing for a Network Installation
<DT>Updating or Removing the StarOffice Installation
</DL>
<H3><A NAME="Heading2"></A><FONT COLOR="#000077">Reviewing Linux System Requirements</FONT></H3>
<P>If you follow the information in this section, you should be able to get StarOffice running on basically any Linux system that meets the listed requirements. The system requirements for installing StarOffice 4.0 are listed in Table E.1.
</P>
<TABLE WIDTH="100%"><CAPTION ALIGN=LEFT><B>Table E.1</B> System Requirements for Installing StarOffice for Linux
<TR>
<TH COLSPAN="2"><HR>
<TR>
<TH WIDTH="40%" ALIGN="LEFT">Object
<TH WIDTH="60%" ALIGN="LEFT">Requirement
<TR>
<TH COLSPAN="2"><HR>
<TR>
<TD>Linux kernel version
<TD>2.0.x (or later)
<TR>
<TD VALIGN="TOP">Linux library version
<TD>libc 5.4.22 or higher up to version 6.x (libc 6.x can be installed on your Linux system, but the earlier version must be available to StarOffice)
<TR>
<TD>System memory
<TD>32MB RAM
<TR>
<TD>Hard disk space
<TD>11–120MB depending on installation type
<TR>
<TD>X Windows system graphics
<TD>256 or more colors or grayscales
<TR>
<TD COLSPAN="2"><HR>
</TABLE>
<P>These requirements are straightforward. Pay special attention to the fact that StarOffice requires a fair amount of memory and hard disk space compared to many Linux programs. The more you have, the more smoothly StarOffice will run.
</P>
<H4 ALIGN="LEFT"><A NAME="Heading3"></A><FONT COLOR="#000077">Checking Your Environment Variables</FONT></H4>
<P>StarOffice uses the LANG environment variable to determine which international number, currency, and dictionary settings to use. The default setting is en_US for U.S. English. If you need to change to British English, enter the following command from any command line before running StarOffice:
</P>
<!-- CODE SNIP //-->
<PRE>
export LANG=en_GB
</PRE>
<!-- END CODE SNIP //-->
<H4 ALIGN="LEFT"><A NAME="Heading4"></A><FONT COLOR="#000077">Single-User and Network (Multiuser) Installations</FONT></H4>
<P>One of the benefits of using Linux is the true multiuser capability of the operating system. Several people can be logged in across a network and use the files and services from a single Linux system.
</P>
<P>StarOffice allows for a network installation, which enables you to install StarOffice in a main location (such as /opt or /usr/local) and then install a relatively small (11MB) client portion that allows a user to access the StarOffice installation without your having to install the entire (huge) product in every home directory.</P>
<BLOCKQUOTE>
<P><FONT SIZE="-1"><HR><B>TIP: </B>Even if you’re just using Linux as your desktop, using a network installation is an easy way to allow multiple user accounts to access StarOffice without eating up 100MB for each user’s copy.<HR></FONT>
</BLOCKQUOTE>
<H4 ALIGN="LEFT"><A NAME="Heading5"></A><FONT COLOR="#000077">Checking File Permissions and Library Versions</FONT></H4>
<P>With that said, installing StarOffice for Linux is simple. Most problems occur for one of these reasons:
</P>
<DL>
<DD><B>•</B> You don’t have sufficient file permissions to create the directories and files needed during installation.
<DD><B>•</B> You don’t have the correct libraries installed to run either the setup program or StarOffice itself.
</DL>
<P>If you use a single-user installation, you’ll be installing StarOffice in your home directory, so permission to create files is no problem.
</P>
<P>If you intend to use a network installation, you’ll probably want to be logged in as root (or as a user with some system administration rights) to create the StarOffice installation. The directory in which you install StarOffice must be accessible for Read access by all the users who will be running StarOffice from that location. The commands to set the permissions for the StarOffice directory are provided later in this appendix when the setup procedure is described.</P>
<P>If you’re installing StarOffice on a Linux system other than the one included on the CD-ROM in this book, you may need to install the version of the system libraries used by StarOffice. You can check which version you have installed by executing these commands:</P>
<!-- CODE SNIP //-->
<PRE>
$ <B>cd /usr/lib</B>
$ <B>ls –l libc*</B>
lrwxrwxrwx 1 root root 19 Aug 11 1997 /usr/lib/libc.so ->
/lib/libc.so.5.4.22
-r--r--r-- 1 root root 19354 Nov 7 1997 /usr/lib/libcomm.so
</PRE>
<!-- END CODE SNIP //-->
<BLOCKQUOTE>
<P><FONT SIZE="-1"><HR><B>TIP: </B>If you’re not using a Linux system from Caldera, you can also try this command, which often works on Red Hat or Slackware Linux systems:
<!-- CODE SNIP //-->
<PRE>
$ /sbin/ldconfig -Nv | grep libc.so.5
</PRE>
<!-- END CODE SNIP //-->
<HR></FONT>
</BLOCKQUOTE>
<P>If the listing that appears includes libc5.4.22 (or a later version of libc5.x), as the preceding listing does, StarOffice will function correctly. If it does not, you should install it from the original CDs that accompany your Linux distribution or from an updated CD-ROM version of Linux.
</P>
<BLOCKQUOTE>
<P><FONT SIZE="-1"><HR><B>CAUTION: </B><BR>You can download different library versions from this Web site:<DL>
<DD><A HREF="http://sunsite.unc.edu/pub.linux/gcc">http://sunsite.unc.edu/pub.Linux/GCC</A>
</DL>
<P>But it’s much safer to use an official tested library that you get from your Linux vendor.<HR></FONT>
</BLOCKQUOTE>
</P>
<P>After you download and install the correct version of libc (described in the following section), execute this command to make it accessible for your system:</P>
<!-- CODE SNIP //-->
<PRE>
# <B>ldconfig</B>
</PRE>
<!-- END CODE SNIP //-->
<H4 ALIGN="LEFT"><A NAME="Heading6"></A><FONT COLOR="#000077">Using Different Linux Systems</FONT></H4>
<P>StarOffice for Linux was “sponsored” by Caldera, Inc., one of the leading producers of Linux products. Caldera, Inc. worked with Star Division to have the StarOffice suite ported to Linux. This means that StarOffice installs effortlessly on Caldera OpenLinux systems, but it can require a little adjustment to work correctly on other Linux systems, such as Debian or Red Hat Linux.
</P>
<P>Although Caldera OpenLinux uses the RPM software package management tool (which relies on the RPM utility), StarOffice for Linux uses a separate installation program described later in this appendix. You don’t need to have the RPM tool installed on your Linux system to install StarOffice.</P>
<P>If the library version and other system requirements described in Table E. 1 are met, StarOffice should run without a problem on any Linux system.</P>
<P>If you have a different version of the system libraries installed, you’ll probably want to use the libc version 5.4.22 libraries only for StarOffice without having them available to other programs on your Linux system. This is the procedure provided in the section that follows.</P>
<BLOCKQUOTE>
<P><FONT SIZE="-1"><HR><B>CAUTION: </B><BR>Replacing libraries on a stable Linux system is not a good idea. Instead, follow the steps for making the needed library version available only to StarOffice.<HR></FONT>
</BLOCKQUOTE>
<P>To install the libc version for StarOffice so that it’s used only for StarOffice, follow these steps before starting the setup program:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -