How to Install and Uninstall cmake Package on Debian 12 (Bookworm)

Last updated: May 21,2024

1. Install "cmake" package

Please follow the instructions below to install cmake on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install cmake

2. Uninstall "cmake" package

This guide covers the steps necessary to uninstall cmake on Debian 12 (Bookworm):

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

3. Information about the cmake package on Debian 12 (Bookworm)

Package: cmake
Version: 3.25.1-1
Installed-Size: 28897
Maintainer: Debian CMake Team
Architecture: amd64
Depends: libarchive13 (>= 3.3.3), libc6 (>= 2.34), libcurl4 (>= 7.16.2), libexpat1 (>= 2.0.1), libgcc-s1 (>= 3.0), libjsoncpp25 (>= 1.9.5), librhash0 (>= 1.2.6), libstdc++6 (>= 12), libuv1 (>= 1.38.0), zlib1g (>= 1:1.1.4), cmake-data (= 3.25.1-1), procps
Recommends: gcc, make
Suggests: cmake-doc, cmake-format, elpa-cmake-mode, ninja-build
Description: cross-platform, open-source make system
Description-md5: b60d0479b91d22665e465b5cec287c83
Multi-Arch: foreign
Homepage: https://cmake.org/
Tag: devel::buildtools, implemented-in::c++, interface::commandline,
interface::text-mode, role::program, scope::utility,
uitoolkit::ncurses, works-with::software:source
Section: devel
Priority: optional
Filename: pool/main/c/cmake/cmake_3.25.1-1_amd64.deb
Size: 8692248
MD5sum: b78801e3c044461d022c7c7ab746a4b9
SHA256: 257a11063855f09e48696057fdb1ba2bcf1069502e0302576831dc2fb1571d7f