glibc.i686 installation without Internet connection
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 theglibc.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:
|
.
If the package is not installed, the command will report the following message (examples given for Red Hat Enterprise Linux 7.2)
|
If the package is installed, the command will report the following message:
|
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:
|
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:
Switch to the directory containing the packages. This directory depends on your Linux distribution.
Example:
# cd /media/cdrom/Packages/
.
Locate the target "
glibc.i686
" package and the package on which it depends:# ls -l glibc*i686* nss-softokn-freebl*
.
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.
.
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:
... ... |
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 theyum 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 thegpgcheck=0
line - or disable the GPG check in the
/etc/yum.conf
file, replacing thegpgcheck=1
line bygpgcheck=0
.
Example / CentOS 7:
... ... ...
|
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.
© Stromasys, 1999-2024 - All the information is provided on the best effort basis, and might be changed anytime without notice. Information provided does not mean Stromasys commitment to any features described.