Installing applications with no internet access

Issues related to software problems.

Installing applications with no internet access

Postby 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
Derdiyok
 
Posts: 4
Joined: 2011/03/17 18:49:33

Re: Installing applications with no internet access

Postby 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: Select all
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


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
TrevorH
Forum Moderator
 
Posts: 9166
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Installing applications with no internet access

Postby 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.
User avatar
toracat
Forum Moderator
 
Posts: 6696
Joined: 2006/09/03 16:37:24
Location: California, US

Re: Installing applications with no internet access

Postby 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/Cr ... pdateMedia

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.
pschaff
Retired Moderator
 
Posts: 18277
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America

Re: Installing applications with no internet access

Postby 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.
Derdiyok
 
Posts: 4
Joined: 2011/03/17 18:49:33

Re: Installing applications with no internet access

Postby AlanBartlett » 2011/03/17 23:13:09

ettercap-0.7.3-19.el5.src.rpm

That is the source rpm file, not the binary package. :-o

wireshark-1.0.11-1.el5_5.5.x86_64.rpm

That is the binary package. :-)
User avatar
AlanBartlett
Forum Moderator
 
Posts: 8975
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk


Return to CentOS 5 - Software Support

Who is online

Users browsing this forum: No registered users and 3 guests