Ways to Uninstall or Install libsamplerate-dev on Ubuntu 22.04

Updated: October 31, 2022

This is a virtual package. See the Debian policy for a definition of virtual packages. In this guide, I will show you ways to install libsamplerate-dev Ubuntu 22.04.

Requirements to install

  • OS: Ubuntu 22.04 or older Ubuntu versions
  • Privileges: Make sure you are able to execute sudo commands.

Prerequisites to install libsamplerate-dev on Ubuntu 22.04

Install libsamplerate-dev Ubuntu 22.04

libsamplerate-dev 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 libsamplerate-dev using APT

This is a popular method for installing any Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these steps to install libsamplerate-dev on your Ubuntu 22.04.

Step 1: Update the APT database to download new packages from Ubuntu. Launch the terminal and enter the following Linux command:

sudo apt-get update

Step 2: Start installing the packages on Ubuntu 22.04. You can now install libsamplerate-dev Ubuntu by executing this command in the terminal.

sudo apt -y install libsamplerate-dev

Install libsamplerate-dev 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 install aptitude

Then, you can now install libsamplerate-dev by 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. Opening the terminal and executing this Linux command:

sudo apt-get -y update

Step 2: Install the package on Ubuntu 22.04. You can now install libsamplerate-dev Ubuntu by executing this command in the terminal.

sudo aptitude -y install libsamplerate-dev

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

sudo apt remove --auto-remove libsamplerate-dev

You can also execute this command if you want to uninstall libsamplerate-dev and remove its data and dependencies:

sudo apt autoremove --purge libsamplerate-dev

Summary

In this tutorial, I showed you ways to install libsamplerate-dev on Ubuntu 22.04 and some ways to uninstall libsamplerate-dev too. Please contact me if you require any assistance. I’d be delighted to respond.