1. Instead of building a 32bit machine, I'd prefer to install 32bit libraries on top of the existing centos 6.6_64bit os. I fairly confident it can be done, as I was forwarded a link to RHEL knowledge base topic, which I cannot access.
  2. Issue with installing rpm in AIX 6.1 I am trying to install an rpm: libiconv-1.14-1.aix5.1.ppc.rpm which is a dependency to install GIT. While I gave the command I got the foll message.
  3. Jan 02, 2019  Hi Guys Can any one please tell me how to install iconv package on Linux. Below is my linux version Linux 2.6.18-308.1.1.el5 #1 SMP Fri Feb 17 16:51:01 EST 2012 x86.

This chapter explains how to install R for Oracle R Enterprise. This chapter contains these topics:

See Also:

Join the Linux revolution. Learn how to set up a new installation of Red Hat Enterprise Linux (RHEL), execute basic Linux commands, and manage user accounts and file storage. Step by Step Red Hat Linux 7.0 installation (64 bit) with screenshots. You can create a partition with the below list of partition types. Click on the ' + ' sign to add new partition. Change the partition type to Ext4 as by default XFS will be selected for every partition you create. By default Volume Group name is ' rhel '. Red Hat Enterprise Linux is an Open Source Linux distribution developed by Red Hat company, which can run all major processor architectures. Unlike other Linux distributions which are free to download, install and use, RHEL can be downloaded and used, with the exception the 30-day evaluation version, only if you buy a subscription.

Chapter 5, 'Installing Oracle R Enterprise on Exadata'

3.1 About R and Oracle R Enterprise

Oracle R Enterprise requires an installation of R on the server computer and on each client computer that interacts with the server. R is third-party, open source software. Open source R is governed by GNU General Public License (GPL) and not by Oracle licensing.

See Also:

  • Table 1-2, 'Oracle R Enterprise Server Support Matrix' for the versions of R that are supported with Oracle R Enterprise

  • R Project for Statistical Computing at http://www.r-project.org

3.1.1 About ROracle

ROracle is an open source R package that enables interaction between R and an Oracle database. ROracle is maintained and supported by Oracle.

ROracle is one of the open source supporting packages that is used by Oracle R Enterprise. The supporting packages are introduced in Section 1.2 and described in Table 6-2.

3.1.2 Oracle R Distribution and Oracle R Enterprise

Oracle recommends that you use Oracle R Distribution, Oracle's free distribution of R, with Oracle R Enterprise. Oracle R Distribution offers significant advantages for Oracle R Enterprise.

Why Oracle R Distribution?

  • Oracle R Distribution simplifies the installation of R for Oracle R Enterprise.

  • Oracle R Distribution is supported by Oracle for customers of Oracle Advanced Analytics, Oracle Linux, and Oracle Big Data Appliance.

  • On Windows and Linux, Oracle R Distribution simplifies integration with the Intel Math Kernel Library (MKL). MKL greatly improves the performance of many mathematical computations in R, including highly vectorized and threaded Linear Algebra, Fast Fourier Transforms (FFT), Vector Math, and Statistics functions. (See Section 3.6, 'Configuring Oracle R Distribution to Use MKL on the Client'.)

  • On Oracle Solaris, Oracle R Distribution automatically uses Sun Performance Library. Like MKL for Linux and Windows, Sun Performance Library offers improved performance of many mathematical computations. Sun Performance Library is part of Oracle Solaris Studio.

3.1.3 Open Source R and Oracle R Enterprise

Although Oracle recommends that you use Oracle R Distribution whenever possible, you can use open source R with Oracle R Enterprise. If you choose to use open source R, then you must build it from source. Use the following configuration parameters:

See Also:

  • The R Installation and Administration manual for information about building R from source:

  • ”Using a Third-Party Package on the Client” in Oracle R Enterprise User's Guide

  • ”Installing a Third-Party Package for Use in Embedded R Execution” in Oracle R Enterprise User's Guide

