domingo, 30 de novembro de 2014

HOW TO INSTALL WIRESHARK FOR DEBIAN WHEEZY

First, do the download of source code file by  tar.gz.b2
By this web site: https://www.wireshark.org/download.html
After realize this procedure:

#apt-get build-dep wireshark
#apt-get install build-essential checkinstall libcurl4-openssl-dev
#tar xvf wireshark-*.tar.bz2
#cd wireshark-*
#./configure --with-ssl --enable-setcap-install --with-dumpcap-group=wireshark
#  make -j4
 
#### if you have some problem like that:
configure: error: Qt is not available
 
in this step do that### 
 
##Add ##
 ./configure --with-ssl --enable-setcap-install --with-dumpcap-group=wireshark 
--with-gtk2" or "--with-gtk3
 
 
After the process, execute this command:
 
#checkinstall --fstrans=no 

After, enter y then name the package: wireshark and press enter to receiver this information.
 
##################message##################################################################
 
checkinstall 1.6.2, Copyright 2009 Felipe Eduardo Sanchez Diaz Duran
           This software is released under the GNU GPL.


The package documentation directory ./doc-pak does not exist. 
Should I create a default set of package docs?  [y]: y

Preparing package documentation...OK

Please write a description for the package.
End your description with an empty line or EOF.
>> wireshark
>> 

*****************************************
**** Debian package creation selected ***
*****************************************

This package will be built according to these values: 

0 -  Maintainer: [ root@brahms ]
1 -  Summary: [ wireshark ]
2 -  Name:    [ wireshark ]
3 -  Version: [ 1.10.0 ]
4 -  Release: [ 1 ]
5 -  License: [ GPL ]
6 -  Group:   [ checkinstall ]
7 -  Architecture: [ amd64 ]
8 -  Source location: [ wireshark-1.10.0 ]
9 -  Alternate source location: [  ]
10 - Requires: [  ]
11 - Provides: [ wireshark ]
12 - Conflicts: [  ]
13 - Replaces: [  ]

Enter a number to change any of them or press ENTER to continue: 

Installing with make install...

Some of the files created by the installation are inside the home directory: /home

You probably don't want them to be included in the package.
Do you want me to list them?  [n]: n
Should I exclude them from the package? (Saying yes is a good idea)  [n]: yes

Some of the files created by the installation are inside the build
directory: /home/stmiller/Downloads/wireshark-1.10.0

You probably don't want them to be included in the package,
especially if they are inside your home directory.
Do you want me to list them?  [n]: n
Should I exclude them from the package? (Saying yes is a good idea)  [y]: y

Copying files to the temporary directory...

Stripping ELF binaries and libraries...OK

Compressing man pages...OK

Building file list...OK

Building Debian package...OK

Installing Debian package...OK

Erasing temporary files...OK

Writing backup package...
OK

Deleting temp dir...OK


**********************************************************************

 Done. The new package has been installed and saved to

 /home/stmiller/Downloads/wireshark-1.10.0/wireshark_1.10.0-1_amd64.deb

 You can remove it from your system anytime using: 

      dpkg -r wireshark

**********************************************************************

 
 
 
################## end message##################################################################
 
 
execute this command:
#ldconfig
execute this command to open the program: 
#wireshark 
 
 
 
 

Um comentário:

  1. A very interesting article. The insights are really helpful and informative. Thanks for posting. Visit here for more info. sophos tech support

    ResponderExcluir