How To Install extra-cmake-modules-doc on Ubuntu 22.04
Introduction
In this tutorial we learn how to install extra-cmake-modules-doc
on Ubuntu 22.04.
What is extra-cmake-modules-doc
extra-cmake-modules-doc is:
Extra CMake Modules, or ECM, aims to augment CMake with additional modules. It serves as both a staging ground for new modules before they are moved upstream to CMake and a place for modules that, for whatever reason, are not a good fit for CMake itself.
It is primarily driven by the needs of the KDE community, but it is hoped that other projects will find it useful, and outside contributions are always welcome. The main rule for new modules is that there must be at least two downstream users.
This package contains HTML documentation and man pages.
There are three methods to install extra-cmake-modules-doc
on Ubuntu 22.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 extra-cmake-modules-doc Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install extra-cmake-modules-doc
using apt-get
by running the following command:
sudo apt-get -y install extra-cmake-modules-doc
Install extra-cmake-modules-doc Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install extra-cmake-modules-doc
using apt
by running the following command:
sudo apt -y install extra-cmake-modules-doc
Install extra-cmake-modules-doc 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 extra-cmake-modules-doc
using aptitude
by running the following command:
sudo aptitude -y install extra-cmake-modules-doc
How To Uninstall extra-cmake-modules-doc on Ubuntu 22.04
To uninstall only the extra-cmake-modules-doc
package we can use the following command:
sudo apt-get remove extra-cmake-modules-doc
Uninstall extra-cmake-modules-doc And Its Dependencies
To uninstall extra-cmake-modules-doc
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove extra-cmake-modules-doc
Remove extra-cmake-modules-doc Configurations and Data
To remove extra-cmake-modules-doc
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge extra-cmake-modules-doc
Remove extra-cmake-modules-doc configuration, data, and all of its dependencies
We can use the following command to remove extra-cmake-modules-doc
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge extra-cmake-modules-doc
References
Summary
In this tutorial we learn how to install extra-cmake-modules-doc
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.