apt-get Install cmake

How do you install cmake in Linux using apt-get command?

How to Install cmake with apt-get?

apt-get install cmake -y

Install Cmake  Command

Here is a tutorial to learn how to install cmake using apt-get command.

Step 1: Open terminal with su access and enter the command as shown below:
apt-get install cmake -y

Step 2: After completion, the install command exits and instructs the user to restart the running instances of cmake if it is running already.

Result of the Command Execution shown below:

root@hiox:~ apt-get install cmake -y
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
libdbusmenu qt2 plasma widget kimpanel backend ibus texlive common
sane utils libpolkit backend 1 0 libproc processtable perl libplist1
aspell en libxcb aux0 libdevel symdump perl libsm dev libatk1.0 0
libgd text perl syslinux libnet daemon perl libical0 libwpd8c2a
gconf2 common libgtk2.0 common libsys cpuload perl libdb je java hdparm
gir1.0 glib 2.0 dnsmasq base pure ftpd common libnet ssleay perl
libgsf 1 common update notifier common libgnomeprintui2.2 common
python cupshelpers libkonq5 templates libcrypt openssl rsa perl libqca2
xfonts 75dpi libndesk dbus1.0 cil libmtp8 rpm2cpio libgutenprint2
gnome js common pure ftpd mysql libsilcclient 1.1 3 libxcb atom1
erlang crypto postgresql 8.4 libyaml tiny perl python debian
hicolor icon theme libxcomposite1 libice dev lp solve libarchive1
libwxbase2.8 0 realpath libdigest sha1 perl fakeroot libfilesys df perl
unattended upgrades libcupsppdc1 telepathy gabble libhal storage1
libnet ip perl libdb4.7 java xfonts scalable libcdio paranoia0 libunshield0
libcompizconfig0 lib32gomp1 libwebkit 1.0 common libatlas3gf base
libpurple bin bind9 host libpolkit qt 1 0 python numpy libproc process perl
libconvert tnef perl gamin libgphoto2 port0 libgd graph3d perl
libio stringy perl python mako aspell usbmuxd libsensors4 libnet dns perl
nvidia common python avahi libxxf86dga1 libnet dbus perl libxine1 x
libcupscgi1 libmeanwhile1 poppler utils libsnmp15 genisoimage libkpathsea5
hunspell en us erlang xmerl libreadonly perl librdf0 libdmraid1.0.0.rc16
libclone perl libpthread stubs0 libnunit2.4 cil libpam unix2 esound clients
smbclient libjtidy java libbonobo2 common libilmbase6 libcupsdriver1
libgd gd2 perl libindicate qt0 libqca2 plugin ossl libotf0 libatk1.0 data
libsgutils2 2 gnome mime data libcfitsio3 python pycurl libicu4j java
libxml parser perl obexd client libmagickcore2 liburi perl libddccontrol0
libservlet2.4 java re2c libsox fmt base libotr2 libtie ixhash perl
libxml2 utils desktop file utils python couchdb libspectre1 libcairo perl
mysql server gstreamer0.10 alsa obex data server libhtml parser perl
libparted0debian1 libossp uuid perl python reportlab libsane
libplasma geolocation interface4 libimobiledevice0 odbcinst1debian1
libhyphen0 erlang syntax tools python louis liblouis data
libreadonly xs perl libgmime 2.0 2a libibus1 ddccontrol db libproxy0 libpst4
libcrypt ssleay perl xterm libboost program options1.40.0 libnm util1
libuuid perl python imaging libmono cairo2.0 cil libxcb xv0 unshield
libsox fmt alsa libtdb1 libdbi perl libmagickwand2 libvte common
python egenix mxtools phonon libsctp1 hpijs ncftp libndesk dbus glib1.0 cil
docbook xml libgupnp 1.0 3 libjson xs perl libdevel stacktrace perl
nvidia current modaliases foomatic filters python software properties
libmime tools perl libpcap0.8 screen libstring shellquote perl
libfont afm perl oxygen icon theme libpisock9 bc libdns64
liblog log4perl perl libgdata google1.2 1 librpmio0 libjson perl librpm0
libwps 0.1 1 libmagick++2 rpm common libgomp1 libflac++6 ttf opensymbol
language selector common libdshconfig1 libipc sharelite perl libslp1
groff base python uniconvertor whois libdotconf1.0 libtimedate perl
gdebi core python lxml libhtml template perl libnotify1 libpoppler qt4 3
libstartup notification0 python twisted web libjs prototype libavahi glib1
evolution common libexiv2 6 mysql server core 5.1 odbcinst apturl common
libperl6 junction perl liblapack3gf librasqal2 mtools libfcgi perl
libcommons compress java libcanberra0 libmono addins0.2 cil php5 gd
libthai data libgadu3 xorg docs core x11proto kb dev luatex libwavpack1
libqt4 opengl python renderpm libisccc60 network manager pptp
libmono system runtime2.0 cil pptp linux libgtkhtml editor common gcc 4.4
libdspam7 m17n db toshset libfile mmagic perl cpu checker
libdatetime timezone perl php mail mime libfile slurp perl libc6 i386
libfuse2 libid3 3.8.3c2a liblzma1 k3b data libmail rfc822 address perl
libgamin0 libsnmp base lib32gcc1 libqt4 xmlpatterns libnova 0.12 2 tcsh
couchdb bin unixodbc erlang runtime tools libhtml tree perl procmail
libdatrie1 xtrans dev libindicate4 libwnck22 libakonadiprivate1
php xml serializer libsolidcontrolifaces4 spamc libdevkit power gobject1
libsexy2 libavahi core6 libxcb event1 libnet cidr perl libxcrypt1
libsoprano4 samba common libiec61883 0 akonadi server xinput libelf1
libforms1 libxres1 libmailtools perl libcairomm 1.0 1 libgdata common
libsdl image1.2 sbox dtc libgd graph perl libnss mysql bg php pear xbitmaps
libpango1.0 common blt x11proto input dev libgp11 0 libjsch java
python brlapi libgirepository1.0 0 uno libs3 libclucene0ldbl rtkit python tk
libpulse browse0 launchpad integration libsoap lite perl libexempi3
libhpmud0 libxaw7 liblwres60 shared desktop ontologies php5 curl libijs 0.35
libt1 5 gcc libsilc 1.1 2 libcurl3 linux headers 2.6.32 74
libjs scriptaculous xfonts base libfli1 libfltk1.1 python xapian
apt xapian index libdbusmenu glib1 dwm libesd0 libparams validate perl
virtuoso nepomuk liblouis0 linux headers 2.6.32 74 generic libpam mysql
libqimageblitz4 iputils arping libfile tail perl phonon backend xine
x11 xfs utils mysql client core 5.1 libenchant1c2a mlmmj libcolamd2.7.1
libnm glib2 libxt dev kdepimlibs data xulrunner 1.9.2 libcroco3 modemmanager
libgnomecups1.0 1 libevent 1.4 2 python cairo python smbc
system config printer udev libopenexr6 libpulse mainloop glib0 icoutils
erlang mnesia libgsf 1 114 libgtop2 common libpoppler5 librarian0
libopenobex1 libspeexdsp1 libieee1284 3 rarian compat python telepathy
libnet server perl libhdf4 0 wodim libthai0 linux headers generic
libart2.0 cil python dbus postgresql common erlang public key
libdbd mysql perl libgnomeprint2.2 data gir1.0 gstreamer 0.10 manpages
libidl0 libbind9 60 libneon27 gnutls libdatetime perl liblog dispatch perl
gir1.0 freedesktop kstars data wget libdjvulibre21 pax libglade2 0
libxine1 console lesstif2 postfix mysql postgresql libsys cpu perl
soprano daemon libcommons el java xfonts 100dpi libspeechd2 esound common
postgresql client 8.4 libqt4 svg libcompress raw zlib perl ppp libglib perl
xdg utils netpbm liberror perl xinit libdcmtk1 libdatetime locale perl
webalizer gstreamer0.10 pulseaudio libdv4 libhtml format perl libatasmart4
libxau dev rpm librpmbuild0 libtask weaken perl libphonon4 libfs6 sox
libzip1 libfreezethaw perl ssh libblas3gf fglrx modaliases libxss1
libtotem plparser17 mysql client libgs8 libhunspell 1.2 0 libslf4j java
libkephal4 nvidia 96 modaliases tcl8.4 tcl8.5 libindi0 libdc1394 22
libasm3 java ure psfontmgr libjasper1 erlang inets libgtop2 7 ttf dejavu
libxine1 misc plugins libplrpc perl ksysguardd libusbmuxd1 dmz cursor theme
libm17n 0 libdecoration0 libgeoip1 libregexp java libperl5.10
python twisted names libgnomeui common xz utils libxxf86misc1 m17n contrib
wwwconfig common libgupnp igd 1.0 2 php xml parser libsocket6 perl mhonarc
libisccfg60 libdbd pg perl usbutils smartdimmer libxvmc1 gnome desktop data
python gdbm python cups libc6 dev libjasper java libupower glib1 libattica0
tk8.4 tk8.5 libmail dkim perl libanthy0 ghostscript libwnck common
app install data libconvert uulib perl sgml data postgresql client common
libdb4.6 libnetpbm10 libdb4.7 libpolkit agent 1 0 libxml xpath perl
texlive doc base libpq5 libgfortran3 xfonts mathml libgpgme11 libart 2.0 2
evolution data server common libstreams0 libid3tag0 python pexpect
libqt4 webkit libraptor1 libio multiplex perl libcdio cdda0 libepub0
imagemagick libhtml tagset perl libzephyr4 libhamcrest java liblucene2 java
erlang ssl libpango1.0 0 libgraphite3 exiv2 libgvfscommon0 php5 mysql
libmusicbrainz4c2a libx11 dev libnetaddr ip perl kdelibs5 data libwpg 0.1 1
libgc1c2 quassel data libequinox osgi java liblist moreutils perl hal info
linux libc dev dictionaries common openoffice.org common libintl perl patch
manpages dev kdebase data libmail spf perl samba common bin libgnome menu2
libgcj common libwww perl libcommon sense perl system config printer common
netcat traditional fuse utils php5 cli scrollkeeper info dvd+rw tools
libsieve2 1 libgtk2.0 bin php crypt cbc gir1.0 atk 1.0 python xkit
libdjvulibre text libisc60 libpaper utils libavahi gobject0 dbus x11
libsox1a libcupsmime1 libc dev bin libnet libidn perl libnice0 compiz core
libxcb1 dev libxcb shape0 openjdk 6 jdk libconvert binhex perl
libbonoboui2 common libcommons digester java libloudmouth1 0 libssh 4
python egenix mxdatetime perlmagick libxcb shm0 binutils
kdebase runtime data min12xxw libio socket ssl perl libjson glib 1.0 0
libjetty java nvidia 173 modaliases p7zip full mscompress libossp uuid16
python rdflib php mail mimedecode libiodbc2 libsys hostname long perl
libpam gnome keyring libgdata1.2 1 ucspi tcp iptables librsync1 php5 common
openbsd inetd libjline java bcmwl modaliases mysql server 5.1 tex common
libusb 1.0 0 libclass singleton perl libnet1 libmldbm perl x11proto core dev
freeglut3 python crypto libxml twig perl libaspell15 libdigest hmac perl
libgssdp 1.0 2 libmsn0.3 gnome doc utils libgtk2.0 0 libxine1 bin
libxdmcp dev libpthread stubs0 dev pulseaudio utils gsfonts libxkbfile1
libgnomecanvas2 common libunix syslog perl libpaper1
libcrypt openssl bignum perl libltdl7 spamassassin mysql client 5.1
telepathy mission control 5 libasound2 plugins libnids1.21 libpisync1
hplip data erlang base libnetcdf4 libsoup2.4 1 libstreamanalyzer0
libio socket inet6 perl libgphoto2 2 python reportlab accel
libgtksourceview2.0 common python opengl libxine1 libaudiofile0
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
cmake
0 upgraded, 1 newly installed, 0 to remove and 47 not upgraded.
Need to get 0B/4720kB of archives.
After this operation, 10.7MB of additional disk space will be used.
Selecting previously deselected package cmake.
(Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 118125 files and directories currently installed.)
Unpacking cmake (from .../cmake_2.8.0 5ubuntu1_amd64.deb) ...
Setting up cmake (2.8.0 5ubuntu1) ...
root@hiox:~


Related Topics

Apt Get Commands