How To Install libukui-menu2 on Ubuntu 18.04

In this tutorial we learn how to install libukui-menu2 on Ubuntu 18.04. libukui-menu2 is implementation of the freedesktop menu specification for UKUI (library)

Introduction

In this tutorial we learn how to install libukui-menu2 on Ubuntu 18.04.

What is libukui-menu2

libukui-menu2 is:

The package contains an implementation of the draft “Desktop Menu Specification” from freedesktop.org:

http://www.freedesktop.org/Standards/menu-spec

This package contains the actual library files.

There are three methods to install libukui-menu2 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 libukui-menu2 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libukui-menu2

Install libukui-menu2 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libukui-menu2

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

sudo aptitude -y install libukui-menu2

How To Uninstall libukui-menu2 on Ubuntu 18.04

To uninstall only the libukui-menu2 package we can use the following command:

sudo apt-get remove libukui-menu2

Uninstall libukui-menu2 And Its Dependencies

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

sudo apt-get -y autoremove libukui-menu2

Remove libukui-menu2 Configurations and Data

To remove libukui-menu2 configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libukui-menu2

Remove libukui-menu2 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libukui-menu2

References

Summary

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