How do you install nfdump in Linux using apt-get command?
Here is a tutorial to learn how to install nfdump using apt-get command.
Step 1: Open terminal with su access and enter the command as shown below:
apt-get install nfdump -y
Step 2: After completion, the install command exits and instructs the user to restart the running instances of nfdump if it is running already.
Result of the Command Execution shown below:
root@hiox:~ apt-get install nfdump -y
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
libevent 1.4 2 libnfsidmap2 librpcsecgss3 libgssglue1 portmap nfs common
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
defoma fontconfig fontconfig config libcairo2 libdatrie1 libdirectfb 1.2 0
libfontconfig1 libfontenc1 libpango1.0 0 libpango1.0 common libpixman 1 0
librrd4 libsysfs2 libthai data libthai0 libts 0.0 0 libxcb render util0
libxcb render0 libxfont1 libxft2 libxrender1 tsconf ttf dejavu
ttf dejavu core ttf dejavu extra x ttcidfont conf x11 common
xfonts encodings xfonts utils
Suggested packages:
defoma doc psfontmgr dfontmgr libfont freetype perl ttf japanese gothic
ttf japanese mincho ttf thryomanes ttf baekmuk ttf arphic gbsn00lp
ttf arphic bsmi00lp ttf arphic gkai00mp ttf arphic bkai00mp
The following NEW packages will be installed:
defoma fontconfig fontconfig config libcairo2 libdatrie1 libdirectfb 1.2 0
libfontconfig1 libfontenc1 libpango1.0 0 libpango1.0 common libpixman 1 0
librrd4 libsysfs2 libthai data libthai0 libts 0.0 0 libxcb render util0
libxcb render0 libxfont1 libxft2 libxrender1 nfdump tsconf ttf dejavu
ttf dejavu core ttf dejavu extra x ttcidfont conf x11 common
xfonts encodings xfonts utils
0 upgraded, 30 newly installed, 0 to remove and 102 not upgraded.
Need to get 9,972kB of archives.
After this operation, 21.6MB of additional disk space will be used.
Get:1 http://old releases.ubuntu.com/ubuntu/ lucid updates/main x11 common 1:7.5+5ubuntu1.1 [308kB]
Get:2 http://old releases.ubuntu.com/ubuntu/ lucid/main defoma 0.11.10 4ubuntu1 [101kB]
Get:3 http://old releases.ubuntu.com/ubuntu/ lucid/main ttf dejavu core 2.30 2 [1,436kB]
Get:4 http://old releases.ubuntu.com/ubuntu/ lucid/main fontconfig config 2.8.0 2ubuntu1 [205kB]
Get:5 http://old releases.ubuntu.com/ubuntu/ lucid/main libfontconfig1 2.8.0 2ubuntu1 [285kB]
Get:6 http://old releases.ubuntu.com/ubuntu/ lucid/main fontconfig 2.8.0 2ubuntu1 [158kB]
Get:7 http://old releases.ubuntu.com/ubuntu/ lucid/main libsysfs2 2.1.0 6 [23.9kB]
Get:8 http://old releases.ubuntu.com/ubuntu/ lucid/main tsconf 1.0 7build1 [12.8kB]
Get:9 http://old releases.ubuntu.com/ubuntu/ lucid/main libts 0.0 0 1.0 7build1 [29.1kB]
Get:10 http://old releases.ubuntu.com/ubuntu/ lucid/main libdirectfb 1.2 0 1.2.8 5ubuntu2 [1,191kB]
Get:11 http://old releases.ubuntu.com/ubuntu/ lucid/main libpixman 1 0 0.16.4 1ubuntu2 [237kB]
Get:12 http://old releases.ubuntu.com/ubuntu/ lucid updates/main libxcb render0 1.5 2ubuntu0.1 [15.7kB]
Get:13 http://old releases.ubuntu.com/ubuntu/ lucid/main libxcb render util0 0.3.6 1build1 [10.1kB]
Get:14 http://old releases.ubuntu.com/ubuntu/ lucid updates/main libxrender1 1:0.9.5 1ubuntu0.1 [29.1kB]
Get:15 http://old releases.ubuntu.com/ubuntu/ lucid/main libcairo2 1.8.10 2ubuntu1 [530kB]
Get:16 http://old releases.ubuntu.com/ubuntu/ lucid/main libdatrie1 0.2.2 3 [25.6kB]
Get:17 http://old releases.ubuntu.com/ubuntu/ lucid/main libfontenc1 1:1.0.5 1 [20.4kB]
Get:18 http://old releases.ubuntu.com/ubuntu/ lucid updates/main libpango1.0 common 1.28.0 0ubuntu2.2 [111kB]
Get:19 http://old releases.ubuntu.com/ubuntu/ lucid/main libthai data 0.1.13 1build1 [196kB]
Get:20 http://old releases.ubuntu.com/ubuntu/ lucid/main libthai0 0.1.13 1build1 [40.7kB]
Get:21 http://old releases.ubuntu.com/ubuntu/ lucid/main libxft2 2.1.14 1ubuntu1 [56.0kB]
Get:22 http://old releases.ubuntu.com/ubuntu/ lucid updates/main libpango1.0 0 1.28.0 0ubuntu2.2 [326kB]
Get:23 http://old releases.ubuntu.com/ubuntu/ lucid/main librrd4 1.3.8 1ubuntu1 [220kB]
Get:24 http://old releases.ubuntu.com/ubuntu/ lucid updates/main libxfont1 1:1.4.1 1ubuntu0.4 [155kB]
Get:25 http://old releases.ubuntu.com/ubuntu/ lucid/universe nfdump 1.6 1 [433kB]
Get:26 http://old releases.ubuntu.com/ubuntu/ lucid/main ttf dejavu extra 2.30 2 [3,107kB]
Get:27 http://old releases.ubuntu.com/ubuntu/ lucid/main ttf dejavu 2.30 2 [3,164B]
Get:28 http://old releases.ubuntu.com/ubuntu/ lucid/main xfonts encodings 1:1.0.3 1 [584kB]
Get:29 http://old releases.ubuntu.com/ubuntu/ lucid/main xfonts utils 1:7.5+2 [99.3kB]
Get:30 http://old releases.ubuntu.com/ubuntu/ lucid/main x ttcidfont conf 32 [23.8kB]
Preconfiguring packages ...
Fetched 9,972kB in 4s (2,141kB/s)
Selecting previously deselected package x11 common.
(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 ... 16041 files and directories currently installed.)
Unpacking x11 common (from .../x11 common_1%3a7.5+5ubuntu1.1_all.deb) ...
Selecting previously deselected package defoma.
Unpacking defoma (from .../defoma_0.11.10 4ubuntu1_all.deb) ...
Selecting previously deselected package ttf dejavu core.
Unpacking ttf dejavu core (from .../ttf dejavu core_2.30 2_all.deb) ...
Selecting previously deselected package fontconfig config.
Unpacking fontconfig config (from .../fontconfig config_2.8.0 2ubuntu1_all.deb) ...
Selecting previously deselected package libfontconfig1.
Unpacking libfontconfig1 (from .../libfontconfig1_2.8.0 2ubuntu1_amd64.deb) ...
Selecting previously deselected package fontconfig.
Unpacking fontconfig (from .../fontconfig_2.8.0 2ubuntu1_amd64.deb) ...
Selecting previously deselected package libsysfs2.
Unpacking libsysfs2 (from .../libsysfs2_2.1.0 6_amd64.deb) ...
Selecting previously deselected package tsconf.
Unpacking tsconf (from .../tsconf_1.0 7build1_all.deb) ...
Selecting previously deselected package libts 0.0 0.
Unpacking libts 0.0 0 (from .../libts 0.0 0_1.0 7build1_amd64.deb) ...
Selecting previously deselected package libdirectfb 1.2 0.
Unpacking libdirectfb 1.2 0 (from .../libdirectfb 1.2 0_1.2.8 5ubuntu2_amd64.deb) ...
Selecting previously deselected package libpixman 1 0.
Unpacking libpixman 1 0 (from .../libpixman 1 0_0.16.4 1ubuntu2_amd64.deb) ...
Selecting previously deselected package libxcb render0.
Unpacking libxcb render0 (from .../libxcb render0_1.5 2ubuntu0.1_amd64.deb) ...
Selecting previously deselected package libxcb render util0.
Unpacking libxcb render util0 (from .../libxcb render util0_0.3.6 1build1_amd64.deb) ...
Selecting previously deselected package libxrender1.
Unpacking libxrender1 (from .../libxrender1_1%3a0.9.5 1ubuntu0.1_amd64.deb) ...
Selecting previously deselected package libcairo2.
Unpacking libcairo2 (from .../libcairo2_1.8.10 2ubuntu1_amd64.deb) ...
Selecting previously deselected package libdatrie1.
Unpacking libdatrie1 (from .../libdatrie1_0.2.2 3_amd64.deb) ...
Selecting previously deselected package libfontenc1.
Unpacking libfontenc1 (from .../libfontenc1_1%3a1.0.5 1_amd64.deb) ...
Selecting previously deselected package libpango1.0 common.
Unpacking libpango1.0 common (from .../libpango1.0 common_1.28.0 0ubuntu2.2_all.deb) ...
Selecting previously deselected package libthai data.
Unpacking libthai data (from .../libthai data_0.1.13 1build1_all.deb) ...
Selecting previously deselected package libthai0.
Unpacking libthai0 (from .../libthai0_0.1.13 1build1_amd64.deb) ...
Selecting previously deselected package libxft2.
Unpacking libxft2 (from .../libxft2_2.1.14 1ubuntu1_amd64.deb) ...
Selecting previously deselected package libpango1.0 0.
Unpacking libpango1.0 0 (from .../libpango1.0 0_1.28.0 0ubuntu2.2_amd64.deb) ...
Selecting previously deselected package librrd4.
Unpacking librrd4 (from .../librrd4_1.3.8 1ubuntu1_amd64.deb) ...
Selecting previously deselected package libxfont1.
Unpacking libxfont1 (from .../libxfont1_1%3a1.4.1 1ubuntu0.4_amd64.deb) ...
Selecting previously deselected package nfdump.
Unpacking nfdump (from .../nfdump_1.6 1_amd64.deb) ...
Selecting previously deselected package ttf dejavu extra.
Unpacking ttf dejavu extra (from .../ttf dejavu extra_2.30 2_all.deb) ...
Selecting previously deselected package ttf dejavu.
Unpacking ttf dejavu (from .../ttf dejavu_2.30 2_all.deb) ...
Selecting previously deselected package xfonts encodings.
Unpacking xfonts encodings (from .../xfonts encodings_1%3a1.0.3 1_all.deb) ...
Selecting previously deselected package xfonts utils.
Unpacking xfonts utils (from .../xfonts utils_1%3a7.5+2_amd64.deb) ...
Selecting previously deselected package x ttcidfont conf.
Unpacking x ttcidfont conf (from .../x ttcidfont conf_32_all.deb) ...
Processing triggers for ureadahead ...
Processing triggers for man db ...
Setting up x11 common (1:7.5+5ubuntu1.1) ...
Setting up defoma (0.11.10 4ubuntu1) ...
Setting up ttf dejavu core (2.30 2) ...
Setting up fontconfig config (2.8.0 2ubuntu1) ...
Setting up libfontconfig1 (2.8.0 2ubuntu1) ...
Setting up fontconfig (2.8.0 2ubuntu1) ...
Updating font configuration of fontconfig...
Cleaning up category cid..
Cleaning up category truetype..
Cleaning up category type1..
Updating category type1..
Updating category truetype..
Updating category cid..
Cleaning up old fontconfig caches... done.
Regenerating fonts cache... done.
Setting up libsysfs2 (2.1.0 6) ...
Setting up tsconf (1.0 7build1) ...
Setting up libts 0.0 0 (1.0 7build1) ...
Setting up libdirectfb 1.2 0 (1.2.8 5ubuntu2) ...
Setting up libpixman 1 0 (0.16.4 1ubuntu2) ...
Setting up libxcb render0 (1.5 2ubuntu0.1) ...
Setting up libxcb render util0 (0.3.6 1build1) ...
Setting up libxrender1 (1:0.9.5 1ubuntu0.1) ...
Setting up libcairo2 (1.8.10 2ubuntu1) ...
Setting up libdatrie1 (0.2.2 3) ...
Setting up libfontenc1 (1:1.0.5 1) ...
Setting up libpango1.0 common (1.28.0 0ubuntu2.2) ...
Cleaning up font configuration of pango...
Updating font configuration of pango...
Cleaning up category xfont..
Updating category xfont..
*** You don't have any defomized font packages.
*** So we are trying to force to generate pangox.aliases...
Setting up libthai data (0.1.13 1build1) ...
Setting up libthai0 (0.1.13 1build1) ...
Setting up libxft2 (2.1.14 1ubuntu1) ...
Setting up libpango1.0 0 (1.28.0 0ubuntu2.2) ...
Setting up librrd4 (1.3.8 1ubuntu1) ...
Setting up libxfont1 (1:1.4.1 1ubuntu0.4) ...
Setting up nfdump (1.6 1) ...
Setting up ttf dejavu extra (2.30 2) ...
Setting up ttf dejavu (2.30 2) ...
Setting up xfonts encodings (1:1.0.3 1) ...
Setting up xfonts utils (1:7.5+2) ...
Setting up x ttcidfont conf (32) ...
Updating font configuration of x ttcidfont conf...
Cleaning up category cmap..
Cleaning up category cid..
Cleaning up category truetype..
Updating category truetype..
Updating category cid..
Updating category cmap..
Processing triggers for libc bin ...
ldconfig deferred processing now taking place
root@hiox:~