How to Install and Uninstall cmake Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: May 05,2024

1. Install "cmake" package

In this section, we are going to explain the necessary steps to install cmake on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install cmake

2. Uninstall "cmake" package

This tutorial shows how to uninstall cmake on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove cmake $ sudo apt autoclean && sudo apt autoremove

3. Information about the cmake package on Ubuntu 20.04 LTS (Focal Fossa)

Package: cmake
Architecture: amd64
Version: 3.16.3-1ubuntu1.20.04.1
Multi-Arch: foreign
Priority: optional
Section: devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian CMake Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 18754
Depends: cmake-data (= 3.16.3-1ubuntu1.20.04.1), procps, libarchive13 (>= 3.3.3), libc6 (>= 2.17), libcurl4 (>= 7.16.2), libexpat1 (>= 2.0.1), libgcc-s1 (>= 3.0), libjsoncpp1 (>= 1.7.4), librhash0 (>= 1.2.6), libstdc++6 (>= 9), libuv1 (>= 1.11.0), zlib1g (>= 1:1.1.4)
Recommends: gcc, make
Suggests: cmake-doc, ninja-build
Filename: pool/main/c/cmake/cmake_3.16.3-1ubuntu1.20.04.1_amd64.deb
Size: 3668468
MD5sum: a36b7ff26fe28c508c134595fef26519
SHA1: 94b06aed6b7534d89230b62f4c1dbe4a6738d26f
SHA256: daccb01e9d01fbf9533fab486319653b9832a7be118b0e57f6b4362e0ad6f6de
SHA512: 7b948f0a519d91f504960b5d9bbc35f400ae563b3fe79fa1a4d87f09f80841f7006aa33482c9b3aad998a8bb9457816d9de09c99dfc16d9950e7f011e4db5779
Homepage: https://cmake.org/
Description: cross-platform, open-source make system
Description-md5: 47b53839da906127970f1e8c870afc2d

Package: cmake
Architecture: amd64
Version: 3.16.3-1ubuntu1
Multi-Arch: foreign
Priority: optional
Section: devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian CMake Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 18758
Depends: cmake-data (= 3.16.3-1ubuntu1), procps, libarchive13 (>= 3.3.3), libc6 (>= 2.17), libcurl4 (>= 7.16.2), libexpat1 (>= 2.0.1), libgcc-s1 (>= 3.0), libjsoncpp1 (>= 1.7.4), librhash0 (>= 1.2.6), libstdc++6 (>= 9), libuv1 (>= 1.11.0), zlib1g (>= 1:1.1.4)
Recommends: gcc, make
Suggests: cmake-doc, ninja-build
Filename: pool/main/c/cmake/cmake_3.16.3-1ubuntu1_amd64.deb
Size: 3668668
MD5sum: 0901cd90df683245c1c63aa25494e895
SHA1: 987da0bb67fef6ed1cc4bdf791c983534dea4341
SHA256: 1f09f5bd58627092ed1787538051ce9f5f016ab279fe4c795e01faa1f9619180
Homepage: https://cmake.org/
Description: cross-platform, open-source make system
Description-md5: 47b53839da906127970f1e8c870afc2d