[Insight-users] How to install CMake?

Benjamin King king.benjamin at mh-hannover.de
Tue Nov 9 06:47:04 EST 2004


Hi Satrish,

> Can you guide me on how to install CMake on my Fedora2
> machine. I read the instruction on web but I'm not
> sure with /bootstrap bcoz I'm just start to learn to
> be Linux user.

You find precompiled binaries on the cmake download page. They don't require 
compilation/bootstrapping.
Just download the archive that matches your machine (probably 
cmake-2.0.5-x86-linux.tar.gz).
Then go to the directory where you downloaded it  into
 $ cd /home/satrish/downloads
and unpack it
 $ tar xvzf cmake-2.0.5-x86-linux.tar.gz
(That's for e_X_tract _V_erbose g_Z_ipped _F_ile)
Then you will get two files, a README and another .tar archive. The REAMDE 
invites you to unpack the archive in /usr/local so that's what you do:
 $ cd /usr/local
 $ tar xvf /home/satrish/downloads/cmake-2.0.5-x86-linux-files.tar
You have to do this as root.
After that, you can safely delete the README, the .tar file and the .tar.gz 
file.
The graphical (sort of) version of cmake is /usr/local/bin/ccmake. You most 
probably have /usr/local/bin in your path (check with 'echo $PATH').

Best regards,
  Benjamin

-- 
Benjamin King
Institut für Medizinische Informatik
Medizinische Hochschule Hannover
Tel.: +49  511  532-2663


More information about the Insight-users mailing list