How To Install libunac1-dev on Debian 11

In this tutorial we learn how to install libunac1-dev on Debian 11. libunac1-dev is C programmers library that removes accents from a string

Introduction

In this tutorial we learn how to install libunac1-dev on Debian 11.

What is libunac1-dev

libunac1-dev is:

Unac is a C programmer’s library that removes accents from a string. For instance the string ?t? will become ete. It provides a command line interface that removes accents from a input flow or a string given in argument (unaccent command). In the library function and the command, the charset of the input is specified as an argument. The input is converted to UTF-16 using iconv(3), accents are stripped and the result is converted back to the original charset. The iconv –list command on GNU/Linux will show all charset supported.

There are three methods to install libunac1-dev on Debian 11. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libunac1-dev Using apt-get

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

sudo apt-get update

After updating apt database, We can install libunac1-dev using apt-get by running the following command:

sudo apt-get -y install libunac1-dev

Install libunac1-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libunac1-dev using apt by running the following command:

sudo apt -y install libunac1-dev

Install libunac1-dev 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 libunac1-dev using aptitude by running the following command:

sudo aptitude -y install libunac1-dev

How To Uninstall libunac1-dev on Debian 11

To uninstall only the libunac1-dev package we can use the following command:

sudo apt-get remove libunac1-dev

Uninstall libunac1-dev And Its Dependencies

To uninstall libunac1-dev and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove libunac1-dev

Remove libunac1-dev Configurations and Data

To remove libunac1-dev configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge libunac1-dev

Remove libunac1-dev configuration, data, and all of its dependencies

We can use the following command to remove libunac1-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libunac1-dev

Dependencies

libunac1-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install libunac1-dev package on Debian 11 using different package management tools: apt, apt-get and aptitude.