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

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

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
How to query packages information with the rpm package manager

Read more