How To Install libui-utilcpp-dev on Ubuntu 18.04

In this tutorial we learn how to install libui-utilcpp-dev on Ubuntu 18.04. libui-utilcpp-dev is UI C++ utility library (development)

Introduction

In this tutorial we learn how to install libui-utilcpp-dev on Ubuntu 18.04.

What is libui-utilcpp-dev

libui-utilcpp-dev is:

A toolbox-like C++ library, with a diverse set of utilities:

  • Exception: Generic Exception classes and THROW macros.
  • Sys: C++ “exception” wrappers for a wide range of system C functions.
  • Cap: Capabilities C++ wrapper.
  • CharsetMagic: Charset guessing.
  • Recoder: Charset recoding.
  • Time: Misc date and time utilities.
  • File: Misc file utilities.
  • Text: Misc string utilities.
  • http/: Minimal HTTP implementiation.
  • PosixRegex: Simple wrapper for C ‘regexec’.
  • QuotaInfo: Wrapper to fs quota information.
  • SMLog[Mono]: Syslog Macro Log.
  • Socket: Simple Socket abstraction (inet+unix).
  • Thread: Process based pseudo thread abstraction.
  • CmdLine: Create CLI-like programs.
  • GetOpt: Abstraction of GNU C getopt_long(3).

This package provides all files needed for development.

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

Install libui-utilcpp-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 libui-utilcpp-dev using apt-get by running the following command:

sudo apt-get -y install libui-utilcpp-dev

Install libui-utilcpp-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libui-utilcpp-dev

Install libui-utilcpp-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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libui-utilcpp-dev

How To Uninstall libui-utilcpp-dev on Ubuntu 18.04

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

sudo apt-get remove libui-utilcpp-dev

Uninstall libui-utilcpp-dev And Its Dependencies

To uninstall libui-utilcpp-dev and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libui-utilcpp-dev

Remove libui-utilcpp-dev Configurations and Data

To remove libui-utilcpp-dev configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libui-utilcpp-dev

Remove libui-utilcpp-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libui-utilcpp-dev

References

Summary

In this tutorial we learn how to install libui-utilcpp-dev package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.