Ways to Install or Uninstall spectral on Ubuntu 22.04

Updated: September 22, 2022

Spectral is a glossy cross-platform QT-based chat client for the Matrix protocol. Matrix is an open, decentralized, federated communications protocol with support for chat rooms, IM, etc. In this guide, I will show you how to install spectral on Ubuntu 22.04.

Prerequisites to install

  • Operating system: spectral needs Ubuntu 22.04 to work
  • Privileges: Check that you can run sudo commands.

Prerequisites to install spectral on Ubuntu 22.04

Install spectral Ubuntu 22.04

spectral is one of the popular ways on Ubuntu now so that this tutorial will show you how to install it in various ways. Choose the one that you think is easy and you can follow.

Install spectral using APT

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

Step 1: Obtain new packages from Ubuntu by updating the APT database. Opening the terminal and executing this Linux command:

sudo apt -y update

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

sudo apt-get install spectral

Install spectral 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-get -y install aptitude

After installing it, you can now install spectral, just following these steps:

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt update

Step 2: Install the package on Ubuntu 22.04. After updating the system, you can install spectral Ubuntu by pasting this command into the terminal and executing it.

sudo aptitude install spectral

Uninstall spectral on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu is difficult? You are mistaken; Anyone can easily uninstall any program, not just spectral.

You can uninstall spectral on Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove spectral

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

sudo apt autoremove --purge spectral


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