How To Install libkotlinx-atomicfu-java on Debian 12

Learn how to install libkotlinx-atomicfu-java on Debian 12 with this tutorial. libkotlinx-atomicfu-java is AtomicFU - Idiomatic atomic operations in Kotlin

Introduction

In this tutorial we learn how to install libkotlinx-atomicfu-java on Debian 12.

What is libkotlinx-atomicfu-java

libkotlinx-atomicfu-java is:

AtomicFU is a library that provides the idiomatic and effective way of using atomic operations in Kotlin: Code it like a boxed value, but run it efficiently as java.util.concurrent.atomic.AtomicXxxFieldUpdater. Kotlin-specific extensions (e.g. inline loop, update, updateAndGet functions), atomic arrays, user-defined extensions on atomics and locks.

There are three methods to install libkotlinx-atomicfu-java 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 libkotlinx-atomicfu-java Using apt-get

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

sudo apt-get update

After updating apt database, We can install libkotlinx-atomicfu-java using apt-get by running the following command:

sudo apt-get -y install libkotlinx-atomicfu-java

Install libkotlinx-atomicfu-java Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libkotlinx-atomicfu-java using apt by running the following command:

sudo apt -y install libkotlinx-atomicfu-java

Install libkotlinx-atomicfu-java 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 libkotlinx-atomicfu-java using aptitude by running the following command:

sudo aptitude -y install libkotlinx-atomicfu-java

How To Uninstall libkotlinx-atomicfu-java on Debian 12

To uninstall only the libkotlinx-atomicfu-java package we can use the following command:

sudo apt-get remove libkotlinx-atomicfu-java

Uninstall libkotlinx-atomicfu-java And Its Dependencies

To uninstall libkotlinx-atomicfu-java and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove libkotlinx-atomicfu-java

Remove libkotlinx-atomicfu-java Configurations and Data

To remove libkotlinx-atomicfu-java configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libkotlinx-atomicfu-java

Remove libkotlinx-atomicfu-java configuration, data, and all of its dependencies

We can use the following command to remove libkotlinx-atomicfu-java configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libkotlinx-atomicfu-java

Dependencies

libkotlinx-atomicfu-java have the following dependencies:

References

Summary

In this tutorial we learn how to install libkotlinx-atomicfu-java package on Debian 12 using different package management tools: apt, apt-get and aptitude.