3.2 Installing Oracle R Distribution on Linux

You can install Oracle R Distribution on Oracle Linux and on Redhat Enterprise Linux. Before you begin the installation, verify that your Linux version is supported by Oracle R Enterprise, as described in Table 1-1, 'Oracle R Enterprise Platform Requirements'.You can use this command to verify the Linux version:

Note:

For Oracle Linux systems that have access to the internet, Oracle recommends installing Oracle R Distribution from the Oracle public yum server at the following URL:

This topic contains these sections:

3.2.1 Installing Oracle R Distribution on Oracle Linux Using Yum

Oracle recommends that you use yum to install Oracle R Distribution. Yum simplifies the installation of Oracle R Distribution by automatically resolving RPM dependencies. If you install the RPMs directly as shown in Section 3.2.2, then you must resolve dependencies manually.

To install Oracle R Distribution on Oracle Linux Using Yum:

  1. Log in to the Linux server as root and change to the /etc/yum.repos.d directory:

  2. List the contents of the directory to determine if the yum configuration file is present. The name of the configuration file is public-yum-xxx.repo, where xxx is either el5, for Oracle Linux 5, 0l6 for Oracle Linux 6, or 0l7, for Oracle Linux 7.

    If the yum configuration file is not present, then download it from Oracle public yum by executing the wget command for your Linux platform:

    or

    or

  3. Open public-yum-xxx.repo in a text editor and specify enabled=1 for xxx_latest and xxx_addons, where xxx indicates the version of Linux, either el5, ol6, or ol7:

    Also, for Oracle Linux 7 only:

    The location of the Oracle R Distribution packages is specified in xxx_addons. The location of the dependencies for the Oracle R Distribution RPMs is specified in xxx_latest. For Oracle Linux 7 only, several dependencies are in optional_latest.

    The URLs for the Oracle R Distribution RPMs in the addons repository are shown in Example 3-1. Specify 3.1.1-2 if Rversion is 3.1.1. Specify 3.0.1-2 if Rversion is 3.0.1.

    Example 3-1 Oracle R Distribution RPMs in addons Repository

    Oracle Linux 5:

    Oracle Linux 6:

    Oracle Linux 7:

    Note:

    If you are not using the most recent version of Oracle Linux and you want to install dependent packages that are specific to your version, then you must enable the corresponding Oracle Linux repository.

    For example, to enable the Oracle Linux 5.8 repository instead of the latest repository, follow these steps:

    1. Open the yum configuration file for Oracle Linux 5 in an editor.

    2. Locate the section for Oracle Linux 5, update 8.

    3. Change enabled=0 to enabled=1.

      The result looks like this:

  4. Execute the yum install command to install R. Specify 3.0.1 or 3.1.1 for Rversion

    To install the most recent version of R that is available on Oracle public yum:

    Note:

    Do not assume that the most recent version of R on Oracle public yum is supported by your version of Oracle R Enterprise. Consult Table 1-2, 'Oracle R Enterprise Server Support Matrix' to determine which version of R you should use.

3.2.2 Installing Oracle R Distribution on Oracle Linux Using RPMs

Oracle recommends that you use yum to install Oracle R Distribution, because yum automatically resolves RPM dependencies. However, if yum is not available, then you can install the RPMs directly and resolve the dependencies manually.

To download and install the RPMs, log in as root and execute this command for each RPM listed in Section 3.2.2.1:

The Oracle R Distribution RPMs for R 3.1.1 and R 3.0.1 are listed in these topics:

3.2.2.1 Oracle R Distribution 3.1.1 RPMs for Oracle Linux 5

The Oracle R Distribution RPMs for Oracle Linux 5 are listed as follows:

If the dependent RPMs for Oracle Linux 5, listed in Section 3.2.2.2, are not automatically included, then download and install them explicitly.

3.2.2.2Oracle R Distribution 3.1.1 RPM Dependencies for Oracle Linux 5

