How do you install dmidecode in Linux using apt-get command?
Here is a tutorial to learn how to install dmidecode using apt-get command.
Step 1: Open terminal with su access and enter the command as shown below:
apt-get install dmidecode -y
Step 2: After completion, the install command exits and instructs the user to restart the running instances of dmidecode if it is running already.
Result of the Command Execution shown below:
root@hiox:~ apt-get install dmidecode -y
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
libcache cache perl courier authlib texlive common libproc processtable perl
xscreensaver gl php fpdf libdatetime format mail perl libdevel symdump perl
libsm dev libgd text perl libchart perl libpurple0 libnet daemon perl
gnome power manager libsys cpuload perl libdb je java junit4 espeak
pure ftpd common libnet ssleay perl libcrypt openssl rsa perl
iputils tracepath rpm2cpio gedit common djbdns pure ftpd mysql
libsilcclient 1.1 3 postgresql 8.4 gcalctool libyaml tiny perl bind9
libexception class perl dx doc courier imap ssl libice dev eclipse jdt
realpath fakeroot libfilesys df perl libauthen sasl perl gnome mahjongg
sasl2 bin telepathy gabble libdb4.7 java aisleriot eclipse platform data
libunshield0 libpurple bin emacs23 bin common libproc process perl
libconvert tnef perl libgd graph3d perl libio stringy perl db4.8 util
libgtk vnc 1.0 0 libgcj bc gcj 4.4 base libnet dbus perl libreadonly perl
libdmraid1.0.0.rc16 libclone perl libpthread stubs0 libpam unix2 eclipse pde
smbclient libjtidy java libgd gd2 perl libapache2 mod log sql ssl doc base
gucharmap totem plugins libicu4j java libxml parser perl obexd client
courier base eclipse rcp libapache2 mod log sql mysql libservlet2.4 java
dxsamples libdb4.7 java gcj libsox fmt base libtie ixhash perl rrdtool
clamav mysql server bind9utils libossp uuid perl libbeagle1 g++ 4.4 junit
gnome disk utility lmodern php5 python pyatspi python louis liblouis data
libreadonly xs perl gnome mag libcrypt ssleay perl telepathy haze gedit
libtelepathy farsight0 libuuid perl unshield empathy common libsox fmt alsa
eclipse plugin cvs libdbi perl python speechd libpolkit gtk 1 0 ncftp
libgupnp 1.0 3 libgstfarsight0.10 0 libjson xs perl libdevel stacktrace perl
libarchive zip perl libmime tools perl screen libstring shellquote perl
gnome sudoku courier pop ssl texlive extra utils liblog log4perl perl ed
libnusoap php librpmio0 libjson perl librpm0 guile 1.8 libs seahorse
rpm common dspam librrd4 empathy gcj 4.4 jre lib libdshconfig1
libipc sharelite perl gettext base libgdict 1.0 6 whois
python gtksourceview2 libdotconf1.0 libhtml template perl libjs prototype
libapache2 mod php5 vinagre clamav base daemontools dtc common g++
telepathy salut libperl6 junction perl libclamav6 libfcgi perl
libcommons compress java dspam doc libnet jabber perl php5 gd
x11proto kb dev luatex libdvbpsi5 libebox libdspam7 toshset libgcj10
libfile mmagic perl libdatetime timezone perl php mail mime
libfile slurp perl libapache2 reload perl libid3 3.8.3c2a
libmail rfc822 address perl libdatetime format w3cdtf perl courier pop tcsh
procmail xtrans dev libxml stream perl libportaudio2 php xml serializer
gnome utils libnet cidr perl libxcrypt1 gconf editor
gnome accessibility themes libelf1 texlive binaries libcryptui0 libgdu gtk0
acpid libgdata common courier ssl finger libgnome mag2 gettext
libgail gnome module sbox dtc libgd graph perl ant libnss mysql bg
gnome orca php pear libclutter gtk 0.10 0 x11proto input dev default jdk
telepathy butterfly libjsch java libgnome2 gconf perl python brlapi
libsoap lite perl gnome system tools php5 curl libt1 5 jarwrapper
libsilc 1.1 2 cvs linux headers 2.6.32 74 eog libjs scriptaculous
libxml rss perl ant optional libparams validate perl liblouis0
linux headers 2.6.32 74 generic libbsd resource perl libavahi ui0
libpam mysql expect libfile tail perl gnome themes selected libreadline5
speech dispatcher mlmmj espeak data texlive luatex libxt dev gnome bluetooth
gnome user share gconf defaults service at spi python telepathy
libnet server perl libhdf4 0 daemontools run linux headers generic vino
postgresql common libdbd mysql perl libclass container perl libdatetime perl
liblog dispatch perl pax lesstif2 sat4j postfix mysql postgresql
libsys cpu perl libcommons el java libspeechd2 postgresql client 8.4
libcompress raw zlib perl libgail common cabextract courier authdaemon
libdatetime locale perl libapache2 mod perl2 webalizer libespeak1 libgsm1
build essential libxau dev dpkg dev libdx4 rpm courier authlib userdb
librpmbuild0 libtask weaken perl courier imap nautilus sendto sox
libfreezethaw perl libgdata6 courier maildrop mysql client libslf4j java
libasm3 java libnet xmpp perl emacsen common libplrpc perl texlive base
libregexp java xz utils wwwconfig common libgupnp igd 1.0 2 php xml parser
mhonarc libdbd pg perl fastjar gnome screensaver clamav freshclam
libjasper java libapache2 mod log sql libmail dkim perl emacs23
libconvert uulib perl chrootuid liboobs 1 4 quadrapassel
postgresql client common libdb4.6 libdb4.7 libxml xpath perl
libberkeleydb perl ant optional gcj texlive doc base libpq5 python farsight
amavisd new python papyon libid3tag0 libio multiplex perl libzephyr4
libhamcrest java liblucene2 java php5 mysql libx11 dev brasero
libequinox osgi java liblist moreutils perl libclass data inheritable perl
libintl perl patch eclipse platform libgcj common libcommon sense perl
php5 cli courier authlib mysql php crypt cbc libsox1a system tools backends
libnet libidn perl libapache singleton perl libnice0 emacs23 common totem
libxcb1 dev openjdk 6 jdk gstreamer0.10 nice libconvert binhex perl ant gcj
libcommons digester java libloudmouth1 0 totem mozilla clamav daemon
libio socket ssl perl libhtml mason perl libjetty java p7zip full
libossp uuid16 python rdflib php mail mimedecode ucspi tcp librsync1
php5 common openbsd inetd libjline java mysql server 5.1 tex common
libclass singleton perl libnet1 lacheck totem common libmldbm perl
x11proto core dev javascript common python crypto libxml twig perl
libgssdp 1.0 2 libxdmcp dev nautilus sendto empathy libpthread stubs0 dev
file roller libunix syslog perl libcrypt openssl bignum perl
mysql client 5.1 telepathy mission control 5 libnids1.21 libnetcdf4
libstdc++6 4.4 dev gnomine
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
dmidecode
0 upgraded, 1 newly installed, 0 to remove and 49 not upgraded.
Need to get 59.5kB of archives.
After this operation, 205kB of additional disk space will be used.
Get:1 http://old releases.ubuntu.com/ubuntu/ lucid/main dmidecode 2.9 1.2 [59.5kB]
Fetched 59.5kB in 0s (89.4kB/s)
Selecting previously deselected package dmidecode.
(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 ... 200743 files and directories currently installed.)
Unpacking dmidecode (from .../dmidecode_2.9 1.2_amd64.deb) ...
Processing triggers for man db ...
Setting up dmidecode (2.9 1.2) ...
root@hiox:~