How To Install gnome-sushi on Ubuntu 20.04

In this tutorial we learn how to install gnome-sushi on Ubuntu 20.04. gnome-sushi is sushi is a quick previewer for nautilus

Introduction

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

What is gnome-sushi

gnome-sushi is:

Sushi is a Gtk+ and Javascript-based quick previewer for Nautilus, the GNOME desktop file manager. Sushi is a DBus-activated service. It is capable of previewing documents, PDFs, sound and video files (using GStreamer), some text files, and possibly others in the future.

To activate the preview, left-click the file and hit space. The preview can be closed by hitting space again, or escape.

There are three methods to install gnome-sushi 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-sushi 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-sushi using apt-get by running the following command:

sudo apt-get -y install gnome-sushi

Install gnome-sushi Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gnome-sushi

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

sudo aptitude -y install gnome-sushi

How To Uninstall gnome-sushi on Ubuntu 20.04

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

sudo apt-get remove gnome-sushi

Uninstall gnome-sushi And Its Dependencies

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

sudo apt-get -y autoremove gnome-sushi

Remove gnome-sushi Configurations and Data

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

sudo apt-get -y purge gnome-sushi

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

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

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

References

Summary

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