The Oracle R Distribution dependent RPMs for Oracle Linux 5 are listed as follows:

3.2.2.3 Oracle R Distribution 3.1.1 RPMs for Oracle Linux 6

The Oracle R Distribution RPMs for Oracle Linux 6 are listed as follows:

If the following dependent RPM is not automatically included, then download and install it explicitly:

3.2.2.4 Oracle R Distribution 3.0.1 RPMs for Oracle Linux 5

The Oracle R Distribution RPMs for Oracle Linux 5 are listed as follows:

If the dependent RPMs for Oracle Linux 5, listed in Section 3.2.2.2, are not automatically included, then download and install them explicitly.

3.2.2.5Oracle R Distribution 3.0.1 RPM Dependencies for Oracle Linux 5

The Oracle R Distribution dependent RPMs for Oracle Linux 5 are listed as follows:

3.2.2.6 Oracle R Distribution 3.0.1 RPMs for Oracle Linux 6

The Oracle R Distribution RPMs for Oracle Linux 6 are listed as follows:

If the following dependent RPM is not automatically included, then download and install it explicitly:

3.2.3 Installing Oracle R Distribution on Red Hat Enterprise Linux

Tip:

Rversion represents the version of Oracle R Distribution. Replace Rversion with 3.1.1-2 for R 3.1.1; replace Rversion with 3.0.1-2 for R 3.0.1.

To install Oracle R Distribution on Red Hat Enterprise Linux 6:

  1. Create an RPM build directory structure:

  2. Set up RPM tools to use your own build tree (to avoid root):

  3. Download the source RPM (R-version.el6.src.rpm) from Oracle public yum.

    For Red Hat Enterprise Linux 6:

    http://public-yum.oracle.com/repo/OracleLinux/OL6/addons/x86_64/

    Save the source RPM to the rpmbuild/SRPMS directory.

  4. Rebuild Red Hat Enterprise Linux using rpmbuild.

    Note:

    • Linux 5

      The source RPM, R-3.1.1-2.el5.src.rpm, is here:

      http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/addons/x86_64/

    • Linux 7

      The source RPM, R-3.1.1-2.el7.src.rpm, is here:

    Note:

    If any dependencies are missing, install them as root.

    The binary RPMs are built and saved under /rpmbuild/RPMS.

  5. Log in as root and execute these commands to install R:

    For example, this command installs R 3.1.1 on Red Hat Enterprise Linux x86-64 version 6, where the path to rpmbuild is /refresh/home/.

3.3 Installing Oracle R Distribution on Oracle Solaris

You can install Oracle R Distribution on Oracle Solaris on Intel and on SPARC platforms. Before you begin the installation, verify that your Oracle Solaris version is supported by Oracle R Enterprise, as described in Table 1-1, 'Oracle R Enterprise Platform Requirements'.You can use this command to verify the version of Oracle Solaris:

To install Oracle R Distribution on Oracle Solaris:

  1. Go to the Oracle Open Source Software Download page for Oracle R Distribution:

  2. Download the files for your installation, where Rversion is 3.1.1-2 for R 3.1.1 or 3.0.1-2 for R 3.0.1:

    • For x86 64-bit systems:

    • For SPARC 64-bit systems:

  3. Uncompress the first file, either sol110-x86-64 or sol10-sparc.

  4. Run install.sh as root to install the Solaris PKG file for Oracle R Distribution.

  5. Uncompress the second file, either supporting-sol10-x86-64 or supporting-sol10-sparc, to a local directory such as $ORACLE_HOME/lib. Add that directory to $LD_LIBRARY_PATH.

    These tar files contain the shared libraries for libR.so:

    • libiconv.so.2

    • libncurses.so.5

    • libreadline.so.6

    • libsunperf.so

    libsunperf.so, Sun Performance Library, and its dependent shared libraries are included in Oracle Solaris Studio.

  6. Run the following command to verify that libR.so is picking up its shared library dependencies correctly from the local directory.

  7. Start R by typing R at the command prompt:

