LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-15-2016, 10:36 PM   #1
tk61951
LQ Newbie
 
Registered: Oct 2016
Posts: 6

Rep: Reputation: Disabled
how do I install wireshark on ubuntu?


I am trying to install wireshark on ubuntu 14.04. Since the repositories have an extremely old version, I am trying to install someone else's build. I am told the instructions are as follows:

1. install GTK2
apt-get install libgtk2.0-dev

2. Download the libpcap source

3. in the source directory: <------- I AM STUCK HERE

./configure
make
make install

4. download the wireshark source
5. in the source directory:

./configure
make
make check
make install

6. Root privilege is needed to run wireshark. Needs access to devices
7. to run wireshark from application menu:

gksu wireshark

8. To run wireshark from command line:

sudo wireshark
----------------------------------------------------------------------------------------

I do not understand what to do, apparently. I have installed the GTK2, and have the libpcap source file in my downloads folder. the path is /home/tim/Downloads but when I do ./configure I get "no file or directory found." I have tried sudo install "filename", and get an error for no destination path. I can't install the libpcap because I am unsure how to maneuver into the "source directory". Can someone help me? I cannot "cd" into the file so I'm really frustrated, because this does not make sense to me. Learning curve for linux is intense.
 
Old 11-16-2016, 02:25 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,841

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
what did you download exactly (and where is it from?)
probably you need to unpack it first (tar xvf <downloaded file>)
 
Old 11-16-2016, 03:08 AM   #3
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,307
Blog Entries: 3

Rep: Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721
Also, before you go further than step 2, please read up on making your own package. There is a source package for Wireshark. Use that instead and drop in your new tarball, assuming you got the tarball from the Wireshark project itself.


PS. Later, don't run Wireshark as root. You can either save the packet stream to a file and work on it that way or use process substitution to make it work with "tcpdump".

Code:
wireshark -k -i <( sudo tcpdump -li eth0 -w - "not port 80" )
Doing it that way contains some of the potential for harm and lets the graphical parts run as a somewhat unprivileged user.
 
Old 11-16-2016, 12:21 PM   #4
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
wireshark is in the universe repository:

sudo apt-add-repository universe
sudo apt-get update
sudo apt-get install wireshark

http://askubuntu.com/questions/70084...h-ubuntu-14-04
 
Old 11-16-2016, 04:03 PM   #5
tk61951
LQ Newbie
 
Registered: Oct 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
I downloaded

libpcap-1.8.1.tar.gz

From

http://www.linuxfromscratch.org/blfs...t/libpcap.html

The instructions I got from: https://ask.wireshark.org/questions/...r-ubuntu-linux

What is the latest version of wireshark in the linux repositories? I will use the method given, but hope it doesn't lack anything I may need. I am not an advanced user of wireshark, but I hope all the filters are there.
 
Old 11-17-2016, 12:13 AM   #6
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,841

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
that page looks outdated (from wireshark), please follow post #4.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install Wireshark 1.82.3 on RHEL 5 milind.t.patil Linux - Software 8 12-09-2012 09:15 AM
How to Install WireShark in Ubuntu live USB ashok_kxj2009 Linux - Newbie 1 03-06-2010 09:30 AM
LXer: Network Analysis With Wireshark On Ubuntu 9.10 LXer Syndicated Linux News 0 02-21-2010 02:20 PM
Wireshark Install Problems krimzen85 Linux - Software 5 08-20-2009 01:30 PM
Wireshark won't install on Dapper acidblue Ubuntu 3 04-02-2007 02:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration