Ways to Install and Uninstall wx-common Ubuntu 22.04

Updated: September 17, 2022

wxWidgets (formerly known as wxWindows) is a class library for C++ providing GUI components and other facilities on several popular platforms (and some unpopular ones as well). In this guide, I will show you how to install wx-common on Ubuntu 22.04.

Software Requirement

  • Operating system: Ubuntu 22.04 or older versions with more than 2GB RAM
  • Privileges: Check that you can run sudo commands.

Prerequisites to install wx-common on Ubuntu 22.04

Install wx-common Ubuntu 22.04

wx-common is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one that you think is easy and you can follow.

Install wx-common 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 get wx-common on your Ubuntu.

Step 1: Update the APT database to fetch new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt update

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

sudo apt install wx-common

Install wx-common using Aptitude

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

sudo apt install aptitude

After installing aptitude, you can now install wx-common, just following these steps:

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 fetch new packages from Ubuntu. Launching the terminal and entering the following Linux command:

sudo apt-get update

Step 2: Install the package on Ubuntu 22.04. After updating, you can install wx-common Ubuntu by executing this command in the terminal.

sudo aptitude install wx-common

Uninstall wx-common on Ubuntu 22.04

Have you ever thought about how difficult it is to uninstall an application from Ubuntu? You are mistaken; anyone can easily uninstall any program, not just a package.

If you installed wx-common using APT or Aptitude, you could uninstall wx-common on Ubuntu by running this command

sudo apt remove --auto-remove wx-common

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

sudo apt autoremove --purge wx-common

Summary

In this guide, I showed you ways to install wx-common on Ubuntu 22.04 and some ways to uninstall wx-common too. If you need any help, don’t hesitate to contact me. I’m very glad to answer them.