How to Install CMake on Ubuntu 18.04
Install CMake on Ubuntu 18.04
CMake is a free, opensource and cross-platform family of tools designed to build, test and package the software. It is created by Kitware for a powerful, cross-platform build environment for open-source projects such as VTK and ITK. In this tutorial, you are going to learn how to Install CMake on Ubuntu 18.04.
Before you start to Install CMake on Ubuntu 18.04. You must have the non-root user account on your system with sudo privileges.
Install Latest Version of CMake
As the Ubuntu Global Repository does not provide the latest version of CMake. Here we are going to install CMake by first downloading then installing it.
First, open the terminal by pressing
Ctrl+Alt+t in your Ubuntu System.
Now to download
CMake run following
wget command in the terminal:
Now extract the downloaded
cmake-3.15.2.tar.gz file using
tar -zxvf cmake-3.15.2.tar.gz
Navigate to the extracted directory by using a
cd command like given below:
bootstrap file to bootstrap
cmake typing following command in the terminal:
make command as given below:
sudo make install
Confirm the Installation
Now confirm the installation and check the
cmake version typing following command in the terminal:
You have successfully learned how to install CMake on Ubuntu 18.04. If you have any queries regarding this then please don’t forget to comment below.
How to install Django Web Framework on Ubuntu 18.04
How to Setup Cron Jobs on Fedora
How to Install WordPress with LAMP Stack on Debian 10
How to Stop and Disable FirewallD on CentOS 8
How to install Skype on Ubuntu 18.04
How to install Krita on Debian 9
How to Install Apache on Ubuntu 18.04
How to List Installed Packages on Ubuntu
How to Search and Replace Text in Vim or Vi
How to List Installed Packages on Linux Mint 18
How to Save a File in Vim or Vi and Quit the Editor
How to Install Eclipse IDE on Manjaro 18