Install and run wireshark in linux, and run wireshark in linux

Source: Internet
Author: User

Install and run wireshark in linux, and run wireshark in linux

I. Installation
Run the command as root: yum install wireshark
 
Ii. Running
Enter the command in the terminal:
# Wireshark
Bash: wireshark: command not found
 
# Whereis wireshark
Wireshark:/usr/lib/wireshark/usr/share/wireshark
 
# Cd/usr/lib/wireshark
# Ls
Plugins
 
# Cd/usr/share/wireshark; ls
AUTHORS-SHORT dtds mergecap.html tshark.html
Capinfos.html dumpcap.html radius wimaxasncp
Cfilters editcap.html rawshark.html wireshark-filter.html
Colorfilters help services wireshark.html
COPYING idl2wrs.html smi_modules ws.css
Dfilters ipmap.html text2pcap.html
Diameter manuf tpncp
 
Solution:
Http://forums.fedoraforum.org/showthread.php? P = 1307301
 
Yum search wireshark (search for rpm packages matching specific characters)
Yum install wireshark-gnome.i386 (graphical interface for wireshark)
 
# Whereis wireshark
Wireshark:/usr/bin/wireshark/usr/sbin/wireshark/usr/share/man/man1/wireshark.1.gz
 
# Wireshark
 
Successful!

 

Reference: http://blog.sina.com.cn/s/blog_6a1837e90100n1bd.html

 

Use

View TCP communication packets and write data in the filter conditionsTcp; Apply;

View packages on a specified port: EnterTcp. port eq 7905

View the package of the specified IP Address:Ip. addr eq 192.168.1.104

View the packages of the specified IP address and PORT:Ip. addr eq 192.168.1.104 and tcp. port eq 7905

 

 


In a virtual machine, how does one install WIRESHARK in LINUX?

Rpm-ihv/directory of your wireshark/wireshark *. rpm

Just install

In a virtual machine linux environment, I want to install wireshark with four rpm packages. However, after executing the rpm-ivh command, I cannot find the packages.

Cd to the Mount directory of your system disk

The names of the four packages after rpm-ivh are separated by spaces.

Follow the prompts to copy the dependent package and try again with rpm.

In addition, if it is not for the purpose of learning,
We recommend that you use yum for installation,
Yum can resolve Dependencies by itself.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.