3.4 Installing Oracle R Distribution on IBM AIX

Before installing Oracle R Distribution, verify that your version of IBM AIX is supported by Oracle R Enterprise, as described in Table 1-1, 'Oracle R Enterprise Platform Requirements'.You can use this command to verify the version of IBM AIX:

To install Oracle R Distribution on IBM AIX:

  1. Go to the Oracle Open Source Software Download page for Oracle R Distribution:

  2. Download the files for your installation, where Rversion is 3.1.1.0 for R 3.1.1 or 3.0.1.0 for R 3.0.1:

  3. Uncompress and untar ord-supporting-aix.tar.gz:

    You can also download these RPMs from http://www.perzl.org/aix/.

  4. Install the RPMs as root using an rpm command:

    To upgrade existing dependencies, use:

    If you experience conflicts with dependencies, use:

  5. Add /opt/freeware/lib to the LIBPATH environment variable:

    • For ksh:

    • For csh:

    Ensure that /opt/freeware/lib is before /usr/lib.

  6. Uncompress ORD-Rversion-aix.bft.gz to get ORD-Rversion-aix.bff:

  7. To install all the filesets in Oracle R Distribution, execute the installp command (with the apply option) as root:

    You can also install independent filesets:

  8. Run ldd to ensure that shared library dependencies were picked up correctly:

  9. Add /usr/lib/R/lib to the LIBPATH environment variable:

    • For ksh:

    • For csh:

3.5 Installing Oracle R Distribution on Microsoft Windows

Hattiesburg

Before installing Oracle R Distribution, verify that your version of Microsoft Windows is supported by Oracle R Enterprise, as described in Table 1-1, 'Oracle R Enterprise Platform Requirements'.

Follow these steps to install Oracle R Distribution on Windows:

  1. Go to the Oracle Open Source Software Download page for Oracle R Distribution:

  2. Select R Distribution for Windows 64 bit. Save the zip file on your computer.

  3. Unzip the file and extract the executable file.

  4. Double click the executable file to start the installation of Oracle R Distribution.

  5. Follow the instructions to complete the installation.

3.6Configuring Oracle R Distribution to Use MKL on the Client

The instructions in this section explain how to configure Oracle R Distribution to use MKL on a Linux or Windows client. With this simple configuration step, Oracle R Distribution dynamically uses MKL if it is installed on your system.

This topic contains these sections:

3.6.1 Enabling MKL Support for Oracle R Distribution on a Linux Client

Follow these steps to enable MKL for Oracle R Distribution on a Linux Client:

  1. Install MKL. You can download MKL from the following website:

    Note: To install MKL on your computer, you must have an MKL license.

  2. Add libmkl_rt.so, $RHOME/lib, and $ORACLE_HOME/lib to the LD_LIBRARY_PATH system environment variable. For example, in the Bash shell:

  3. Start R and execute the Sys.BlasLapack function:

The returned value of $vendor indicates that MKL has replaced the BLAS and LAPACK that are native to R.

The returned value of nthreads indicates the number of threads to be used by MKL. By default all available threads are used ($nthreads= -1).

3.6.1.1 Modifying the Number of Threads for MKL on Linux

You can change the number of threads to be used by MKL by editing the system environment variable MKL_NUM_THREADS. For example, the following statement in the Bash shell, causes MKL to use 3 threads:

After setting MKL_NUM_THREADS to 3, the output of Sys.BlasLapack shows a value of 3 for $nthreads.

3.6.2 Enabling MKL Support for Oracle R Distribution on a Windows Client

Follow these steps to enable MKL for Oracle R Distribution on a Windows client (64-bit):

  1. Install MKL. You can download MKL from the following website:

    Note: To install MKL on your computer, you must have an MKL license.

  2. Add the location of libOrdBlasLoader.dll and mkl_rt.dll to the PATH system environment variable.For instructions, see.

    Note:

    In a typical installation of Oracle R Distribution 3.1.1, libOrdBlasLoader.dll is located in the R home directory:

    In a full installation of MKL 11.1, mkl_rt.dll is located in the Intel MKL Composer XE directory:

  3. Start R and execute the Sys.BlasLapack function:

