How do you install lsb core in Linux using apt-get command?
Here is a tutorial to learn how to install lsb core using apt-get command.
Step 1: Open terminal with su access and enter the command as shown below:
apt-get install lsb core -y
Step 2: After completion, the install command exits and instructs the user to restart the running instances of lsb core if it is running already.
Result of the Command Execution shown below:
root@hiox:~ apt-get install lsb core -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 xsltproc 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
xserver xorg video ati unattended upgrades libxrandr dev
libmono system data1.0 cil libgmime 2.4 2 libv4l 0 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 libiceutil33 gamin libgphoto2 port0
xfonts encodings ltspfs aspell usbmuxd libsensors4 libwrap0 libxdamage dev
lib32ncurses5 pkg config libgcj bc gcj 4.4 base libxxf86dga1 libcaca0
libmono getoptions1.0 cil libgudev 1.0 0 poppler utils
libmono cscompmgd8.0 cil libsamplerate0 libmono data1.0 cil genisoimage
xserver xorg video openchrome libkpathsea5 hunspell en us lsof
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 libjzlib java ldm server 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
libboost signals1.40.0 junit dhcp3 server 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 texlive pstricks
xserver xorg video trident libavfilter0 libgnomevfs2 extra
python software properties libnb platform devel java x11proto xinerama dev
libgl1 mesa glx xserver xorg video sis libdca0 libx86 1 screen
x11proto render dev libspeex1 libxi dev texlive extra utils gconf2
java common dosfstools libmono i18n west2.0 cil xauth texlive latex base
libxslt1.1 texlive fonts recommended javahelp2 pulseaudio module x11
libwbclient0 icedtea 6 jre cacao python apt gcj 4.4 jre lib libpixman 1 dev
libsqlite0 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 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 x11 session utils
libgcj10 cpu checker texlive latex recommended jruby1.1 libfuse2
texlive font utils mono csharp shell tcpd libobparser21 libgamin0 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 vbetool latex beamer
libavahi core6 libcue1 libmenu cache1 libxcb event1 xserver xorg video intel
libmcrypt4 libxfont1 samba common libgconf2 4 libffi5 libiec61883 0 xinput
libforms1 texlive binaries lib32asound2 libxres1 xserver xorg input all
libmono i18n1.0 cil ant 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 rtkit
xserver xorg video vmware libpulse browse0 launchpad integration
libpixman 1 0 libjetty java doc libsdl1.2debian libexempi3
x11proto fixes dev libxaw7 mingw32 runtime xserver xorg video r128 libt1 5
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 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 python dbus
powermgmt base 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 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
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 libfontenc1 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 libmono cecil private cil
libmono corlib1.0 cil libxxf86misc1 ltsp server wwwconfig common
libgnome keyring0 libdaemon0 psutils libxtst6 libsidplay2 usbutils
smartdimmer libxvmc1 alsa base libqtgui4 liborbit2 libmono microsoft8.0 cil
libg15 1 avahi daemon tsconf libzeroc ice33 libmono system web2.0 cil
libxcomposite dev libtag1c2a libmono cairo1.0 cil brasero common
libsoundtouch1c2 libwnck common x11 common libxcb render0 dev libxrender dev
xmms2 plugin vorbis lrzsz 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 libid3tag0 libavahi compat libdnssd1
ca certificates java libcdio cdda0 imagemagick texlive latex extra doc
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
lib32stdc++6 miscfiles libxdamage1 libmono bytefx0.7.6.2 cil
x11proto composite dev dictionaries common libcommons collections3 java
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
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 texlive pictures doc libxv1 portmap
libini4j java libjson glib 1.0 0 libdbus glib 1 dev libxext6 libjetty java
p7zip full openjdk 6 jre libmono i18n2.0 cil libmpcdec3 libpam gnome keyring
texlive pstricks doc liblog4j1.2 java mysql common libxcb render util0
libnb svnclientadapter java php5 common libmono oracle2.0 cil openbsd inetd
libjline java libxrandr2 libmono system runtime1.0 cil tex common
libusb 1.0 0 lacheck 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 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:
alien at bc build essential cups bsd cups client cups common debhelper
dpkg dev intltool debian libmail sendmail perl libsys hostname long perl
libtimedate perl m4 man db ncurses term pax po debconf rpm rsync time
Suggested packages:
lsb rpm lintian cups kdeprint gtklp cups pt xpp dh make debian keyring
debian maintainers groff libmail box perl elfutils rpm i18n openssh server
The following NEW packages will be installed:
alien at bc build essential cups bsd cups client cups common debhelper
dpkg dev intltool debian libmail sendmail perl libsys hostname long perl
libtimedate perl lsb core m4 man db ncurses term pax po debconf rpm rsync
time
0 upgraded, 22 newly installed, 0 to remove and 70 not upgraded.
Need to get 3,252kB/6,866kB of archives.
After this operation, 26.4MB of additional disk space will be used.
Get:1 http://old releases.ubuntu.com/ubuntu/ lucid/main libtimedate perl 1.1900 1 [41.4kB]
Get:2 http://old releases.ubuntu.com/ubuntu/ lucid updates/main at 3.1.11 1ubuntu5.1 [49.9kB]
Get:3 http://old releases.ubuntu.com/ubuntu/ lucid updates/main rsync 3.0.7 1ubuntu1.1 [362kB]
Get:4 http://old releases.ubuntu.com/ubuntu/ lucid/main time 1.7 23build1 [30.7kB]
Get:5 http://old releases.ubuntu.com/ubuntu/ lucid updates/main alien 8.79ubuntu0.1 [85.4kB]
Get:6 http://old releases.ubuntu.com/ubuntu/ lucid/main bc 1.06.95 2 [112kB]
Get:7 http://old releases.ubuntu.com/ubuntu/ lucid updates/main cups common 1.4.3 1ubuntu1.14 [1,491kB]
Get:8 http://old releases.ubuntu.com/ubuntu/ lucid updates/main cups client 1.4.3 1ubuntu1.14 [140kB]
Get:9 http://old releases.ubuntu.com/ubuntu/ lucid/main m4 1.4.13 3 [286kB]
Get:10 http://old releases.ubuntu.com/ubuntu/ lucid/main ncurses term 5.7+20090803 2ubuntu3 [502kB]
Get:11 http://old releases.ubuntu.com/ubuntu/ lucid/main pax 1:20090728 1build1 [64.3kB]
Get:12 http://old releases.ubuntu.com/ubuntu/ lucid updates/main cups bsd 1.4.3 1ubuntu1.14 [44.8kB]
Get:13 http://old releases.ubuntu.com/ubuntu/ lucid updates/main lsb core 4.0 0ubuntu8.1 [43.4kB]
Preconfiguring packages ...
Fetched 3,252kB in 2s (1,412kB/s)
Selecting previously deselected package libtimedate perl.
(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 ... 105571 files and directories currently installed.)
Unpacking libtimedate perl (from .../libtimedate perl_1.1900 1_all.deb) ...
Selecting previously deselected package at.
Unpacking at (from .../at_3.1.11 1ubuntu5.1_amd64.deb) ...
Selecting previously deselected package man db.
Unpacking man db (from .../man db_2.5.7 2ubuntu2_amd64.deb) ...
Selecting previously deselected package rsync.
Unpacking rsync (from .../rsync_3.0.7 1ubuntu1.1_amd64.deb) ...
Selecting previously deselected package time.
Unpacking time (from .../time_1.7 23build1_amd64.deb) ...
Selecting previously deselected package dpkg dev.
Unpacking dpkg dev (from .../dpkg dev_1.15.5.6ubuntu4.10_all.deb) ...
Selecting previously deselected package intltool debian.
Unpacking intltool debian (from .../intltool debian_0.35.0+20060710.1_all.deb) ...
Selecting previously deselected package po debconf.
Unpacking po debconf (from .../po debconf_1.0.16_all.deb) ...
Selecting previously deselected package debhelper.
Unpacking debhelper (from .../debhelper_7.4.15ubuntu1_all.deb) ...
Selecting previously deselected package rpm.
Unpacking rpm (from .../rpm_4.7.2 1lubuntu0.1_amd64.deb) ...
Selecting previously deselected package alien.
Unpacking alien (from .../alien_8.79ubuntu0.1_all.deb) ...
Selecting previously deselected package bc.
Unpacking bc (from .../bc_1.06.95 2_amd64.deb) ...
Selecting previously deselected package build essential.
Unpacking build essential (from .../build essential_11.4build1_amd64.deb) ...
Selecting previously deselected package cups common.
Unpacking cups common (from .../cups common_1.4.3 1ubuntu1.14_all.deb) ...
Selecting previously deselected package cups client.
Unpacking cups client (from .../cups client_1.4.3 1ubuntu1.14_amd64.deb) ...
Selecting previously deselected package libsys hostname long perl.
Unpacking libsys hostname long perl (from .../libsys hostname long perl_1.4 2_all.deb) ...
Selecting previously deselected package libmail sendmail perl.
Unpacking libmail sendmail perl (from .../libmail sendmail perl_0.79.16 1_all.deb) ...
Selecting previously deselected package m4.
Unpacking m4 (from .../archives/m4_1.4.13 3_amd64.deb) ...
Selecting previously deselected package ncurses term.
Unpacking ncurses term (from .../ncurses term_5.7+20090803 2ubuntu3_all.deb) ...
Selecting previously deselected package pax.
Unpacking pax (from .../pax_1%3a20090728 1build1_amd64.deb) ...
Selecting previously deselected package cups bsd.
Unpacking cups bsd (from .../cups bsd_1.4.3 1ubuntu1.14_amd64.deb) ...
Selecting previously deselected package lsb core.
Unpacking lsb core (from .../lsb core_4.0 0ubuntu8.1_amd64.deb) ...
Processing triggers for ureadahead ...
Processing triggers for install info ...
Processing triggers for menu ...
Setting up libtimedate perl (1.1900 1) ...
Setting up at (3.1.11 1ubuntu5.1) ...
atd start/running, process 31829
Setting up man db (2.5.7 2ubuntu2) ...
Updating database of manual pages ...
Setting up rsync (3.0.7 1ubuntu1.1) ...
Removing any system startup links for /etc/init.d/rsync ...
Setting up time (1.7 23build1) ...
Ignoring install info called from maintainer script
The package time should be rebuilt with new debhelper to get trigger support
Setting up dpkg dev (1.15.5.6ubuntu4.10) ...
Setting up intltool debian (0.35.0+20060710.1) ...
Setting up po debconf (1.0.16) ...
Setting up debhelper (7.4.15ubuntu1) ...
Setting up rpm (4.7.2 1lubuntu0.1) ...
Trying rpm init...
Setting up alien (8.79ubuntu0.1) ...
Setting up bc (1.06.95 2) ...
Setting up build essential (11.4build1) ...
Setting up cups common (1.4.3 1ubuntu1.14) ...
Setting up cups client (1.4.3 1ubuntu1.14) ...
Adding group `lpadmin' (GID 127) ...
Done.
Setting up libsys hostname long perl (1.4 2) ...
Setting up libmail sendmail perl (0.79.16 1) ...
Setting up m4 (1.4.13 3) ...
Setting up ncurses term (5.7+20090803 2ubuntu3) ...
Setting up pax (1:20090728 1build1) ...
Setting up cups bsd (1.4.3 1ubuntu1.14) ...
Setting up lsb core (4.0 0ubuntu8.1) ...
Processing triggers for menu ...
Processing triggers for python central ...
root@hiox:~