How To Install vdk2-tutorial on Ubuntu 20.04
Introduction
In this tutorial we learn how to install vdk2-tutorial
on Ubuntu 20.04.
What is vdk2-tutorial
vdk2-tutorial is:
The Visual Development Kit2 (VDK2) is a C++ library that wraps the GTK+ toolkit.
This package contains a tutorial for VDK2. It will be put in /usr/share/doc/vdk2-tutorial/.
There are three methods to install vdk2-tutorial
on Ubuntu 20.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 vdk2-tutorial Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install vdk2-tutorial
using apt-get
by running the following command:
sudo apt-get -y install vdk2-tutorial
Install vdk2-tutorial Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install vdk2-tutorial
using apt
by running the following command:
sudo apt -y install vdk2-tutorial
Install vdk2-tutorial 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 vdk2-tutorial
using aptitude
by running the following command:
sudo aptitude -y install vdk2-tutorial
How To Uninstall vdk2-tutorial on Ubuntu 20.04
To uninstall only the vdk2-tutorial
package we can use the following command:
sudo apt-get remove vdk2-tutorial
Uninstall vdk2-tutorial And Its Dependencies
To uninstall vdk2-tutorial
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove vdk2-tutorial
Remove vdk2-tutorial Configurations and Data
To remove vdk2-tutorial
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge vdk2-tutorial
Remove vdk2-tutorial configuration, data, and all of its dependencies
We can use the following command to remove vdk2-tutorial
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge vdk2-tutorial
References
Summary
In this tutorial we learn how to install vdk2-tutorial
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.