How To Install libc++-dev-wasm32 on Debian 12
Introduction
In this tutorial we learn how to install libc++-dev-wasm32
on Debian 12.
What is libc++-dev-wasm32
libc++-dev-wasm32 is:
libc++ is another implementation of the C++ standard library
Features and Goals
- Correctness as defined by the C++ standards.
- Fast execution.
- Minimal memory use.
- Fast compile times.
- ABI compatibility with gcc’s libstdc++ for some low-level features such as exception objects, rtti and memory allocation.
- Extensive unit tests.
This is a dependency package providing the default 32-bit WebAssembly System Interface.
There are three methods to install libc++-dev-wasm32
on Debian 12. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libc++-dev-wasm32 Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libc++-dev-wasm32
using apt-get
by running the following command:
sudo apt-get -y install libc++-dev-wasm32
Install libc++-dev-wasm32 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libc++-dev-wasm32
using apt
by running the following command:
sudo apt -y install libc++-dev-wasm32
Install libc++-dev-wasm32 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 Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libc++-dev-wasm32
using aptitude
by running the following command:
sudo aptitude -y install libc++-dev-wasm32
How To Uninstall libc++-dev-wasm32 on Debian 12
To uninstall only the libc++-dev-wasm32
package we can use the following command:
sudo apt-get remove libc++-dev-wasm32
Uninstall libc++-dev-wasm32 And Its Dependencies
To uninstall libc++-dev-wasm32
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove libc++-dev-wasm32
Remove libc++-dev-wasm32 Configurations and Data
To remove libc++-dev-wasm32
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge libc++-dev-wasm32
Remove libc++-dev-wasm32 configuration, data, and all of its dependencies
We can use the following command to remove libc++-dev-wasm32
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libc++-dev-wasm32
Dependencies
libc++-dev-wasm32 have the following dependencies:
References
Summary
In this tutorial we learn how to install libc++-dev-wasm32
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.