The returned value of $vendor indicates that MKL has replaced the BLAS and LAPACK that are native to R.

The returned value of nthreads indicates the number of threads to be used by MKL. By default all available threads are used ($nthreads= -1).

3.6.2.1 Modifying the Number of Threads for MKL on Windows

You can change the number of threads to be used by MKL by editing the system environment variable MKL_NUM_THREADS. If MKL_NUM_THREADS does not exist, then you must create it as described in:

After setting MKL_NUM_THREADS to 3, the output of Sys.BlasLapack shows a value of 3 for $nthreads.

3.7 Uninstalling Oracle R Distribution

To uninstall R, follow the instructions in the following sections:

3.7.1 Uninstalling Oracle R Distribution on Windows

Uninstall Oracle R Distribution just as you would uninstall any other Windows program, using Programs and Features in Windows Control Panel.

How

3.7.2 Uninstalling Oracle R Distribution on Linux

To uninstall Oracle R Distribution on Linux, log in as root and execute these commands in this order. To uninstall a different version of R, replace 3.1.1 with the version number.

Example 3-2 Linux Commands for Uninstalling Oracle R Distribution

Execute the following commands as root. Specify the version of R for Rversion, for example 3.1.1 or 3.0.1.

3.7.3 Uninstalling Oracle R Distribution on Oracle Solaris

To uninstall Oracle R Distribution on Oracle Solaris, follow the instructions in the readme on the Oracle R Distribution download page on the Oracle Technology Network:

The Oracle R Distribution installation directory on Oracle Solaris includes an uninstall script. Log in as root and run the script as follows:

Example 3-3 Solaris Script for Uninstalling Oracle R Distribution

Execute this script as root:

3.7.4 Uninstalling Oracle R Distribution on IBM AIX

To uninstall Oracle R Distribution on IBM AIX, follow the instructions in the readme on the Oracle R Distribution download page on the Oracle Technology Network:

Example 3-4 AIX Scripts for Uninstalling Oracle R Distribution

To uninstall all filesets, execute this script as root:

To uninstall individual filesets, specify their names:

How To Install Libiconv Red Hatch

  • From: Tommy Tam <ttam aerio com>
  • To: gtk-list gnome org
  • Subject: Re: Cross compile problem - glib and libiconv
  • Date: Sat, 29 Jan 2005 22:05:40 -0800

How To Install Libiconv Red Hat Amphitheater

Someone has told me how to work around the problem. Just want to put this back to the post.In the file configure, you can remove the lines that generates the error. In this case,This prevents configure from aborting. You also need to make sure the path is defined for your newly compiled libiconv library before you run configure for glib. Like:I'm able to cross-compile now, but don't have the hardware to test yet so not sure if everything is correct.
I have seen other posting related to similar problem, but haven't come across the answer yet.I'm trying to cross compile GTK+ 2.4.4 for uClinux running on the ARM, using a Redhat Linux system. I'm using the compilers CC=arm-elf-gcc and CXX=arm-elf-g++. Here are 2 issues:I can configure, make and make install libiconv with no error. If I run configure with the --host=arm or even --host=i686 option, no .so file is generated in the library (only .a and .al files). If I don't use the --host= option and use the normal gcc and g++ compiler, the .so files will be created in the library. Why is that? Do I not need the .so library files if I'm cross compiling?Even through I have installed libiconv, and set up all the paths, configure will not find it. This problem only occurs if I'm using the cross compiler. The normal compiler works fine, since libiconv is included in the system already. This error message...I tried glib 2.6.1 but it has the same problem. Any suggestion on how to make configure see the libiconv?
[Date Prev][Date Next] [Thread Prev][Thread Next] [Thread Index][Date Index][Author Index]