Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Contents

Description

The glibc.i686 package is required for the Charon-AXP, Charon-VAX, Charon-SSP and Charon-HPA products. When connected to the Internet, and – for Red Hat Enterprise Linux – registered, this package can be installed as described in the product documentation. Usually the following command is used:

# yum install glibc.i686

When an Internet connection is not available, or if a server running Red Hat Enterprise Linux is not registered, this package can be installed using the operating system installation DVD or ISO file.

This document explains how to install the package from the installation DVD for the following Linux distributions:

  • Red Hat Enterprise Linux 6.x and 7.x
  • CentOS 7.x - Everything distribution DVD only.
    The Standard distribution DVD of CentOS 7.x does not contain the glibc.i686 package so the Everything distribution DVD is mandatory if no internet connection is available.


There are several different solutions for installing glibc.i686 without Internet connection. This document explains some of them. For more information, please contact your system administrator or refer to the administrator's guide for the Linux distribution installed on your Charon host system.

Step-by-step guide

Introduction

Check first if the glibc.i686 package is installed using the following command:

# yum list installed glibc.i686

.

If the package is not installed, the command will report the following message (examples given for Red Hat Enterprise Linux 7.2)

Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager

This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

Error: No matching Packages to list


If the package is installed, the command will report the following message:

Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager

This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

Installed Packages

glibc.i686                                          2.17-105.el7                                      @<source>


Alternatively, the following rpm command can be used:

# rpm -qa | grep glibc | grep i686

If the command reports nothing, the package is not installed.

Installation steps

Mounting the DVD

Please either insert the installation DVD in the drive or use an ISO file.

If the DVD is mounted automatically, we recommend to unmount it and mount it manually on a mount point with no spaces in its name (the yum-config-manager utility does not handle spaces correctly).

Example / Red Hat Enterprise Linux 7.2:

# df -k
Filesystem            1K-blocks    Used Available Use% Mounted on
/dev/mapper/rhel-root  37300436 4376776  32923660  12% /
devtmpfs                1925960       0   1925960   0% /dev
tmpfs                   1941228      96   1941132   1% /dev/shm
tmpfs                   1941228    9132   1932096   1% /run
tmpfs                   1941228       0   1941228   0% /sys/fs/cgroup
/dev/sda1                508588  160220    348368  32% /boot
tmpfs                    388248      12    388236   1% /run/user/1000
tmpfs                    388248       0    388248   0% /run/user/0
/dev/sr0                3947824 3947824         0 100% /run/media/stromasys/RHEL-7.2 Server.x86_64

# umount /dev/cdrom
# mkdir -p /media/cdrom
# mount -r /dev/cdrom /media/cdrom

By default /dev/cdrom is linked to /dev/sr0.

If you have an ISO image of the distribution CD, you can mount it using a loopback device:

# mount /path/to/ISO-image.iso /media/cdrom -o loop


Installation using the rpm utility

If you use rpm to install the package, any packages on which it depends must be installed manually.

To do so:


  1. Switch to the directory containing the packages. This directory depends on your Linux distribution.

    Example:

    # cd /media/cdrom/Packages/

    .

  2. Locate the target "glibc.i686" package and the package on which it depends:

    # ls -l glibc*i686* nss-softokn-freebl*

    .

  3. Install the "glibc.i686" package and any others on which it depends (package versions may differ):
    Example / Red Hat Enterprise Linux 7.2:

    # rpm -i glibc-2.17-105.el7.i686.rpm nss-softokn-freebl-3.16.2.3-13.el7_1.i686.rpm

    .

    Example / CentOS7:

    # rpm -i glibc-2.17-157.el7.i686.rpm nss-softokn-freebl-3.16.2.3-14.4.el7.i686.rpm

    .

    If the command returns a warning message related to RSA/SHA256 signature, please ignore it. The successful installation of the package can be checked using the "yum list installed glibc.i686" command.

    If the installation command above reports additional unsatisfied dependencies, add the corresponding packages to the above command line.

    .

  4. Umount the CD-ROM or ISO file if necessary:

    # cd -
    # umount /media/cdrom

Installation using the yum utility

The yum utility will check and install all the necessary dependencies.

Define the operating system installation DVD as a new repository:

Example / Red Hat Enterprise Linux 7.2:

# yum-config-manager --add-repo=file:///media/cdrom

Loaded plugins: langpacks, product-id
adding repo from: file:///media/cdrom

[media_cdrom]
name=added from: file:///media/cdrom
baseurl=file:///media/cdrom
enabled=1

# yum --nogpgcheck install glibc.i686

...
Is this ok [y/d/N]: y

...
Complete!

Once the installation is complete, the repository can be disabled (if no other package has to be installed):

# yum-config-manager --disable media_cdrom

Using this method, installing other packages could require the gpg check to be disabled. To do so:

  • either add the --nogpgcheck parameter to the yum install commands.

    Example:
    yum --nogpgcheck install <package>

  • or disable the GPG check for the repository in the /etc/yum.repos.d/media_cdrom.repo file, by adding the gpgcheck=0 line
  • or disable the GPG check in the /etc/yum.conf file, replacing the gpgcheck=1 line by gpgcheck=0

.

Example / CentOS 7:

# yum --disablerepo=* --enablerepo=c7-media install glibc.i686

...
Is this ok [y/d/N]: y

...
Is this ok [y/d/N]: y

...

Complete!

The c7-media repository is a default repository on CentOS 7.x pointing to the /media/cdrom folder. Please refer to the administrator's documentation for more information.

  • No labels