Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Preparation for PDF export

Anchor
TOC
TOC
Include Page
KBCOMMON:KB-CSSstyle
KBCOMMON:KB-CSSstyle

...

  • Red Hat Enterprise Linux 6.x and 7.x
  • CentOS 7.x - Everything distribution DVD only.
    (warning) 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.


(info) 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.

...

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

(question) If the command reports nothing, the package is not installed.

...

# 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

(info) By default /dev/cdrom is linked to /dev/sr0.

...

  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

    .

    Info- If

    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

    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


...

# 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!

(info) 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.

...