Install Libpcap On Kali Linux

0602

BackTrack, Kali Linux, Tutorials/Tips. How to install Software on Kali Linux. On the installation side, Kali Linux uses Debian’s graphical installer, which means you get features like LVM, the Linux Logical Volume Manager, and disk encryption.

Join GitHub today

Linux

GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.

Sign up New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comments

commented Oct 9, 2016

when I try to install, I am getting the following error message

apt-get install libpcap-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libpcap-dev

Contributor

commented Oct 10, 2016

any more info?
are you using Kali? Debian? Fedora? Arch?
I can't (yet) read other people's minds :(

Author

commented Oct 11, 2016

Its Kali....

Contributor

commented Oct 11, 2016
edited

does apt update work?
maybe sources.list file is not up to date

commented Nov 19, 2016

try doing apt-get update && apt-get upgrade as you may be using an old version of kali that has its support ended

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment
HomeGNS3How to Install GNS3 Version 1.2.1 on Kali Linux and Debian
(Last Updated On: June 27, 2016)

Happy new year guys!!!, This is 2015 and without GNS3 1.2.1 running on Kali Linux i don’t think it will go well. On our previous tutorial on GNS3 we talked about how to install GNS3 1.2 on Ubuntu with a script. The provided script doesn’t work for Kali Linux because of tons of unmet dependencies. To get GNS3 version 1.2 working on Kali Linux follow this tutorial, i tested it on My kali Linux 1.0.9 64-bit and it works fine.

Install pcap kali linux

What is GNS3?
GNS3 is a graphical network simulator that allows you to design complex network topologies. You may run simulations or configure devices ranging from simple workstations to powerful Cisco routers. It is based on NS-3, a discrete-event network simulator for Internet systems, and Dynamips, an IOS emulator which allows users to run IOS binary images from Cisco Systems.
Gns3 was written by Jeremy Grossmann, David Ruiz,Romain Lamaison, Aurelien Levesque and Xavier Alt.

How to get GNS3 v1.2 running on Kali Linux
1) First thing to do is to add debian testing repositories to our repository list. To do this type:

2) If you are not used to vi editor you can use leafpad with the following command:

Add the following two repositories at the end

NOTE: PLEASE DON’T DO SYSTEM UPGRADE/ DIST-UPGRADE WITH THESE REPOSITORIES. IT MAY MAKE YOUR SYSTEM UNSTABLE; WE JUST USE IT TO INSTALL GNS3, COMMENT THEM AFTER INSTALLING GNS3 or REMOVE THEM COMPLETELY.

3) Do system update.

4) upgrade your gcc compiler so that pycrypto can be build successfully. Say yes/ok to any prompt popping.

5) Fix locale settings to messed up locales by gcc installation.

6) Get python3 and it’s dependencies installed and working

NOTE: If you get an error while installing python3-tornado, don’t worry, GNS3 will just work.

7) To be able to build dynamips packages, install these dependencies.

8) Download GNS3-1.2.1-source.zip
You should have an account in order to download, the good news is that you can use your facebook account to login, go to download and select linux source.

9) Unzip the file, it contains dynamips-0.2.14.zip gns3-server-1.2.1.zip, gns3-gui-1.2.1.zip, iouyap-0.95.zip,vpcs-0.6.zip

Libpcap Dev

10) Build GNS3 server

11)Build GNS3 GUI

12) Build Dynamips

14) Build GNS3 GUI

15) Meet IOU Dependencies

Libpcap Linux

Install iouyap

16) Install VPCS

17) Fix Gnome menu icons in GNS3

18) You’re done. Now it’s time to launch GNS3 1.2.1 Latest
I noticed that when you run gns3 as standard user, GNS3 does not fill the screen, the only solution i know to this is starting gns3server as root and running GNS3 as root:

On another window launch gns3 as root

That’s all…………………………………
Check: Installing Apache OpenOffice in Kali Linux, Ubuntu and Debian

This entry was posted on 6/2/2019.