How do you install mpi in Linux using apt-get command?
Here is a tutorial to learn how to install mpi using apt-get command.
Step 1: Open terminal with su access and enter the command as shown below:
apt-get install mpi -y
Step 2: After completion, the install command exits and instructs the user to restart the running instances of mpi if it is running already.
Result of the Command Execution shown below:
root@hiox:~ apt-get install mpi -y
Reading package lists...
Building dependency tree...
Reading state information...
Note, selecting liblam4 instead of mpi
The following packages were automatically installed and are no longer required:
libjna java libsm dev libatk1.0 0 jsvc libts 0.0 0 libnet daemon perl
libpcsclite1 libtalloc2 libjaxp1.3 java gconf2 common libgtk2.0 common
libdb je java libxfixes3 junit4 espeak libmtp8 libg15daemon client1
libnb apisupport1 java hicolor icon theme libxcomposite1 libice dev
liboro java libavutil49 libappframework java libpth20 ttf dejavu extra
liblcms1 libnb javaparser java libdb4.7 java libxerces2 java libiceutil33
xfonts encodings libsensors4 libgcj bc gcj 4.4 base libgudev 1.0 0
libsamplerate0 libsnmp15 libpthread stubs0 smbclient libjtidy java
libjzlib java libatk1.0 data libprotobuf5 libicu4j java libfreemarker java
libservlet2.4 java ttf dejavu core libdb4.7 java gcj rrdtool dnsutils
libcommons beanutils java libyaml syck perl junit icedtea netx
libqt4 network libqt4 dbus libasm2 java libxxf86vm1 libjack0 default jdk doc
libnm util1 libtagc0 libgl1 mesa dri libdbi perl libnb platform devel java
libgl1 mesa glx libspeex1 libdate manip perl munin node liblog log4perl perl
gconf2 java common javahelp2 libwbclient0 librrd4 icedtea 6 jre cacao
gcj 4.4 jre lib libnspr4 0d libswingx java libdotconf1.0
default jre headless libhtml template perl libcairo2 libjs prototype
gnome keyring subversion openvpn blacklist libcommons logging java
mysql server core 5.1 jetty xfonts utils libcommons compress java
openjdk 6 jre lib libthai data x11proto kb dev libswingworker java
libwavpack1 libqt4 opengl libmysqlclient16 libavcodec52 libgcj10 jruby1.1
libfuse2 librrds perl libsnmp base libqt4 sql sqlite libnss mdns
libdirectfb 1.2 0 libg15render1 libsvn1 libdatrie1 openjdk 6 jre headless
xtrans dev fontconfig libportaudio2 libavahi common data libavahi core6
libcue1 libnet cidr perl libxfont1 samba common libgconf2 4 libffi5 ant
libpango1.0 common x11proto input dev libnb platform11 java libgp11 0
default jdk libjsch java libsvn java libgcr0 libpixman 1 0 libjetty java doc
libcups2 libxml commons resolver1.1 java libpkcs11 helper1 libcobertura java
default jre libjs scriptaculous ant optional libqtcore4 libxinerama1 libgif4
libcommons net java libresid builder0c2a libxft2 speech dispatcher
mysql client core 5.1 fontconfig config espeak data libnm glib2
libsnmp session perl libxt dev tzdata java libevent 1.4 2 radiusclient1
libtheora0 libice6 libspeexdsp1 libnet server perl lm sensors libthai0
libdbd mysql perl libidl0 libneon27 gnutls libao2 libglade2 0 liblzo2 2
libvorbisfile3 libspeechd2 libqt4 sql libasound2 libflac8 libqt4 svg
libnb java3 java libservlet2.5 java libxrender1 openssl blacklist libradius1
libespeak1 libshout3 libgsm1 fancontrol libservlet2.3 java libvorbisenc2
libxau dev x ttcidfont conf munin common libmpdclient2 libqt4 xml
libschroedinger 1.0 0 libavformat52 libslf4j java libcommons daemon java
libnfsidmap2 libtiff4 libfontenc1 libjasper1 libswing layout java ttf dejavu
libplrpc perl libregexp java wwwconfig common libgnome keyring0 libdaemon0
libsocket6 perl libxtst6 libsidplay2 libqtgui4 liborbit2 libg15 1
avahi daemon tsconf libzeroc ice33 libtag1c2a libavahi client3 x11 common
libnet snmp perl libmpg123 0 libmad0 libsysfs2 ant optional gcj libpq5
libgpgme11 librpcsecgss3 libid3tag0 libfontconfig1 libavahi compat libdnssd1
ca certificates java libio multiplex perl libhamcrest java liblucene2 java
libpango1.0 0 libsm6 libpulse0 libx11 dev liboil0.3 openjdk 6 doc
libxdamage1 libcommons collections3 java libbeansbinding java
samba common bin libcelt0 0 libgcj common openvpn libqt4 sql mysql
netcat traditional fuse utils libxcb render0 libgtk2.0 bin libglu1 mesa
dbus x11 libxi6 libvorbis0a libxcb1 dev libgssglue1 openjdk 6 jdk ant gcj
libcommons digester java libaudio2 libxcursor1 libxt6 portmap libini4j java
libjetty java openjdk 6 jre defoma libavahi common3 libmpcdec3
libpam gnome keyring liblog4j1.2 java mysql common libxcb render util0
libnb svnclientadapter java libjline java mysql server 5.1 libxrandr2
libnss3 1d x11proto core dev javascript common libsndfile1 libmng1
libgtk2.0 0 libnb ide12 java dvb apps libxdmcp dev libpthread stubs0 dev
libmms0 libltdl7 mysql client 5.1 libio socket inet6 perl libogg0 libfaad2
libtag1 vanilla libaudiofile0
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
lam runtime liblam4
The following NEW packages will be installed:
lam runtime liblam4
0 upgraded, 2 newly installed, 0 to remove and 90 not upgraded.
Need to get 1,596kB of archives.
After this operation, 3,117kB of additional disk space will be used.
Get:1 http://old releases.ubuntu.com/ubuntu/ lucid/universe liblam4 7.1.2 1.5 [618kB]
Get:2 http://old releases.ubuntu.com/ubuntu/ lucid/universe lam runtime 7.1.2 1.5 [978kB]
Fetched 1,596kB in 1s (863kB/s)
Selecting previously deselected package liblam4.
(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 ... 57974 files and directories currently installed.)
Unpacking liblam4 (from .../liblam4_7.1.2 1.5_amd64.deb) ...
Selecting previously deselected package lam runtime.
Unpacking lam runtime (from .../lam runtime_7.1.2 1.5_amd64.deb) ...
Processing triggers for man db ...
Setting up liblam4 (7.1.2 1.5) ...
Setting up lam runtime (7.1.2 1.5) ...
update alternatives: using /usr/bin/mpirun.lam to provide /usr/bin/mpirun (mpirun) in auto mode.
Processing triggers for libc bin ...
ldconfig deferred processing now taking place
root@hiox:~