Installing the latest version of cmake

cmake

Recently I was working or rather just building the application “digikam” and “plasma-media center” . Since I needed to build these applications from source , it was quite obvious that I would require “cmake” and possibly “make” as well.

So the first thing I did was

 sudo apt-get install cmake 

And sure enough it does work fine but this doesn’t get you the latest version .

For installing the latest cmake version , you can get the cmake  tarball from here .

Then follow the below mentioned steps to install cmake on your system .

  • Extract the files to a directory (say /home)
  •  ./bootstrap 
  •  make 
  •  make install 

That should be enough to get you the latest version of cmake on your system .

P.S : You might have to install make on your system which can be achieved entering the following in a terminal .

 sudo apt-get install make 
Advertisements

One thought on “Installing the latest version of cmake

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s