rgxg command not found

In this troubleshooting guide we learn how to fix rgxg command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

rgxg: command not found

or when using sudo you get the following error message

sudo: rgxg: command not found

Solutions to rgxg: command not found

How To Fix rgxg: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu rgxg is provided by rgxg package.

rgxg is:

rgxg (ReGular eXpression Generator) is a command-line tool to generate (extended) regular expressions.

It can be useful to generate (extended) regular expressions to match for instance a specific number range (e.g. 0 to 31 or 00 to FF) or all addresses of a CIDR block (e.g. 192.168.0.0/24 or 2001:db8:aaaa::/64).

To fix this problem, we can install more using the command below.

sudo apt-get -y install rgxg

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install rgxg.

sudo apt -y install rgxg

Or if you have aptitude installed you can use the following command.

sudo aptitude install rgxg

Summary

In this tutorial we learn how to fix rgxg command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.