Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install wireshark under ubuntu

2025-03-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces "how to install wireshark under ubuntu". In daily operation, I believe many people have doubts about how to install wireshark under ubuntu. Xiaobian consulted all kinds of information and sorted out simple and easy operation methods. I hope to help you answer the doubts about "how to install wireshark under ubuntu"! Next, please follow the small series to learn together!

Install the compiler tool:

$sudo apt-get install build-essential

In order to build Wireshark successfully, you need to install GTK+ development files and GLib libraries.

$sudo apt-get install libgtk2.0-dev libglib2.0-dev

Install Checkinstall to manage software installed directly from source code on your system.

$sudo apt-get install checkinstall

Wireshark×× Address: http://www.wireshark.org/download.html (source code on page)

Do some preparatory work during the download process to prepare the environment for the following:

1. sudo apt-get install flex bison

yacc(Yet Another Compiler Compiler) is a compiler used to generate compilers on Unix/Linux.

2. Compile and install libpcap. Add pcap.h to ubuntu

Download the source code at www.tcpdump.org: libpcap- 1.0.0.tar.gz

cd to file directory:

$tar -xvf libpcap-1.0.0.tar.gz

$cd libpcap-1.0.0.tar.gz

$./ configure

$make

$sudo make install

Wireshark download is good, cd to file directory extract: $tar -xvf wireshark-1.2.2.tar.bz2

$cd wireshark-1.2.2

Compile the installation command as follows:

$./ configure

$make

$sudo make install

OK, start.

$sudo ./ wireshark

If sudo is not used here, Wireshark cannot find the network device interface, which is mainly related to permissions. Just pay attention when starting.

---------

or directly packages.ubuntu.com/natty/i386/wireshark/download

Reference:

If you are running Ubuntu, try to use a package manager like aptitude or synaptic instead of manually downloading and installing packages from this page.

You can use any of the following source images by adding a line to your/etc/apt/sources.list file like this:

deb http://ubuntu.mirror.cambrium.nl/ubuntu/ natty main universe

Then search for downloads in ubuntu's software center!

At this point, the study of "how to install wireshark under ubuntu" is over, hoping to solve everyone's doubts. Theory and practice can better match to help everyone learn, go and try it! If you want to continue learning more relevant knowledge, please continue to pay attention to the website, Xiaobian will continue to strive to bring more practical articles for everyone!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report