This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Wireshark for Ubuntu Linux on a stand alone machine

0

I need to install Wireshark on a stand-alone Ubuntu machine (without Internet access). The answers from here all points to getting packages via wget and so forth. Is there a complete package somewhere that I can download and copy over to this machine (via flash drive)?

Thanks,

asked 19 Feb '13, 09:53

ecs1749's gravatar image

ecs1749
217811
accept rate: 0%


2 Answers:

0

answered 19 Feb '13, 10:42

Anders's gravatar image

Anders ♦
4.6k952
accept rate: 17%

This method is a non-starter. Trying to hunt down all the dependencies is too daunting.

(20 Feb '13, 10:16) ecs1749

0

Is there a complete package somewhere that I can download and copy over to this machine (via flash drive)?

There are some dependencies for the wireshark package, so just downloading that single package does not really help and there is no 'super-package' that contains everything you need.

So, what are your options?

I suggest to follow one of the tutorials on the internet for offline package installation

Easiest way:

http://techspalace.blogspot.de/2009/04/offline-update-ubuntu.html

Other options:

http://ubuntuforums.org/showthread.php?t=1100816
http://askubuntu.com/questions/974/how-can-i-install-software-or-packages-without-internet-offline

Regards
Kurt

answered 19 Feb '13, 13:32

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%

Thanks, Kurt. With the easiest way, do I need a Linux machine for Internet or can it be Windows (the instruction simply said "run it")?

...oh, keryxproject

Never mind...I am trying it now.

(19 Feb '13, 15:46) ecs1749

you need a system that has wget installed (available on Linux and Windows), as the generated script simply contains wget commands.

Hint: You can also just download the *.deb files (URL in the script) with a browser.

Example (not related to Wireshark):

#!/bin/sh
wget -c http://de.archive.ubuntu.com/ubuntu/pool/main/f/fonts-sil-gentium/fonts-sil-gentium_1.02-12_all.deb
wget -c http://de.archive.ubuntu.com/ubuntu/pool/main/f/fonts-sil-gentium-basic/fonts-sil-gentium-basic_1.1-5_all.deb
wget -c http://de.archive.ubuntu.com/ubuntu/pool/main/t/tomcat6/libservlet2.5-java_6.0.35-1ubuntu3.2_all.deb

On Windows, you would download wget for Windows and then manually run the commands in the script, one by one (or use a browser). Then you would transfer all *.deb files to your Linux system and follow the tutorial.

(20 Feb '13, 02:58) Kurt Knochner ♦

"Easiest way:

http://techspalace.blogspot.de/2009/04/offline-update-ubuntu.html

Other options:

http://ubuntuforums.org/showthread.php?t=1100816 http://askubuntu.com/questions/974/how-can-i-install-software-or-packages-without-internet-offline"

Can't get easiest method to work. Synaptic Package Manager not installed. Tried to use Software Center, found Wireshark but then there is no option to "Generate Package Download Script"

With the "Other options", the script file created by grabpackages.py is basically blank (contain only 1 line wget -c).

(20 Feb '13, 10:28) ecs1749

With the Keryx method, when I run Keryx on a machine with Internet access, clicked Manage, and it just sit there "Downloading package lists..." for a long long time and nothing happens.

(20 Feb '13, 10:54) ecs1749

Can't get easiest method to work. Synaptic Package Manager not installed.

well, then it's kind of 'hard'. You could install a 'dummy' Ubuntu system (same version, only base packages), run Synaptic there, download all packages, then install them on the standalone system. If additional packages are required, apt-get will tell you.

You could also use a proxy to get internet access for the standalone system

export http_proxy=http://yourproxyaddress:proxyport
apt-get install wireshark

(20 Feb '13, 13:48) Kurt Knochner ♦

I ended up installing Linux as a client OS under VirtualBox on the isolated machine, then zip up the virtual Linux and copied over to a Windows machine that has Internet access. After that, I was able to get Wireshark installed and works good up to this point. Then I zipped the virtual machine up and copy it back to the isolated machine.

In theory, I should be able to boot up the virtual Linux and Wireshark should work from then on. Right now, it won't boot. This is not a Wireshark issue - just a Virtual Box issue. But just to comment to close the loop on this one for future reference.

(22 Feb '13, 10:53) ecs1749
showing 5 of 6 show 1 more comments