This executable .bin file launched a GUI installer for a Linux game

How to install bin file in RHEL 8 / CentOS 8 Linux

Some software packages for RHEL 8 / CentOS 8 come from commercial vendors such as game companies that provide closed-source binary packages or installers that you can run and enjoy in Linux. These installers often come either in .sh form or .bin form. Both are executable installers that you can launch in RHEL 8. If you have downloaded a .bin file and don’t know how to run it follow these steps.

In this tutorial you will learn:

  • How to make .bin files executable using the command line
  • How to install .bin files in RHEL 8

Read more

Connection to remote Redis server installed on RHEL 8 / CentOS 8

How to install Redis server on RHEL 8 / CentOS 8 Linux

In this tutorial we will discuss an installation of Redis server and client on RHEL 8 / CentOS 8. This tutorial also includes optional steps on how to allow remote connections to Redis sever running on RHEL 8.

In this tutorial you will learn:

  • How to install Redis server
  • How to install Redis client
  • How to enable Redis server to start after system boot
  • How to allow remote connections to Redis server
  • How to open firewall ports to allow incoming connections to Redis server
  • How to check Redis versionr

Read more

File conversion with alien doesn't take long

How to install deb file in RHEL 8 / CentOS 8 Linux

There may come a time when that package you want to install in RHEL 8 / CentOS 8 is simply not available as a RPM file. The alternative is to download the source and compile it yourself, or – alternatively – generate a RPM file from that source code later on.

But there is another way. Given the fact that Debian-based distributions have way more users than RPM-based ones, the number of available packages in their repositories is greater. Chances are you will be able to find a DEB file for that package you want. Here is how to install that DEB file in RedHat Linux with the help of a small utility called alien.

In this tutorial you will learn:

  • How to install alien in RHEL 8 / CentOS 8
  • How to convert a DEB package to a RPM one

Read more

Hello World example with Ruby.

How to install ruby on RHEL 8 / CentOS 8

Ruby is a very flexible scripting language, it’s popularity well-earned by it’s power. In this tutorial we will install Ruby on a RHEL 8 / CentOS 8, and write the famous “Hello World” program to test that our installation is working as intended. Note however, that with all languages, Ruby’s capabilities are far more than simple text printing on the command line.

In this tutorial you will learn:

  • How to install Ruby with dnf
  • How to get Ruby version information
  • How to write and run the “Hello World” example program in Ruby

Read more

GCC the C compiler on RHEL 8 and Hello world C program example.

How to install GCC the C compiler on RHEL 8 / CentOS 8

The objective of this guide is to install GCC the C compiler on RHEL 8 / CentOS 8 and perform compilation of a basic C “Hello World” program. The GCC compiler can be installed in RHEL 8 by simply using the dnf install command.

In this tutorial you will learn:

  • How to install GCC compiler on RHEL 8 / CentOS 8.
  • How to install Development Tools installation group.
  • How to write C program.
  • How to compile and execute C program.

Read more

Installing NPM on Redhat 8.

How to install npm on RHEL 8 / CentOS 8

NPM is a javascript package manager for the Node JavaScript platform. The objective of this article is to install NPM on RHEL 8 / CentOS 8. To install NPM on RHEL 8 / CentOS 8 we will use the dnf install command.

In this tutorial you will learn:

  • How to install NPM on Rhel 8.
  • How to search for modules using NPM.
  • How to install modules using NPM.
  • How to install modules form a Git repository.

Read more

Successful cpan perl module install with cpan on RHEL 8

How to install cpan on RHEL 8 / CentOS 8

Perl is a well-known programming language with long development history. The same long history provides the countless modules written in it, and distributed in various channels throughout the World Wide Web. As with most programming languages, if you implement something that you find useful, and maybe write it in a generic way, there are high chances others would find it useful too.

If you share your work with others, they don’t need to re-implement the wheel, they can spend time on other tools, thus making the community as a whole richer, and we have found the spirit of open source with a short walk. But as many people write perl modules, and perl runs on just about anything, it can be hard to find the module you are looking for, let alone build it in your environment. And that’s where cpan comes into play. CPAN itself is a large perl module repository, the cpan tool is a client that is able to fetch and compile needed modules to the local system.

In this tutorial we’ll install cpan on a RHEL 8 / CentOS 8, run the initial configuration, and install a module with this tool’s help.

In this tutorial you will learn:

  • How to install cpan
  • How to run initial configuration
  • How to install a perl module with cpan

Read more

Checking swap size and usage with the free command

How to increase swap size on RHEL 8 / CentOS 8

On a system with memory-intense workload with common peak loads, a large swap memory can be useful to store large memory contents not needed at the moment. While using swap instead of memory will certainly have great impact on performance, sometimes this is preferable over adding more memory to the machine, as disk space is much cheaper. Sometimes there is simply no more memory, maybe a physical machine that is out of free slots, and there isn’t any larger memory modules on the market. At other times the slower performance on peak loads may be preferable over the application crashing with out of memory error.

In some cases swap memory needs to be increased, a live example could be expanding the memory in the machine, and so also expanding the swap space to match the double of the new memory size.

In this tutorial you will learn:

  • How to check swap space.
  • How to identify swap volume.
  • How to extend swap volume.
  • How to add another swap volume.

Read more