How To Install gnome-logs on Ubuntu 20.04

In this tutorial we learn how to install gnome-logs on Ubuntu 20.04. gnome-logs is viewer for the systemd journal viewer for the systemd journal

Introduction

In this tutorial we learn how to install gnome-logs on Ubuntu 20.04.

What is gnome-logs

gnome-logs is:

The GNOME Logs application is an application to view system logs (from the systemd journal) for the GNOME Desktop environment. Task: ubuntu-desktop-minimal, ubuntu-desktop, ubuntu-budgie-desktop

Package: gnome-logs Architecture: amd64 Version: 3.34.0-1 Priority: optional Section: gnome Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian GNOME Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 696 Depends: libc6 (>= 2.4), libglib2.0-0 (>= 2.43.90), libgtk-3-0 (>= 3.22.0), libpango-1.0-0 (>= 1.14.0), libsystemd0, dconf-gsettings-backend | gsettings-backend, gsettings-desktop-schemas Filename: pool/main/g/gnome-logs/gnome-logs_3.34.0-1_amd64.deb Size: 121872 MD5sum: 343f2dad51bbd77d99c20f79f789c6d8 SHA1: fe77f21978a8e170cf7a6be3d59237db8adc5919 SHA256: eb939bc5487f4f9d86c3b4295455307565285cf74c98204a00d3efccb31edcc9 Homepage: https://wiki.gnome.org/Apps/Logs Description-en: viewer for the systemd journal The GNOME Logs application is an application to view system logs (from the systemd journal) for the GNOME Desktop environment. Task: ubuntu-desktop-minimal, ubuntu-desktop, ubuntu-budgie-desktop

There are three methods to install gnome-logs on Ubuntu 20.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 gnome-logs Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install gnome-logs

Install gnome-logs Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gnome-logs

Install gnome-logs 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 gnome-logs using aptitude by running the following command:

sudo aptitude -y install gnome-logs

How To Uninstall gnome-logs on Ubuntu 20.04

To uninstall only the gnome-logs package we can use the following command:

sudo apt-get remove gnome-logs

Uninstall gnome-logs And Its Dependencies

To uninstall gnome-logs and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove gnome-logs

Remove gnome-logs Configurations and Data

To remove gnome-logs configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge gnome-logs

Remove gnome-logs configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge gnome-logs

References

Summary

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