How To Install glogg on Ubuntu 22.04

In this tutorial we learn how to install glogg on Ubuntu 22.04. glogg is Smart interactive log explorer using Qt

Introduction

In this tutorial we learn how to install glogg on Ubuntu 22.04.

What is glogg

glogg is:

glogg is a multi-platform GUI application to browse and search through long or complex log files. It is designed with programmers and system administrators in mind and can be seen as a graphical, interactive combination of grep and less.

Main features include:

  • Accept egrep regular expression to search or filter the log.
  • Interactively display results of the search in a second, filtered window.
  • Colorize the log and the search results.
  • Read the file directly from disk, without loading it into memory.
  • Happily handle big (>4 GiB) files.
  • Read UTF-8 and ISO-8859-1 encoded files.
  • Follow a log in real-time as it is written to disk.
  • Allow one to insert marks in the logs to interesting lines.
  • Support less/vim like keyboard commands to move around the file.

There are three methods to install glogg on Ubuntu 22.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install glogg Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install glogg using apt-get by running the following command:

sudo apt-get -y install glogg

Install glogg Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install glogg using apt by running the following command:

sudo apt -y install glogg

Install glogg Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install glogg using aptitude by running the following command:

sudo aptitude -y install glogg

How To Uninstall glogg on Ubuntu 22.04

To uninstall only the glogg package we can use the following command:

sudo apt-get remove glogg

Uninstall glogg And Its Dependencies

To uninstall glogg and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove glogg

Remove glogg Configurations and Data

To remove glogg configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge glogg

Remove glogg configuration, data, and all of its dependencies

We can use the following command to remove glogg configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge glogg

References

Summary

In this tutorial we learn how to install glogg package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.