Index: head/en_US.ISO8859-1/books/handbook/desktop/chapter.xml
===================================================================
--- head/en_US.ISO8859-1/books/handbook/desktop/chapter.xml (revision 46077)
+++ head/en_US.ISO8859-1/books/handbook/desktop/chapter.xml (revision 46078)
@@ -1,1140 +1,1128 @@
Desktop ApplicationsSynopsisWhile &os; is popular as a server for its performance and
stability, it is also suited for day-to-day use as a desktop.
With over &os.numports; applications available as &os; packages
or ports, it is easy to build a customized desktop that runs
a wide variety of desktop applications. This chapter
demonstrates how to install numerous desktop applications,
including web browsers, productivity software, document viewers,
and financial software.Users who prefer to install a pre-built desktop version
of FreeBSD rather than configuring one from scratch should
refer to the pcbsd.org
website.Readers of this chapter should know how to:Install additional software using packages or
ports as described in .Install X and a window manager as described in .For information on how to configure a multimedia
environment, refer to .Browsersbrowsersweb&os; does not come with a pre-installed web browser.
Instead, the www
category of the Ports Collection contains many browsers which
can be installed as a package or compiled from the Ports
Collection.The KDE and
GNOME desktop environments include
their own HTML browser. Refer to
for more information on how to set up these complete
desktops.Some light-weight browsers include
www/dillo2, www/links, and
www/w3m.This section demonstrates how to install the following
popular web browsers and indicates if the application is
resource-heavy, takes time to compile from ports, or has any
major dependencies.Application NameResources NeededInstallation from PortsNotesFirefoxmediumheavy&os;, &linux;, and localized versions are
availableOperalightlight&os; and &linux; versions are availableKonquerormediumheavyRequires KDE
librariesChromiummediumheavyRequires Gtk+FirefoxFirefoxFirefox is an open source
browser that is fully ported to &os;. It features a
standards-compliant HTML display engine, tabbed browsing,
popup blocking, extensions, improved security, and more.
Firefox is based on the
Mozilla codebase.To install the package of the latest release version of
Firefox, type:&prompt.root; pkg install firefoxTo instead install Firefox
Extended Support Release (ESR) version, use:&prompt.root; pkg install firefox-esrLocalized versions are available in
www/firefox-i18n and
www/firefox-esr-i18n.The Ports Collection can instead be used to compile the
desired version of Firefox from
source code. This example builds
www/firefox, where
firefox can be replaced with the ESR or
localized version to install.&prompt.root; cd /usr/ports/www/firefox
&prompt.root; make install cleanFirefox and &java; PluginThe installation of
Firefox does not include &java;
support. However, java/icedtea-web
provides a free software web browser plugin for running Java
applets. It can be installed as a package. To alternately
compile the port:&prompt.root; cd /usr/ports/java/icedtea-web
&prompt.root; make install cleanKeep the default configuration options when compiling the
port.Once installed, start firefox,
enter about:plugins in the location bar and
press Enter. A page listing the installed
plugins will be displayed. The
&java; plugin should be
listed.If the browser is unable to find the plugin, each user
will have to run the following command and relaunch the
browser:&prompt.user; ln -s /usr/local/lib/IcedTeaPlugin.so \
$HOME/.mozilla/plugins/Firefox and &adobe; &flash; PluginFlashA native &adobe; &flash; plugin is not available for &os;.
However, a software wrapper for running the &linux; version
of the plugin is available. This wrapper also provides
support for other browser plugins such as &realplayer;.To install and enable this plugin, perform these
steps:
- Install the www/nspluginwrapper
+ Install www/nspluginwrapper from the
port. Due to licensing restrictions, a package is not
available. This port requires
- emulators/linux_base-f10 which is a
- large port.
+ emulators/linux_base-c6.
- Install the
- www/linux-f10-flashplugin11 port. Due
- to licensing restrictions, a package is not
- available.
+ Install www/linux-c6-flashplugin11
+ from the port. Due to licensing restrictions, a package
+ is not available.
- &prompt.root; ln -s /usr/local/lib/browser_plugins/linux-f10-flashplugin/libflashplayer.so \
- /usr/local/lib/browser_plugins/
-
- Create the
- /usr/local/lib/browser_plugins
- directory if it is not already present.
-
-
- Before the plugin is first used, each user must
run:&prompt.user; nspluginwrapper -v -a -iWhen the plugin port has been updated and reinstalled,
each user must run:&prompt.user; nspluginwrapper -v -a -uStart the browser, enter
about:plugins in the location bar and
press Enter. A list of all the currently
available plugins will be shown.Firefox and Swfdec &flash; PluginSwfdec is a decoder and
renderer for &flash; animations.
Swfdec-Mozilla is a plugin for
Firefox browsers that uses the
Swfdec library for playing SWF files.To install the package:&prompt.root; pkg install swfdec-pluginIf the package is not available, compile and install it
from the Ports Collection:&prompt.root; cd /usr/ports/www/swfdec-plugin
&prompt.root; make install cleanRestart the browser to activate this plugin.OperaOperaOpera is a full-featured and
standards-compliant browser which is still lightweight and
fast. It comes with a built-in mail and news reader, an IRC
client, an RSS/Atom feeds reader, and more. It is available
as a native &os; version and as a version that runs under
&linux; emulation.This command installs the package of the &os; version of
Opera. Replace
opera with linux-opera
to instead install the &linux; version.&prompt.root; pkg install operaAlternately, install either version through the Ports
Collection. This example compiles the native version:&prompt.root; cd /usr/ports/www/opera
&prompt.root; make install cleanTo install the &linux; version, substitute
linux-opera in place of
opera.To install &adobe; &flash; plugin support, first compile
- the www/linux-f10-flashplugin11 port,
- as a package is not available due to licensing restrictions.
- Then install either the
- www/opera-linuxplugins port or package.
+ the www/linux-c6-flashplugin11 port.
+ Licensing restrictions prevent making a package available.
+ Then install www/opera-linuxplugins.
This example compiles both applications from ports:
- &prompt.root; cd /usr/ports/www/linux-f10-flashplugin11
+ &prompt.root; cd /usr/ports/www/linux-c6-flashplugin11
&prompt.root; make install clean
&prompt.root; cd /usr/ports/www/opera-linuxplugins
&prompt.root; make install cleanOnce installed, check the presence of the plugin by
starting the browser, entering
opera:plugins in the location bar and
pressing Enter. A list should appear with
all the currently available plugins.To add the &java; plugin,
follow the instructions in .KonquerorKonquerorKonqueror is more than a web
browser as it is also a file manager and a multimedia
viewer. It is included in the
x11/kde4-baseapps package or port.Konqueror supports WebKit as
well as its own KHTML. WebKit is a rendering engine used by
many modern browsers including Chromium. To use WebKit with
Konqueror on &os;, install the
www/kwebkitpart package
or port. This example compiles the port:&prompt.root; cd /usr/ports/www/kwebkitpart
&prompt.root; make install cleanTo enable WebKit within
Konqueror, click
Settings, Configure Konqueror.
In the General settings page, click the
drop-down menu next to Default web browser
engine and change KHTML to
WebKit.Konqueror also supports
&flash;. A How To
guide for getting &flash; support
on Konqueror is available at http://freebsd.kde.org/howtos/konqueror-flash.php.ChromiumChromiumChromium is an open source
browser project that aims to build a safer, faster, and more
stable web browsing experience.
Chromium features tabbed browsing,
popup blocking, extensions, and much more.
Chromium is the open source project
upon which the Google Chrome web browser is based.Chromium can be installed as a
package by typing:&prompt.root; pkg install chromiumAlternatively, Chromium can be
compiled from source using the Ports Collection:&prompt.root; cd /usr/ports/www/chromium
&prompt.root; make install cleanThe executable for Chromium
is /usr/local/bin/chrome, not
/usr/local/bin/chromium.Chromium and &java; PluginThe installation of
Chromium does not include &java;
support. To install &java; plugin support, follow the
instructions in .Once &java; support is installed, start
Chromium and enter
about:plugins in the address bar.
IcedTea-Web should be listed as one of the installed
plugins.If Chromium does not display
the IcedTea-Web plugin, run the following commands and
restart the web browser:&prompt.root; mkdir -p /usr/local/share/chromium/plugins
&prompt.root; ln -s /usr/local/lib/IcedTeaPlugin.so \
/usr/local/share/chromium/plugins/Chromium and &adobe; &flash; PluginConfiguring Chromium and
&adobe; &flash; is similar to the instructions in
. No additional
configuration should be necessary, since
Chromium is able to use some
plugins from other browsers.ProductivityWhen it comes to productivity, new users often look for an
office suite or an easy-to-use word processor. While some
desktop environments like
KDE provide an office suite, there
is no default productivity package. Several office suites and
graphical word processors are available for &os;, regardless
of the installed window manager.This section demonstrates how to install the following
popular productivity software and indicates if the application
is resource-heavy, takes time to compile from ports, or has any
major dependencies.Application NameResources NeededInstallation from PortsMajor DependenciesCalligralightheavyKDEAbiWordlightlightGtk+ or
GNOMEThe GimplightheavyGtk+Apache
OpenOfficeheavyhuge&jdk; and
MozillaLibreOfficesomewhat heavyhugeGtk+, or
KDE/
GNOME, or
&jdk;CalligraCalligraoffice suiteCalligraThe KDE desktop environment includes
an office suite which can be installed separately from
KDE.
Calligra includes standard
components that can be found in other office suites.
Words is the word processor,
Sheets is the spreadsheet program,
Stage manages slide presentations,
and Karbon is used to draw
graphical documents.In &os;, editors/calligra can be
installed as a package or a port. To install the
package:&prompt.root; pkg install calligraIf the package is not available, use the Ports Collection
instead:&prompt.root; cd /usr/ports/editors/calligra
&prompt.root; make install cleanAbiWordAbiWordAbiWord is a free word
processing program similar in look and feel to
µsoft; Word. It is fast,
contains many features, and is user-friendly.AbiWord can import or export
many file formats, including some proprietary ones like
µsoft; .rtf.To install the AbiWord
package:&prompt.root; pkg install abiwordIf the package is not available, it can be compiled from
the Ports Collection:&prompt.root; cd /usr/ports/editors/abiword
&prompt.root; make install cleanThe GIMPThe GIMPFor image authoring or picture retouching,
The GIMP provides a sophisticated
image manipulation program. It can be used as a simple paint
program or as a quality photo retouching suite. It supports a
large number of plugins and features a scripting interface.
The GIMP can read and write a wide
range of file formats and supports interfaces with scanners
and tablets.To install the package:&prompt.root; pkg install gimpAlternately, use the Ports Collection:&prompt.root; cd /usr/ports/graphics/gimp
&prompt.root; make install cleanThe graphics category (freebsd.org/ports/graphics.html)
of the Ports Collection contains several
GIMP-related plugins, help files,
and user manuals.Apache OpenOfficeApache OpenOfficeoffice suiteApache OpenOfficeApache OpenOffice is an open
source office suite which is developed under the wing of the
Apache Software Foundation's Incubator. It includes all of
the applications found in a complete office productivity
suite: a word processor, spreadsheet, presentation manager,
and drawing program. Its user interface is similar to other
office suites, and it can import and export in various popular
file formats. It is available in a number of different
languages and internationalization has been extended to
interfaces, spell checkers, and dictionaries.The word processor of Apache
OpenOffice uses a native XML file format for
increased portability and flexibility. The spreadsheet
program features a macro language which can be interfaced
with external databases. Apache
OpenOffice is stable and runs natively on
&windows;, &solaris;, &linux;, &os;, and &macos; X.
More information about Apache
OpenOffice can be found at openoffice.org.
For &os; specific information refer to porting.openoffice.org/freebsd/.To install the Apache
OpenOffice package:&prompt.root; pkg install apache-openofficeOnce the package is installed, type the following command
to launch Apache OpenOffice:&prompt.user; openoffice-X.Y.Zwhere X.Y.Z is the version
number of the installed version of Apache
OpenOffice. The first time
Apache OpenOffice launches, some
questions will be asked and a
.openoffice.org folder will be created in
the user's home directory.If the desired Apache
OpenOffice package is not available, compiling
the port is still an option. However, this requires a lot of
disk space and a fairly long time to compile:&prompt.root; cd /usr/ports/editors/openoffice-4
&prompt.root; make install cleanTo build a localized version, replace the previous
command with:&prompt.root; make LOCALIZED_LANG=your_language install cleanReplace
your_language with the correct
language ISO-code. A list of supported language codes is
available in
files/Makefile.localized, located in
the port's directory.LibreOfficeLibreOfficeoffice suiteLibreOfficeLibreOffice is a free software
office suite developed by documentfoundation.org.
It is compatible with other major office suites and available
on a variety of platforms. It is a rebranded fork of
OpenOffice.org and includes
applications found in a complete office productivity suite:
a word processor, spreadsheet, presentation manager, drawing
program, database management program, and a tool for creating
and editing mathematical formulæ. It is available in
a number of different languages and internationalization has
been extended to interfaces, spell checkers, and
dictionaries.The word processor of
LibreOffice uses a native XML file
format for increased portability and flexibility. The
spreadsheet program features a macro language which can be
interfaced with external databases.
LibreOffice is stable and runs
natively on &windows;, &linux;, &os;, and &macos; X.
More information about LibreOffice
can be found at libreoffice.org.To install the English version of the
LibreOffice package:&prompt.root; pkg install libreofficeThe editors category (freebsd.org/ports/editors.html)
of the Ports Collection contains several localizations for
LibreOffice. When installing a
localized package, replace libreoffice
with the name of the localized package.Once the package is installed, type the following command
to run LibreOffice:&prompt.user; libreofficeDuring the first launch, some questions will be asked
and a .libreoffice folder will be created
in the user's home directory.If the desired LibreOffice
package is not available, compiling the port is still an
option. However, this requires a lot of disk space and a
fairly long time to compile. This example compiles the
English version:&prompt.root; cd /usr/ports/editors/libreoffice
&prompt.root; make install cleanTo build a localized version,
cd into the port directory of
the desired language. Supported languages can be found
in the editors category (freebsd.org/ports/editors.html)
of the Ports Collection.Document ViewersSome new document formats have gained popularity since
the advent of &unix; and the viewers they require may not be
available in the base system. This section demonstrates how to
install the following document viewers:Application NameResources NeededInstallation from PortsMajor DependenciesXpdflightlightFreeTypegvlightlightXaw3dGQviewlightlightGtk+ or
GNOMEePDFViewlightlightGtk+OkularlightheavyKDEXpdfXpdfPDFviewingFor users that prefer a small &os; PDF viewer,
Xpdf provides a light-weight and
efficient viewer which requires few resources. It uses the
standard X fonts and does not require any additional
toolkits.To install the Xpdf
package:&prompt.root; pkg install xpdfIf the package is not available, use the Ports
Collection:&prompt.root; cd /usr/ports/graphics/xpdf
&prompt.root; make install cleanOnce the installation is complete, launch
xpdf and use the right mouse button to
activate the menu.gvgvPDFviewingPostScriptviewinggv is a &postscript; and PDF
viewer. It is based on ghostview,
but has a nicer look as it is based on the
Xaw3d widget toolkit.
gv has many configurable features,
such as orientation, paper size, scale, and anti-aliasing.
Almost any operation can be performed with either the
keyboard or the mouse.To install gv as a
package:&prompt.root; pkg install gvIf a package is unavailable, use the Ports
Collection:&prompt.root; cd /usr/ports/print/gv
&prompt.root; make install cleanGQviewGQviewGQview is an image manager
which supports viewing a file with a single click, launching
an external editor, and thumbnail previews. It also features
a slideshow mode and some basic file operations, making it
easy to manage image collections and to find duplicate files.
GQview supports full screen viewing
and internationalization.To install the GQview
package:&prompt.root; pkg install gqviewIf the package is not available, use the Ports
Collection:&prompt.root; cd /usr/ports/graphics/gqview
&prompt.root; make install cleanePDFViewePDFViewPDFviewingePDFView is a lightweight
PDF document viewer that only uses the
Gtk+ and
Poppler libraries. It is currently
under development, but already opens most
PDF files (even encrypted), save copies of
documents, and has support for printing using
CUPS.To install ePDFView as a
package:&prompt.root; pkg install epdfviewIf a package is unavailable, use the Ports
Collection:&prompt.root; cd /usr/ports/graphics/epdfview
&prompt.root; make install cleanOkularOkularPDFviewingOkular is a universal document
viewer based on KPDF for
KDE. It can open many document
formats, including PDF, &postscript;, DjVu,
CHM, XPS, and
ePub.To install Okular as a
package:&prompt.root; pkg install okularIf a package is unavailable, use the Ports
Collection:&prompt.root; cd /usr/ports/graphics/okular
&prompt.root; make install cleanFinanceFor managing personal finances on a &os; desktop, some
powerful and easy-to-use applications can be installed. Some
are compatible with widespread file formats, such as the formats
used by Quicken and
Excel.This section covers these programs:Application NameResources NeededInstallation from PortsMajor DependenciesGnuCashlightheavyGNOMEGnumericlightheavyGNOMEKMyMoneylightheavyKDEGnuCashGnuCashGnuCash is part of the
GNOME effort to provide
user-friendly, yet powerful, applications to end-users.
GnuCash can be used to keep track
of income and expenses, bank accounts, and stocks. It
features an intuitive interface while remaining
professional.GnuCash provides a smart
register, a hierarchical system of accounts, and many keyboard
accelerators and auto-completion methods. It can split a
single transaction into several more detailed pieces.
GnuCash can import and merge
Quicken QIF files. It also handles
most international date and currency formats.To install the GnuCash
package:&prompt.root; pkg install gnucashIf the package is not available, use the Ports
Collection:&prompt.root; cd /usr/ports/finance/gnucash
&prompt.root; make install cleanGnumericGnumericspreadsheetGnumericGnumeric is a spreadsheet
program developed by the GNOME
community. It features convenient automatic guessing of user
input according to the cell format with an autofill system
for many sequences. It can import files in a number of
popular formats, including Excel,
Lotus 1-2-3, and
Quattro Pro. It has a large number
of built-in functions and allows all of the usual cell formats
such as number, currency, date, time, and much more.To install Gnumeric as a
package:&prompt.root; pkg install gnumericIf the package is not available, use the Ports
Collection:&prompt.root; cd /usr/ports/math/gnumeric
&prompt.root; make install cleanKMyMoneyKMyMoneyspreadsheetKMyMoneyKMyMoney is a personal finance
application created by the KDE
community. KMyMoney aims to
provide the important features found in commercial personal
finance manager applications. It also highlights ease-of-use
and proper double-entry accounting among its features.
KMyMoney imports from standard
Quicken QIF files, tracks
investments, handles multiple currencies, and provides a
wealth of reports.To install KMyMoney as a
package:&prompt.root; pkg install kmymoney-kde4If the package is not available, use the Ports
Collection:&prompt.root; cd /usr/ports/finance/kmymoney-kde4
&prompt.root; make install clean
Index: head/en_US.ISO8859-1/books/handbook/linuxemu/chapter.xml
===================================================================
--- head/en_US.ISO8859-1/books/handbook/linuxemu/chapter.xml (revision 46077)
+++ head/en_US.ISO8859-1/books/handbook/linuxemu/chapter.xml (revision 46078)
@@ -1,1240 +1,1239 @@
&linux; Binary CompatibilityJimMockRestructured and parts updated by Brian N.HandyOriginally contributed by RichMurpheySynopsisLinux binary compatibilitybinary compatibilityLinux&os; provides 32-bit binary compatibility with &linux;,
allowing users to install and run most 32-bit &linux; binaries
on a &os; system without having to first modify the binary. It
has even been reported that, in some situations, 32-bit &linux;
binaries perform better on &os; than they do on &linux;.However, some &linux;-specific operating system features
are not supported under &os;. For example, &linux; binaries
will not work on &os; if they overly use &i386; specific calls,
such as enabling virtual 8086 mode. In addition, 64-bit &linux;
binaries are not supported at this time.After reading this chapter, you will know:How to enable &linux; binary compatibility on a &os;
system.How to install additional &linux; shared
libraries.How to install &linux; applications on a &os;
system.The implementation details of &linux; compatibility in
&os;.Before reading this chapter, you should:Know how to install additional
third-party software.Configuring &linux; Binary CompatibilityPorts CollectionBy default, &linux; libraries are not installed and &linux;
binary compatibility is not enabled. &linux; libraries can
either be installed manually or from the &os; Ports
Collection.Before attempting to build the port, load the &linux; kernel
module, otherwise the build will fail:&prompt.root; kldload linuxTo verify that the module is loaded:&prompt.user; kldstat
Id Refs Address Size Name
1 2 0xc0100000 16bdb8 kernel
7 1 0xc24db000 d000 linux.ko
- The emulators/linux-base-f10 package or
+ The emulators/linux_base-c6 package or
port is the easiest way to install a base set of &linux;
libraries and binaries on a &os; system. To install the
port:
- &prompt.root; cd /usr/ports/emulators/linux_base-f10
+ &prompt.root; cd /usr/ports/emulators/linux_base-c6
&prompt.root; make install distclean
- In order for &linux; compatibility to be enabled at boot
- time, add the following line to
- /etc/rc.conf:
+ For &linux; compatibility to be enabled at boot time,
+ add this line to /etc/rc.conf:linux_enable="YES"kernel optionsCOMPAT_LINUXUsers who prefer to statically link &linux; binary
compatibility into a custom kernel should add
options COMPAT_LINUX to their custom kernel
configuration file. Compile and install the new kernel as
described in .Installing Additional Libraries Manuallyshared librariesIf a &linux; application complains about missing shared
libraries after configuring &linux; binary compatibility,
determine which shared libraries the &linux; binary needs and
install them manually.From a &linux; system, ldd can be used
to determine which shared libraries the application needs.
For example, to check which shared libraries
linuxdoom needs, run this command from a
&linux; system that has Doom
installed:&prompt.user; ldd linuxdoom
libXt.so.3 (DLL Jump 3.1) => /usr/X11/lib/libXt.so.3.1.0
libX11.so.3 (DLL Jump 3.1) => /usr/X11/lib/libX11.so.3.1.0
libc.so.4 (DLL Jump 4.5pl26) => /lib/libc.so.4.6.29symbolic linksThen, copy all the files in the last column of the output
from the &linux; system into
/compat/linux on the &os; system. Once
copied, create symbolic links to the names in the first
column. This example will result in the following files on
the &os; system:/compat/linux/usr/X11/lib/libXt.so.3.1.0
/compat/linux/usr/X11/lib/libXt.so.3 -> libXt.so.3.1.0
/compat/linux/usr/X11/lib/libX11.so.3.1.0
/compat/linux/usr/X11/lib/libX11.so.3 -> libX11.so.3.1.0
/compat/linux/lib/libc.so.4.6.29
/compat/linux/lib/libc.so.4 -> libc.so.4.6.29If a &linux; shared library already exists with a
matching major revision number to the first column of the
ldd output, it does not need to be copied
to the file named in the last column, as the existing library
should work. It is advisable to copy the shared library if it
is a newer version, though. The old one can be removed, as
long as the symbolic link points to the new one.For example, these libraries already exist on the &os;
system:/compat/linux/lib/libc.so.4.6.27
/compat/linux/lib/libc.so.4 -> libc.so.4.6.27and ldd indicates that a binary
requires a later version:libc.so.4 (DLL Jump 4.5pl26) -> libc.so.4.6.29Since the existing library is only one or two versions out
of date in the last digit, the program should still work with
the slightly older version. However, it is safe to replace
the existing libc.so with the newer
version:/compat/linux/lib/libc.so.4.6.29
/compat/linux/lib/libc.so.4 -> libc.so.4.6.29Generally, one will need to look for the shared libraries
that &linux; binaries depend on only the first few times that
a &linux; program is installed on &os;. After a while, there
will be a sufficient set of &linux; shared libraries on the
system to be able to run newly installed &linux; binaries
without any extra work.Installing &linux; ELF
BinariesLinuxELF binariesELF binaries sometimes require an extra
step. When an unbranded ELF binary is
executed, it will generate an error message:&prompt.user; ./my-linux-elf-binary
ELF binary type not known
AbortTo help the &os; kernel distinguish between a &os;
ELF binary and a &linux; binary, use
&man.brandelf.1;:&prompt.user; brandelf -t Linux my-linux-elf-binaryGNU toolchainSince the GNU toolchain places the appropriate branding
information into ELF binaries
automatically, this step is usually not necessary.Installing a &linux; RPM Based
ApplicationIn order to install a &linux; RPM-based
application, first install the
archivers/rpm package or port. Once
installed, root can
use this command to install a
.rpm:&prompt.root; cd /compat/linux
&prompt.root; rpm2cpio < /path/to/linux.archive.rpm | cpio -idIf necessary, brandelf the installed
ELF binaries. Note that this will prevent
a clean uninstall.Configuring the Hostname ResolverIf DNS does not work or this error
appears:resolv+: "bind" is an invalid keyword resolv+:
"hosts" is an invalid keywordconfigure /compat/linux/etc/host.conf
as follows:order hosts, bind
multi onThis specifies that /etc/hosts is
searched first and DNS is searched second.
When /compat/linux/etc/host.conf does not
exist, &linux; applications use
/etc/host.conf and complain about the
incompatible &os; syntax. Remove bind if a
name server is not configured using
/etc/resolv.conf.BorisHollasUpdated for Mathematica 5.X by Installing &mathematica;applicationsMathematicaThis section describes the process of installing the &linux;
version of &mathematica; 9.X onto a
&os; system. &mathematica; is a
commercial, computational software program used in scientific,
engineering, and mathematical fields. A 30 day trial version is
available for download from wolfram.com/mathematica.Running the &mathematica; InstallerBefore installing &mathematica;, make sure that the
- textproc/linux-f10-aspell
+ textproc/linux-c6-aspell
package or port is installed and that the &man.linprocfs.5;
file system is mounted.&prompt.root; sysctl kern.fallback_elf_brand=3&os; will now assume that unbranded ELF binaries use the
&linux; ABI which should allow the
installer to execute from the CDROM.The downloaded file will be saved to
/tmp/Mathematica_9.0.1_LINUX.sh. Become
the superuser and run this installer file:&prompt.root; sh /tmp/Mathematica_9.0.1_LINUX.sh
Mathematica Secured 9.0.1 for LINUX Installer Archive
Verifying archive integrity.
Extracting installer. ...
Wolfram Mathematica 9 Installer
Copyright (c) 1988-2013 Wolfram Research, Inc. All rights reserved.
WARNING: Wolfram Mathematica is protected by copyright law and international treaties. Unauthorized
reproduction or distribution may result in severe civil and criminal
penalties and will be prosecuted to the maximum extent possible under law.
Enter the installation directory, or press ENTER to select /usr/local/Wolfram/Mathematica/9.0:
>
Now installing...
***********************
Installation complete.Running the &mathematica; Frontend over a Network&mathematica; uses some special
fonts to display characters not present in any of the standard
font sets. Xorg requires these
fonts to be installed locally. This means that these fonts
need to be copied from the CDROM or from a host with
&mathematica; installed to the
local machine. These fonts are normally stored in /cdrom/Unix/Files/SystemFiles/Fonts
on the CDROM, or /usr/local/mathematica/SystemFiles/Fonts
on the hard drive. The actual fonts are in the subdirectories
Type1 and
X. There are several
ways to use them, as described below.The first way is to copy the fonts into one of the
existing font directories in /usr/local/lib/X11/fonts then
running &man.mkfontdir.1; within the directory containing the
new fonts.The second way to do this is to copy the directories to
/usr/local/lib/X11/fonts:&prompt.root; cd /usr/local/lib/X11/fonts
&prompt.root; mkdir X
&prompt.root; mkdir MathType1
&prompt.root; cd /cdrom/Unix/Files/SystemFiles/Fonts
&prompt.root; cp X/* /usr/local/lib/X11/fonts/X
&prompt.root; cp Type1/* /usr/local/lib/X11/fonts/MathType1
&prompt.root; cd /usr/local/lib/X11/fonts/X
&prompt.root; mkfontdir
&prompt.root; cd ../MathType1
&prompt.root; mkfontdirNow add the new font directories to the font path:&prompt.root; xset fp+ /usr/local/lib/X11/fonts/X
&prompt.root; xset fp+ /usr/local/lib/X11/fonts/MathType1
&prompt.root; xset fp rehashWhen using the &xorg; server,
these font directories can be loaded automatically by adding
them to /etc/X11/xorg.conf.fontsIf /usr/local/lib/X11/fonts/Type1
does not already exist, change the name of the MathType1 directory in the
example above to Type1.
-->