Installing applications with no internet access

Issues related to software problems.
Post Reply
Derdiyok
Posts: 4
Joined: 2011/03/17 18:49:33

Installing applications with no internet access

Post by Derdiyok » 2011/03/17 18:54:37

Hi all,

I'm currently working on a project in a secure environment with no internet access and I need to install Ettercap and Wireshark on the machines. I thought this would be a simple task of loading Wireshark onto a USB but this did not work and replied with error messages such as: ' Invalid config x86_64-unknown-linux'

Sorry if this comes across as really obvious or something but my question is what does the error message mean and do I need internet access to install the apps?

Thanks

User avatar
TrevorH
Site Admin
Posts: 33215
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Installing applications with no internet access

Post by TrevorH » 2011/03/17 19:36:38

You don't say if you are trying to install an RPM from a USB stick or if you are trying to compile from source. RPMs are preferred. You can find a prebuilt RPM for ettercap in EPEL and wireshark is part of CentOS itself so can be found on the DVD/CD though there is also an updated version available in the CentOS updates repo.

[code]
Available Packages
ettercap.x86_64 0.7.3-19.el5 epel
ettercap-common.x86_64 0.7.3-19.el5 epel
ettercap-debuginfo.x86_64 0.7.3-19.el5 epel-debuginfo
ettercap-gtk.x86_64 0.7.3-19.el5 epel
[/code]

If security is of major concern then I guess you can also obtain the source RPM for ettercap from EPEL and build it yourself and thus have some control over it cleanliness!

User avatar
toracat
Site Admin
Posts: 7518
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Installing applications with no internet access

Post by toracat » 2011/03/17 19:37:27

Where did you get wireshark from? You really want to install using rpm. So, download the wireshark rpm package from a CentOS mirror and install it with a 'yum localinstall' . It will probably require more packages. Download them and try again. Depending on what you already have on your system, this could take a few more attempts.

Another option is to maintain a local yum repository. You'd have to get all the updates onto your system by some means. But once done, you can yum install packages.

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: Installing applications with no internet access

Post by pschaff » 2011/03/17 19:58:02

Some Wiki articles may help you with this:
http://wiki.centos.org/HowTos/CreateLocalRepos
http://wiki.centos.org/HowTos/CreateLocalMirror
http://wiki.centos.org/TipsAndTricks/CreatingUpdateMedia

The real trick to make things easier in the long run is to do the work up front to make local copies of repositories available, so updates can be run, or packages can be installed with yum and pull in required dependencies. The repos can either be pointed to other machines on a local network, or to the local machine's filesystem with "file:///..." URLs.

Derdiyok
Posts: 4
Joined: 2011/03/17 18:49:33

Re: Installing applications with no internet access

Post by Derdiyok » 2011/03/17 20:34:58

The package's I downloaded (if it helps) were:

ettercap-0.7.3-19.el5.src.rpm
wireshark-1.0.11-1.el5_5.5.x86_64.rpm

Thanks for the replies, I will look into what you have suggested.

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: Installing applications with no internet access

Post by AlanBartlett » 2011/03/17 23:13:09

[quote]
ettercap-0.7.3-19.el5.src.rpm
[/quote]
That is the [b]source[/b] rpm file, not the binary package. :-o

[quote]
wireshark-1.0.11-1.el5_5.5.x86_64.rpm
[/quote]
That is the binary package. :-)

Post Reply