How To Install libduktape202 on Ubuntu 18.04
Introduction
In this tutorial we learn how to install libduktape202
on Ubuntu 18.04.
What is libduktape202
libduktape202 is:
Duktape is an embeddable Javascript engine, with a focus on portability and compact footprint.
Duktape is easy to integrate into a C/C++ project: add duktape.c, duktape.h, and duk_config.h to your build, and use the Duktape API to call Ecmascript functions from C code and vice versa.
This package contains the shared library.
There are three methods to install libduktape202
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 libduktape202 Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libduktape202
using apt-get
by running the following command:
sudo apt-get -y install libduktape202
Install libduktape202 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libduktape202
using apt
by running the following command:
sudo apt -y install libduktape202
Install libduktape202 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 libduktape202
using aptitude
by running the following command:
sudo aptitude -y install libduktape202
How To Uninstall libduktape202 on Ubuntu 18.04
To uninstall only the libduktape202
package we can use the following command:
sudo apt-get remove libduktape202
Uninstall libduktape202 And Its Dependencies
To uninstall libduktape202
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove libduktape202
Remove libduktape202 Configurations and Data
To remove libduktape202
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge libduktape202
Remove libduktape202 configuration, data, and all of its dependencies
We can use the following command to remove libduktape202
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libduktape202
References
Summary
In this tutorial we learn how to install libduktape202
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.