Prompt asking us to register the Red Hat system in order to receive updates

There are no enabled repositories RHEL solution

You may receive a There are no enabled repos error message when trying to install system updates on a fresh Red Hat Linux install. This occurs when you have not enabled your RHEL subscription. In this tutorial, we will take you through the step by step instructions to register your RHEL subscription, enable the package manager, and finally install updates and remedy the error message for good.

Read more

How to auto login on CentOS

How to auto login on CentOS

The purpose of this tutorial is to enable auto login on GNOME GUI and the KDE Plasma desktop environment on CentOS Linux system. If you are using CentOS and getting tired of needing to provide your password every time your computer boots up, or goes back to the lock screen, then enabling auto login will save you some time and frustration.

Read more

How to install Gnome and start gui in Redhat Linux

How to install Gnome and start GUI in Redhat Linux

This article will answer the following questions: How to start GUI in Redhat Linux. GNOME is the default desktop environment on Red Hat Enterprise Linux, but only if you opt for the full installation of the operating system. Other installations don’t include any GUI by default. If you’ve chosen a minimal install but don’t want to be limited to just the command line, you can install the GNOME desktop environment in a few simple commands.

Read more

How to open http port 80 in Redhat Linux using firewall-cmd

How to open http port 80 in Redhat Linux using firewall-cmd

This article will provide you with an information on how to open port in Redhat Linux, and more specifically we will be talking about the HTTP port 80.  firewalld is the default firewall program that comes pre-installed on Red Hat Enterprise Linux 7 and 8. By default, the firewall is turned on, meaning that a very limited number of services are able to receive incoming traffic.

Read more

main-image

How to query packages information with the rpm package manager

RPM is the recursive acronym for RPM Package Manager: it is the default low level package manager in some of the most famous and most used Linux distributions, such as Fedora, Red Hat Enterprise Linux, CentOS, OpenSUSE and their derivatives. The software, as you can expect, is free and open source; when invoked with the -q option it can be used to query packages to retrieve specific information, such as dependencies, recommendations, files etc. In this tutorial we learn how to perform such queries.

In this tutorial you will learn:

  • How to run rpm in “query” mode
  • How to obtain general information about a package
  • How to read a package changelog
  • How to list the files provided by a package
  • How to list the scripts used by a package
  • How to list a package dependencies and recommendations
  • How to list packages rendered obsolete by an rpm
main-image

How to query packages information with the rpm package manager

Read more