How to Uninstall or Install soong on Ubuntu 22.04

Updated: September 17, 2022

Soong is a build system for Android built on top of Blueprint, a meta-build system. Soong is the replacement for the old Android make-based build system. It replaces Android.mk files with Android.bp files, which are JSON-like simple declarative descriptions of modules to build. In this guide, I will show you ways to install soong Ubuntu 22.04.

Prerequisites to install

  • Operating system: Ubuntu 22.04 is needed for soong to work
  • Privileges: Make sure that you can run the sudo commands line.

Prerequisites to install soong on Ubuntu 22.04

Install soong Ubuntu 22.04

soong 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 you believe is simple and easy to follow.

Install soong using APT

This is one of the popular ways to install any Ubuntu packages because it is simple to understand, even if you are a Linux novice. Following these steps to get soong 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 fetch new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt-get -y update

Step 2: Install the package on Ubuntu 22.04. After updating the system, you can now install soong Ubuntu by pasting this command into the terminal and pressing Enter.

sudo apt-get install soong

Install soong using Aptitude

If you didn’t install Aptitude on Ubuntu, you need to install it by executing this command.

sudo apt install aptitude

After that, you can now install soong by 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 the following Linux command:

sudo apt-get update

Step 2: Start the package installation on Ubuntu 22.04. After updating the system, you can install soong Ubuntu by executing this command in the terminal.

sudo aptitude -y install soong

Uninstall soong 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 soong using APT or Aptitude, you could uninstall soong on Ubuntu by running this command

sudo apt remove --auto-remove soong

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

sudo apt autoremove --purge soong

Conclusion

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