How to Install and Uninstall trayer Ubuntu 22.04

Updated: October 10, 2022

trayer is a small program designed to provide systray functionality present in GNOME/KDE desktop environments for window managers which do not support that function. System tray is a place, where various applications put their icons, so they are always visible presenting status of applications and allowing user to control programs. I will show you how to install trayer on Ubuntu 22.04 in this guide.

Requirements to install

  • OS: Ubuntu 22.04 is needed for trayer to work
  • Privileges: Check that you can run sudo commands.

Prerequisites to install trayer on Ubuntu 22.04

Install trayer Ubuntu 22.04

trayer is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one you believe is simple and easy to follow.

Install trayer using APT

This is one of the popular ways to install any Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these instructions to install trayer on your Ubuntu 22.04.

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Launching the terminal and entering the following Linux command:

sudo apt-get update

Step 2: Start installing the packages on Ubuntu 22.04. After updating the system, you can install trayer Ubuntu by executing this command in the terminal.

sudo apt-get -y install trayer

Install trayer using Aptitude

Aptitude allows users to view a list of available packages and manage package installation, upgrade, and removal. If you haven’t already installed it on Ubuntu, run this command to do so.

sudo apt -y install aptitude

After that, you can now install trayer by following these steps:

Step 1: Obtain new packages from Ubuntu by updating the APT database. Launching the terminal and entering the following Linux command:

sudo apt-get update

Step 2: Start the package installation on Ubuntu 22.04. You can now install trayer Ubuntu by executing this command in the terminal.

sudo aptitude install trayer

Uninstall trayer on Ubuntu 22.04

Have you ever considered how challenging it might be to uninstall an application from Ubuntu? You’re wrong, anyone can easily uninstall any program, not just a trayer.

If you installed trayer using APT or Aptitude, you could uninstall trayer on Ubuntu by executing this command

sudo apt remove --auto-remove trayer

If you want to uninstall trayer and delete its data and dependencies, you can also run the following command:

sudo apt autoremove --purge trayer

Ending

In this guide, I showed you ways to install trayer on Ubuntu 22.04 and ways to uninstall trayer too. Please do not hesitate to contact me if you require assistance. I’m delighted to respond.