8.3. Upgrading from RHEL 6.X to RHEL 7.X

download PDF
  1. Install migration tool

    Install the tool to perform the migration from RHEL 6 to RHEL 7:
    # yum install redhat-upgrade-tool
    # yum install yum-utils
  2. Disable all repositories

    Disable all the enabled repositories:
    # yum-config-manager --disable \*
  3. Download latest RHEL 7 ISO

    Visit the Software & Download Center in the Red Hat Customer Service Portal ( to obtain the latest RHEL 7 ISO image file. Use a valid Red Hat Subscription to download the full installation files, obtain a free evaluation installation, or follow the links in this page to purchase a new Red Hat Subscription.
    To download the RHEL 7 installation files using a Red Hat Subscription or a Red Hat Evaluation Subscription, perform the following steps:
    1. Visit the Red Hat Customer Service Portal at and enter your user name and password to log in.
    2. Click Downloads to visit the Software & Download Center.
    3. In the Red Hat Enterprise Linux area, click Download Software to download the latest version of the software.
  4. Upgrade to RHEL 7 using ISO

    Upgrade to RHEL 7 using the Red Hat upgrade tool and reboot after the upgrade process is completed:
    # redhat-upgrade-tool --iso RHEL7_ISO_filepath --cleanup-post
    # reboot


    The upgrade process is time-cosuming depending on your system's configuration and amount of data.
Red Hat logoGithubRedditYoutubeTwitter


Try, buy, & sell


About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.