How do you install ebtables in Linux using apt-get command?
Here is a tutorial to learn how to install ebtables using apt-get command.
Step 1: Open terminal with su access and enter the command as shown below:
apt-get install ebtables -y
Step 2: After completion, the install command exits and instructs the user to restart the running instances of ebtables if it is running already.
Result of the Command Execution shown below:
root@hiox:~ apt-get install ebtables -y
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
libcache cache perl libproc processtable perl libdatetime format mail perl
libdevel symdump perl libsm dev libchart perl libnet daemon perl
libsys cpuload perl libdb je java junit4 libnet ssleay perl postgresql 8.4
libyaml tiny perl libexception class perl libice dev eclipse jdt realpath
libdigest sha1 perl libfilesys df perl libauthen sasl perl libnet ip perl
libdb4.7 java eclipse platform data emacs23 bin common libproc process perl
libio stringy perl libgcj bc gcj 4.4 base libreadonly perl libclone perl
libpthread stubs0 eclipse pde libjtidy java libgd gd2 perl libicu4j java
eclipse rcp libservlet2.4 java libdb4.7 java gcj libsox fmt base
libossp uuid perl junit libreadonly xs perl libcrypt ssleay perl
libsox fmt alsa eclipse plugin cvs libdbi perl libjson xs perl
libdevel stacktrace perl libmime tools perl libstring shellquote perl
liblog log4perl perl libjson perl gcj 4.4 jre lib libipc sharelite perl
gettext base libjs prototype libperl6 junction perl libfcgi perl
libcommons compress java libnet jabber perl x11proto kb dev libebox libgcj10
libfile mmagic perl libdatetime timezone perl libfile slurp perl
libapache2 reload perl libmail rfc822 address perl
libdatetime format w3cdtf perl xtrans dev libxml stream perl gettext ant
x11proto input dev default jdk libjsch java libgnome2 gconf perl
libsoap lite perl jarwrapper cvs libjs scriptaculous libxml rss perl
ant optional libparams validate perl libbsd resource perl libfile tail perl
libxt dev postgresql common libclass container perl libdatetime perl
liblog dispatch perl sat4j postgresql libsys cpu perl libcommons el java
postgresql client 8.4 liberror perl libdatetime locale perl
libapache2 mod perl2 libgsm1 libxau dev libtask weaken perl sox
libslf4j java libasm3 java libnet xmpp perl emacsen common libplrpc perl
libregexp java wwwconfig common libdbd pg perl fastjar libjasper java
emacs23 postgresql client common ant optional gcj libpq5 libhamcrest java
liblucene2 java libx11 dev libequinox osgi java liblist moreutils perl
libclass data inheritable perl libintl perl eclipse platform libgcj common
libcommon sense perl libsox1a libnet libidn perl libapache singleton perl
emacs23 common libxcb1 dev openjdk 6 jdk libconvert binhex perl ant gcj
libcommons digester java libio socket ssl perl libhtml mason perl
libjetty java libossp uuid16 libjline java libclass singleton perl
x11proto core dev javascript common libxdmcp dev libpthread stubs0 dev
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
ebtables
0 upgraded, 1 newly installed, 0 to remove and 50 not upgraded.
Need to get 90.9kB of archives.
After this operation, 438kB of additional disk space will be used.
Get:1 http://old releases.ubuntu.com/ubuntu/ lucid/universe ebtables 2.0.9.1 1 [90.9kB]
Fetched 90.9kB in 0s (103kB/s)
Selecting previously deselected package ebtables.
(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 ... 186813 files and directories currently installed.)
Unpacking ebtables (from .../ebtables_2.0.9.1 1_amd64.deb) ...
Processing triggers for ureadahead ...
Processing triggers for man db ...
Setting up ebtables (2.0.9.1 1) ...
root@hiox:~