How to install leapp packages on an offline system for RHEL 7.9 to RHEL 8.X upgrade ?

Solution Verified - Updated

Environment

  • Red Hat Enterprise Linux Server 7.9
  • Red Hat Enterprise Linux for IBM z Systems 7.9
  • Red Hat Enterprise Linux for Power, little endian 7.9

Issue

  • How to install leapp-upgrade packages on an offline system for RHEL 7.9 to RHEL 8.X upgrade ?
  • My system is not connected to internet. How can I download and install leapp-upgrade packages ?

Resolution

  • Download packages and their dependencies from This content is not included.Red Hat Customer Portal
    Note: Confirm the Product Variant before starting the package download.

  • Below is the list of packages and their dependencies :

    audit
    audit-libs
    audit-libs-python                     
    checkpolicy               
    dnf
    dnf-data
    json-glib                                            
    leapp                                     
    leapp-deps
    leapp-upgrade-el7toel8
    leapp-upgrade-el7toel8-deps
    libcgroup
    libcomps
    libdnf
    libmodulemd
    librepo
    libreport-filesystem
    librhsm
    libsemanage-python
    libsolv
    libyaml
    pciutils
    policycoreutils
    policycoreutils-python
    python-IPy
    python-chardet
    python-enum34
    python-requests
    python-urllib3
    python2-dnf
    python2-hawkey
    python2-leapp
    python2-libcomps
    python2-libdnf
    setools-libs
    
  • Create a folder /tmp/packages on offline system, copy all the rpms to /tmp/packages. Install the packages.

    # mkdir /tmp/packages
    # cd /tmp/packages
    # yum localinstall *
    
  • To proceed with upgrade using ISO How to in-place upgrade an offline / disconnected RHEL 7 machine to RHEL 8 with Leapp?

SBR
Components
Category
Tags

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.