Troubleshooting and FAQ: Red Hat Enterprise Linux

Tags:
     

     

    Download and installation questions

    1. As a developer, how can I get a no-cost Red Hat Enterprise Linux subscription?

      When you register and download Red Hat Enterprise Linux Server through developers.redhat.com, a no-cost Red Hat Enterprise Linux Developer Suite subscription will be automatically added to your account. For more information, see Frequently asked questions: no-cost Red Hat Enterprise Linux Developer Suite subscription.

    2. My system is unable to download software or updates from Red Hat.

      Your system must be registered with Red Hat using subscription-manager register. You need to have a current Red Hat subscription. Registering your system attaches it to your subscription.

    3. How do I register my system after installation?

      Use Red Hat Subscription Manager, which can be started from the system menu as a graphical tool, or from the command line:

      # subscription-manager register --auto-attach

      For additional information, see How to register and subscribe a system to the Red Hat Customer Portal using Red Hat Subscription Manager.

    4. I’ve got a text-based login screen, how do I get a graphical one?

      During installation of Red Hat Enterprise Linux Server, selecting the Server with a GUI software option will install a full graphical desktop and configure it to start at boot time. You can install the graphical desktop with yum install after registering your system with Red Hat. Log in to the system as the root user, then use the following commands:

      # yum groupinstall 'Server with GUI'
      # yum install @gnome-desktop @x11 @internet-browser

      When complete, type systemctl reboot to reboot your system. When the system restarts, you should see a graphical login screen.

    5. I didn’t configure a network connection during installation, how can I do this on a running system?

      Registration fails with the message that subscription.rhn.redhat.com is unreachable, how do I resolve this?

      If you did not configure a network connection during installation or the configuration was unsuccessful, see the Red Hat Enterprise Linux Networking Guide for information on configuring networking using either graphical or command-line tools.

    Developing on RHEL

    1. How do I install the C/C++ compiler that is included with Red Hat Enterprise Linux?

      During installation, selecting the Development tools software option installs the C/C++ compiler GCC/G++ and other related development tools. You can install these tools with yum install after registering your system with Red Hat. Log in to the system as the root user then use the following command:

      # yum install @development
    2. How can I get a newer C/C++ compiler for Red Hat Enterprise Linux 7?

      Where can I get an IDE for C/C++ development on Red Hat Enterprise Linux 7?

      Red Hat Developer Toolset provides the latest, stable, open source C and C++ compilers and complementary development tools including Eclipse. DTS enables developers to compile applications once and deploy across multiple versions of Red Hat Enterprise Linux. Red Hat Developer Toolset uses Red Hat Software Collections to install a parallel set of packages in /opt/rh where they will not override the system packages that come with Red Hat Enterprise Linux. Red Hat Software Collections is available with select Red Hat Enterprise Linux subscriptions and has a three-year life cycle to allow rapid innovation without sacrificing stability.

      See Using GCC5 on RHEL 7 with Red Hat Developer Toolset (DTS)

    3. How do I get newer versions of languages like Perl, PHP, Python, and Ruby on Red Hat Enterprise Linux?

      Red Hat Software Collections delivers the latest, stable versions of dynamic languages, open source databases, and web development tools that can be deployed alongside those included in Red Hat Enterprise Linux. Red Hat Software Collections is available with select Red Hat Enterprise Linux subscriptions and has a three-year life cycle to allow rapid innovation without sacrificing stability.

    4. How can I get Python 3 on Red Hat Enterprise Linux?

      See Using Python 3 on RHEL 6 or RHEL 7 with Red Hat Software Collections

    5. How can I get Node.js on Red Hat Enterprise Linux?

      See Use Node.js on RHEL 6 or RHEL 7 with Red Hat Software Collections

    6. The RHSCL repository is not available or is not found on my system.

      The name of the repository depends on whether you have a server, workstation, or desktop version of Red Hat Enterprise Linux installed.

      Some Red Hat Enterprise Linux subscriptions do not include access to RHSCL. For information about which subscriptions include RHSCL, see How to use Red Hat Software Collections (RHSCL) or Red Hat Developer Toolset (DTS).

      As a developer, you can get a no-cost Red Hat Enterprise Linux Developer Suite subscription which includes both RHSCL and DTS. For more information, see Frequently asked questions: no-cost Red Hat Enterprise Linux Developer Suite subscription.

    7. How can I get Eclipse installed on Red Hat Enterprise Linux?

      For C/C++ development, DTS includes Eclipse with C/C++ Development Tooling (CDT), see Using GCC5 on RHEL 7 with Red Hat Developer Toolset (DTS).

      For Java development, Red Hat JBoss Developer Studio provides a single development tool, tailored for extreme productivity, that is built on Eclipse. Developers can get a no-cost subscription by registering and downloading through developers.redhat.com.