How To Install juce-modules-source on Ubuntu 22.04

In this tutorial we learn how to install juce-modules-source on Ubuntu 22.04. juce-modules-source is Jules Utility Class Extensions (module sources)

Introduction

In this tutorial we learn how to install juce-modules-source on Ubuntu 22.04.

What is juce-modules-source

juce-modules-source is:

JUCE (Jules’ Utility Class Extensions) is an all-encompassing C++ framework for developing cross-platform software.

It contains pretty much everything you’re likely to need to create most applications, and is particularly well-suited for building highly-customised GUIs, and for handling graphics and sound.

This package installs the sources for the JUCE modules along with required development libraries, as used by ‘jucer’ projects. (Projucer is provided in the ‘juce-tools’ package).

There are three methods to install juce-modules-source on Ubuntu 22.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 juce-modules-source Using apt-get

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

sudo apt-get update

After updating apt database, We can install juce-modules-source using apt-get by running the following command:

sudo apt-get -y install juce-modules-source

Install juce-modules-source Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install juce-modules-source using apt by running the following command:

sudo apt -y install juce-modules-source

Install juce-modules-source 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 juce-modules-source using aptitude by running the following command:

sudo aptitude -y install juce-modules-source

How To Uninstall juce-modules-source on Ubuntu 22.04

To uninstall only the juce-modules-source package we can use the following command:

sudo apt-get remove juce-modules-source

Uninstall juce-modules-source And Its Dependencies

To uninstall juce-modules-source and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove juce-modules-source

Remove juce-modules-source Configurations and Data

To remove juce-modules-source configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge juce-modules-source

Remove juce-modules-source configuration, data, and all of its dependencies

We can use the following command to remove juce-modules-source configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge juce-modules-source

References

Summary

In this tutorial we learn how to install juce-modules-source package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.