How to install CMAKE app in Devuan Linux

Written by Administrator on Friday May 8, 2020

Building an application in Devuan Linux is very fast and easy with CMAKE application. CMAKE is a open-source and a cross-platform tool for managing the build process of every software using compiler-independent method.

To install CMAKE in Devuan linux you can run following command in your Devuan Linux terminal:

$ sudo apt-get install cmake

output:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  binutils cmake-data gcc gcc-6 libasan3 libatomic1 libcc1-0 libcilkrts5
  libgcc-6-dev libitm1 liblsan0 libmpx2 libtsan0 libubsan0 libuv1
Suggested packages:
  binutils-doc codeblocks eclipse ninja-build gcc-multilib autoconf automake
  libtool flex bison gdb gcc-doc gcc-6-multilib gcc-6-doc gcc-6-locales
  libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan3-dbg
  liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libmpx2-dbg
  libquadmath0-dbg
The following NEW packages will be installed:
  binutils cmake cmake-data gcc gcc-6 libasan3 libatomic1 libcc1-0 libcilkrts5
  libgcc-6-dev libitm1 liblsan0 libmpx2 libtsan0 libubsan0 libuv1
0 upgraded, 16 newly installed, 0 to remove and 26 not upgraded.
Need to get 18.2 MB of archives.
After this operation, 88.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://deb.devuan.org//merged ascii/main amd64 cmake-data all 3.7.2-1 [1,216 kB]
Get:2 http://deb.devuan.org//merged ascii/main amd64 libuv1 amd64 1.9.1-3 [84.4 kB]
Get:3 http://deb.devuan.org//merged ascii/main amd64 cmake amd64 3.7.2-1 [3,038 kB]
Get:4 http://deb.devuan.org//merged ascii/main amd64 binutils amd64 2.28-5 [3,770 kB]
Get:5 http://deb.devuan.org//merged ascii/main amd64 libcc1-0 amd64 6.3.0-18+deb9u1 [30.6 kB]
Get:6 http://deb.devuan.org//merged ascii/main amd64 libitm1 amd64 6.3.0-18+deb9u1 [27.3 kB]
Get:7 http://deb.devuan.org//merged ascii/main amd64 libatomic1 amd64 6.3.0-18+deb9u1 [8,966 B]
Get:8 http://deb.devuan.org//merged ascii/main amd64 libasan3 amd64 6.3.0-18+deb9u1 [311 kB]
Get:9 http://deb.devuan.org//merged ascii/main amd64 liblsan0 amd64 6.3.0-18+deb9u1 [115 kB]
Get:10 http://deb.devuan.org//merged ascii/main amd64 libtsan0 amd64 6.3.0-18+deb9u1 [257 kB]
Get:11 http://deb.devuan.org//merged ascii/main amd64 libubsan0 amd64 6.3.0-18+deb9u1 [107 kB]
Get:12 http://deb.devuan.org//merged ascii/main amd64 libcilkrts5 amd64 6.3.0-18+deb9u1 [40.5 kB]
Get:13 http://deb.devuan.org//merged ascii/main amd64 libmpx2 amd64 6.3.0-18+deb9u1 [11.2 kB]
Get:14 http://deb.devuan.org//merged ascii/main amd64 libgcc-6-dev amd64 6.3.0-18+deb9u1 [2,296 kB]
Get:15 http://deb.devuan.org//merged ascii/main amd64 gcc-6 amd64 6.3.0-18+deb9u1 [6,900 kB]
Get:16 http://deb.devuan.org//merged ascii/main amd64 gcc amd64 4:6.3.0-4 [5,196 B]
Fetched 18.2 MB in 30s (594 kB/s)                                              
Selecting previously unselected package cmake-data.
(Reading database ... 107795 files and directories currently installed.)
Preparing to unpack .../00-cmake-data_3.7.2-1_all.deb ...
Unpacking cmake-data (3.7.2-1) ...
Selecting previously unselected package libuv1:amd64.
Preparing to unpack .../01-libuv1_1.9.1-3_amd64.deb ...
Unpacking libuv1:amd64 (1.9.1-3) ...
Selecting previously unselected package cmake.
Preparing to unpack .../02-cmake_3.7.2-1_amd64.deb ...
Unpacking cmake (3.7.2-1) ...
Selecting previously unselected package binutils.
Preparing to unpack .../03-binutils_2.28-5_amd64.deb ...
Unpacking binutils (2.28-5) ...
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack .../04-libcc1-0_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libcc1-0:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../05-libitm1_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libitm1:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../06-libatomic1_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libatomic1:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package libasan3:amd64.
Preparing to unpack .../07-libasan3_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libasan3:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../08-liblsan0_6.3.0-18+deb9u1_amd64.deb ...
Unpacking liblsan0:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../09-libtsan0_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libtsan0:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package libubsan0:amd64.
Preparing to unpack .../10-libubsan0_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libubsan0:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package libcilkrts5:amd64.
Preparing to unpack .../11-libcilkrts5_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libcilkrts5:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package libmpx2:amd64.
Preparing to unpack .../12-libmpx2_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libmpx2:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package libgcc-6-dev:amd64.
Preparing to unpack .../13-libgcc-6-dev_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libgcc-6-dev:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package gcc-6.
Preparing to unpack .../14-gcc-6_6.3.0-18+deb9u1_amd64.deb ...
Unpacking gcc-6 (6.3.0-18+deb9u1) ...
Selecting previously unselected package gcc.
Preparing to unpack .../15-gcc_4%3a6.3.0-4_amd64.deb ...
Unpacking gcc (4:6.3.0-4) ...
Setting up libatomic1:amd64 (6.3.0-18+deb9u1) ...
Setting up libcc1-0:amd64 (6.3.0-18+deb9u1) ...
Setting up libasan3:amd64 (6.3.0-18+deb9u1) ...
Setting up libcilkrts5:amd64 (6.3.0-18+deb9u1) ...
Setting up libuv1:amd64 (1.9.1-3) ...
Setting up libubsan0:amd64 (6.3.0-18+deb9u1) ...
Setting up libtsan0:amd64 (6.3.0-18+deb9u1) ...
Setting up cmake-data (3.7.2-1) ...
Setting up liblsan0:amd64 (6.3.0-18+deb9u1) ...
Setting up libmpx2:amd64 (6.3.0-18+deb9u1) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up binutils (2.28-5) ...
Setting up cmake (3.7.2-1) ...
Setting up libitm1:amd64 (6.3.0-18+deb9u1) ...
Setting up libgcc-6-dev:amd64 (6.3.0-18+deb9u1) ...
Setting up gcc-6 (6.3.0-18+deb9u1) ...
Setting up gcc (4:6.3.0-4) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...

Success, CMAKE is installed. We can check the version and ensure CMAKE is really installed:

$ cmake --version

and see the result:

cmake version 3.7.2

CMake suite maintained and supported by Kitware (kitware.com/cmake).

Category: linux Tags: devuan install cmake