How do you install llvm dev in Linux using apt-get command?
Here is a tutorial to learn how to install llvm dev using apt-get command.
Step 1: Open terminal with su access and enter the command as shown below:
apt-get install llvm dev -y
Step 2: After completion, the install command exits and instructs the user to restart the running instances of llvm dev if it is running already.
Result of the Command Execution shown below:
root@hiox:~ apt-get install llvm dev -y
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
x11 apps texlive common libmono data tds2.0 cil libsmbclient
libpolkit backend 1 0 libmono c5 1.0 cil lib32bz2 1.0 libplist1 aspell en
libpci3 libjna java libxcb aux0 libedit2 menu xdg libsm dev libatk1.0 0 jsvc
menu libts 0.0 0 libpcsclite1 libtalloc2 libjaxp1.3 java gconf2 common
libswscale0 libcdio10 libgtk2.0 common libdb je java hdparm
libmono npgsql2.0 cil libxfixes3 junit4 espeak libmono security2.0 cil
libgsf 1 common update notifier common xfonts 75dpi byobu python pyorbit
libmtp8 rpm2cpio xsltproc libgutenprint2 libxcb atom1 libg15daemon client1
libnb apisupport1 java xserver xorg video all python debian
libmono wcf3.0 cil hicolor icon theme libxcomposite1 libice dev liboro java
libarchive1 xserver xorg video apm libmono peapi2.0 cil libavutil49
libntfs10 debootstrap libaiksaurus 1.2 data libappframework java libpth20
xserver xorg video ark libflite1 fakeroot xserver xorg video ati
unattended upgrades libxrandr dev libmono system data1.0 cil libgmime 2.4 2
libv4l 0 libcupsppdc1 ttf dejavu extra liblcms1 libnb javaparser java
libhal storage1 libdb4.7 java libmono simd2.0 cil libmono system2.0 cil
libmono1.0 cil xfonts scalable libexpat1 dev libcdio paranoia0 libiw dev
libmono system ldap1.0 cil libwebkit 1.0 common squashfs tools
libxerces2 java libmono0 libcupsimage2 libiceutil33 gamin libgphoto2 port0
xfonts encodings ltspfs aspell usbmuxd libsensors4 libwrap0 libxdamage dev
lib32ncurses5 pkg config libgcj bc gcj 4.4 base libxxf86dga1 libcupscgi1
libcaca0 libmono getoptions1.0 cil libgudev 1.0 0 poppler utils
libmono cscompmgd8.0 cil libsamplerate0 libmono data1.0 cil libsnmp15
genisoimage xserver xorg video openchrome libkpathsea5 hunspell en us
intel gpu tools xbase clients preview latex style libmono sharpzip0.84 cil
libmono sqlite2.0 cil libmono ldap1.0 cil libpthread stubs0 libcdparanoia0
libicu42 libavc1394 0 esound clients smbclient libjtidy java
libbonobo2 common libilmbase6 libcupsdriver1 libjzlib java libatk1.0 data
libsgutils2 2 libprotobuf5 gnome mime data iso codes libmodplug0c2
libmono management2.0 cil python pycurl libicu4j java x11 utils
libboost system1.40.0 libmagickcore2 libfreemarker java libservlet2.4 java
libdb4.7 java gcj xserver xorg video s3virge libxml2 utils
desktop file utils xserver xorg video v4l pulseaudio dnsutils libspectre1
x11 xkb utils libcommons beanutils java xserver xorg video mga
obex data server libparted0debian1 xserver xorg video chips libbeagle1
libmono corlib2.0 cil libxfixes dev udisks libimobiledevice0 g++ 4.4
libboost signals1.40.0 junit dhcp3 server libqt4 script libqt4 designer
icedtea netx lxde icon theme xserver xorg core libqt4 network
libmono system web mvc1.0 cil libqt4 dbus xserver xorg video mach64
libasm2 java libxxf86vm1 tftpd hpa libproxy0 libjpeg progs libjack0 xterm
libnspr4 dev default jdk doc libxcb render util0 dev
libboost program options1.40.0 libnm util1 libmono cairo2.0 cil
xserver common libtagc0 libmono relaxng1.0 cil libgl1 mesa dri python newt
libbonobo2 0 libtdb1 libmagickwand2 libvte common libgnomevfs2 common hpijs
texlive pstricks xserver xorg video trident libavfilter0 libgnomevfs2 extra
python software properties cups client libnb platform devel java
x11proto xinerama dev libgl1 mesa glx xserver xorg video sis libdca0
libx86 1 screen x11proto render dev libspeex1 bc libxi dev
texlive extra utils m4 gconf2 at java common dosfstools ed
libmono i18n west2.0 cil xauth texlive latex base librpmio0 librpm0
libxslt1.1 texlive fonts recommended javahelp2 pulseaudio module x11
libwbclient0 rpm common libgomp1 icedtea 6 jre cacao python apt
gcj 4.4 jre lib libpixman 1 dev libnspr4 0d libsqlite0 libslp1 groff base
libfftw3 3 libdirectfb extra libswingx java libdotconf1.0
xserver xorg video siliconmotion libmono microsoft7.0 cil
default jre headless libmono system messaging2.0 cil libavdevice52 libcairo2
libmono system web1.0 cil libstartup notification0 libass4 libjs prototype
xserver xorg input vmmouse libavahi glib1 subversion openvpn blacklist
policykit 1 libmono accessibility1.0 cil libcommons logging java
libmono webbrowser0.5 cil libmono posix2.0 cil mysql server core 5.1 jetty
xfonts utils g++ mono runtime libvisual 0.4 0 libbsd0 libfontconfig1 dev
apturl common xserver xorg video savage libxmuu1 libcommons compress java
libcanberra0 openjdk 6 jre lib libsdl1.2debian alsa libthai data libnss3 dev
xorg docs core x11proto kb dev libswingworker java luatex x11proto randr dev
libwavpack1 libqt4 opengl libsoup gnome2.4 1 texlive generic recommended
libmysqlclient16 libxinerama dev libcap2 bin xserver xorg video tdfx
libmono system runtime2.0 cil mono 2.0 devel libavcodec52 gcc 4.4
x11 session utils libgcj10 cpu checker texlive latex recommended libc6 i386
jruby1.1 libfuse2 texlive font utils mono csharp shell liblzma1 tcpd
libobparser21 libgamin0 libsnmp base lib32gcc1 libpcrecpp0 libqt4 sql sqlite
texlive latex recommended doc libdirectfb 1.2 0 libg15render1 libsvn1
libdatrie1 openjdk 6 jre headless xtrans dev fontconfig libatk1.0 dev
libportaudio2 libavahi common data vbetool latex beamer libavahi core6
libcue1 libmenu cache1 libxcb event1 xserver xorg video intel libmcrypt4
libxfont1 samba common libgconf2 4 libiec61883 0 xinput libelf1 libforms1
texlive binaries lib32asound2 libxres1 xserver xorg input all
libmono i18n1.0 cil gettext ant time libmono oracle1.0 cil arj xbitmaps
x11proto input dev libnb platform11 java tipa xmms2 plugin id3v2
texlive latex base doc libmono messaging2.0 cil libgp11 0 default jdk
libmono rabbitmq2.0 cil libenca0 latex xcolor libjsch java libsvn java
cups common rtkit xserver xorg video vmware libpulse browse0
launchpad integration libpixman 1 0 libjetty java doc libsdl1.2debian
libexempi3 libhpmud0 x11proto fixes dev libxaw7 mingw32 runtime libijs 0.35
xserver xorg video r128 libqt4 gui libcups2 libt1 5 gcc libgdu0
libxml commons resolver1.1 java libpkcs11 helper1 libcobertura java
libgnome2 common libhal1 default jre libjs scriptaculous xfonts base
libmono winforms1.0 cil python xapian apt xapian index hal lynx cur
xserver xorg input evdev libmono db2 1.0 cil libdbusmenu glib1 ant optional
libqtcore4 pulseaudio esound compat libxinerama1 libesd0
libmono system data2.0 cil libgif4 xserver xorg video vesa openssh client
libcommons net java libresid builder0c2a libmono2.0 cil x11 xfs utils
libmono system ldap2.0 cil libxft2 speech dispatcher
libmono bytefx0.7.6.1 cil pciutils mysql client core 5.1
libmono data tds1.0 cil libenchant1c2a libgnomevfs2 0 x11proto xext dev
espeak data mono gac libnm glib2 texlive luatex libxt dev alsa utils
libmono sharpzip2.6 cil libcroco3 libmono getoptions2.0 cil
libboost thread1.40.0 tzdata java libmono data2.0 cil libevent 1.4 2
libxext dev python cairo libopenexr6 libgme0 libmono npgsql1.0 cil
libgsf 1 114 libgtop2 common libtheora0 libpoppler5 libice6 librarian0
freepats libaa1 libmono ldap2.0 cil libmono messaging rabbitmq2.0 cil
libmono security1.0 cil libopenobex1 libspeexdsp1 x11 xserver utils
libiptcdata0 x11proto damage dev lyx common wodim libthai0 rsync python dbus
powermgmt base manpages libidl0 libntfs 3g75 libneon27 gnutls ffmpeg
xserver xorg video s3 nbd server libmono peapi1.0 cil xserver xorg libao2
mono 2.0 gac libpostproc51 libdjvulibre21 pax libglib2.0 dev
texlive fonts recommended doc pgf zlib1g dev libdevmapper event1.02.1
liblzo2 2 libmono system1.0 cil libxmu6 xserver xorg video nv libvorbisfile3
pm utils libcairo2 dev xfonts 100dpi libspeechd2 libqt4 sql esound common
xserver xorg video voodoo libasound2 xserver xorg video fbdev
xserver xorg input wacom monodoc base lxmenu data xmms2 plugin alsa libflac8
libqt4 svg libnb java3 java libservlet2.5 java xdg utils libwildmidi0
libxrender1 openssl blacklist libmono sharpzip0.6 cil xinit libradius1
libmono cscompmgd7.0 cil liborc 0.4 0 gstreamer0.10 pulseaudio libraw1394 11
libespeak1 libfreetype6 dev libshout3 libgsm1 xserver xorg video nouveau
libdv4 libdvdnav4 fancontrol libatasmart4 libservlet2.3 java
libmono sqlite1.0 cil libmono sharpzip2.84 cil libvorbisenc2 libxau dev
librpmbuild0 libxmmsclient6 debconf utils mingw32 binutils
python gnupginterface libfs6 libdvdread4 libmpdclient2 libqt4 xml
libmono relaxng2.0 cil xserver xorg video neomagic libschroedinger 1.0 0
libiw30 libtotem plparser17 libgs8 libavformat52
libmono microsoft build2.0 cil libhunspell 1.2 0 libslf4j java
libcommons daemon java libnfsidmap2 libdc1394 22 libtiff4 libfontenc1
libqt4 assistant libmono dev libkate1 libcdaudio1 python gobject libmimic0
xserver xorg input mouse libjasper1 libgtop2 7 xmms2 core ntfsprogs
libswing layout java libvisual 0.4 plugins ttf dejavu
libgstreamer plugins base0.10 0 libusbmuxd1 texlive base libpciaccess0
libregexp java libperl5.10 libgnomeui common xz utils
libmono cecil private cil libmono corlib1.0 cil libxxf86misc1
wwwconfig common libgnome keyring0 libdaemon0 psutils libxtst6 libsidplay2
usbutils smartdimmer libxvmc1 libc6 dev libqtgui4 liborbit2
libmono microsoft8.0 cil libg15 1 liblua5.1 0 avahi daemon tsconf
libzeroc ice33 libmono system web2.0 cil libxcomposite dev libtag1c2a
libmono cairo1.0 cil brasero common libsoundtouch1c2 libavahi client3
libwnck common x11 common libxcb render0 dev libxrender dev
xmms2 plugin vorbis libxmmsclient glib1 libmpg123 0 libmad0
libmono accessibility2.0 cil libpolkit agent 1 0 libsysfs2 ant optional gcj
xorg texlive doc base texlive latex extra libpq5 python support libgpgme11
libart 2.0 2 librpcsecgss3 man db libid3tag0 libavahi compat libdnssd1
ca certificates java html2text libcdio cdda0 imagemagick
texlive latex extra doc lib32z1 radeontool libhamcrest java
xserver xorg video sisusb liblucene2 java xmms2 plugin mad libsm6
libgvfscommon0 php5 mysql libmusicbrainz4c2a libmono i18n west1.0 cil
libxft dev libpulse0 texlive pictures libx11 dev liboil0.3 libmhash2
libaiksaurus 1.2 0c2a openjdk 6 doc hal info libqt3 mt lib32stdc++6
miscfiles libxdamage1 libmono bytefx0.7.6.2 cil x11proto composite dev
linux libc dev dictionaries common libcommons collections3 java patch
manpages dev libbeansbinding java samba common bin libcelt0 0 libgcj common
openvpn libdirac encoder0 libboost regex1.40.0 libqt4 sql mysql
xserver xorg video tseng netcat traditional fuse utils
xserver xorg video radeon libxcb render0 php5 cli
libmono system messaging1.0 cil info dvd+rw tools libexif12 lib32v4l 0
libglu1 mesa libdjvulibre text libpaper utils libdbus 1 dev dbus x11 libxi6
libcupsmime1 libc dev bin libvorbis0a watershed libxcb1 dev libgssglue1
openjdk 6 jdk xserver xorg video cirrus libmono posix1.0 cil ant gcj
libbonoboui2 common libgstreamer0.10 0 libcommons digester java libaudio2
libxcursor1 libdirectfb dev libjpeg62 dev libxt6 min12xxw
texlive pictures doc libxv1 portmap libini4j java libjson glib 1.0 0
libdbus glib 1 dev libxext6 ncurses term libjetty java p7zip full
openjdk 6 jre libmono i18n2.0 cil libavahi common3 libmpcdec3
libpam gnome keyring texlive pstricks doc liblog4j1.2 java mysql common
libxcb render util0 libnb svnclientadapter java php5 common
libmono oracle2.0 cil libjline java libxrandr2 libmono system runtime1.0 cil
tex common libusb 1.0 0 lacheck libnss3 1d gstreamer0.10 plugins base
x11proto core dev javascript common ntfs 3g python gconf libsndfile1
xserver xorg input synaptics libaspell15 linux sound base libmng1
gnome doc utils libbluetooth3 libnb ide12 java dvb apps libxdmcp dev
xserver xorg video rendition libpthread stubs0 dev libsysfs dev
pulseaudio utils libofa0 libxcursor dev python libxml2 libxkbfile1
libgnomecanvas2 common libgdiplus xserver xorg video i128 libmms0
libmono winforms2.0 cil libpaper1 libltdl7 libasound2 plugins libjs mootools
libsoup2.4 1 libboost filesystem1.40.0 libstdc++6 4.4 dev libgphoto2 2
libogg0 mono gmcs libfaad2 mercurial common libtag1 vanilla libaudiofile0
libpng12 dev
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
binfmt support libllvm2.7 libopagent1 llvm oprofile
Suggested packages:
llvm doc oprofile gui
The following NEW packages will be installed:
binfmt support libllvm2.7 libopagent1 llvm llvm dev oprofile
0 upgraded, 6 newly installed, 0 to remove and 70 not upgraded.
Need to get 17.3MB/17.3MB of archives.
After this operation, 62.1MB of additional disk space will be used.
Get:1 http://old releases.ubuntu.com/ubuntu/ lucid/main libllvm2.7 2.7 0ubuntu1 [5,566kB]
Get:2 http://old releases.ubuntu.com/ubuntu/ lucid updates/main libopagent1 0.9.6 1ubuntu4.4 [21.9kB]
Get:3 http://old releases.ubuntu.com/ubuntu/ lucid/main llvm 2.7 0ubuntu1 [1,089kB]
Get:4 http://old releases.ubuntu.com/ubuntu/ lucid updates/main oprofile 0.9.6 1ubuntu4.4 [1,467kB]
Get:5 http://old releases.ubuntu.com/ubuntu/ lucid/main llvm dev 2.7 0ubuntu1 [9,111kB]
Fetched 17.3MB in 3s (4,651kB/s)
Selecting previously deselected package binfmt support.
(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 ... 108808 files and directories currently installed.)
Unpacking binfmt support (from .../binfmt support_1.2.18_all.deb) ...
Selecting previously deselected package libllvm2.7.
Unpacking libllvm2.7 (from .../libllvm2.7_2.7 0ubuntu1_amd64.deb) ...
Selecting previously deselected package libopagent1.
Unpacking libopagent1 (from .../libopagent1_0.9.6 1ubuntu4.4_amd64.deb) ...
Selecting previously deselected package llvm.
Unpacking llvm (from .../llvm_2.7 0ubuntu1_amd64.deb) ...
Selecting previously deselected package oprofile.
Unpacking oprofile (from .../oprofile_0.9.6 1ubuntu4.4_amd64.deb) ...
Selecting previously deselected package llvm dev.
Unpacking llvm dev (from .../llvm dev_2.7 0ubuntu1_amd64.deb) ...
Processing triggers for man db ...
Processing triggers for ureadahead ...
Setting up binfmt support (1.2.18) ...
* Enabling additional executable binary formats binfmt support [169G [163G[ OK ]
Setting up libllvm2.7 (2.7 0ubuntu1) ...
Setting up libopagent1 (0.9.6 1ubuntu4.4) ...
Setting up llvm (2.7 0ubuntu1) ...
Setting up oprofile (0.9.6 1ubuntu4.4) ...
Setting up llvm dev (2.7 0ubuntu1) ...
Processing triggers for libc bin ...
ldconfig deferred processing now taking place
root@hiox:~