LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-22-2011, 05:48 AM   #16
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled

Quote:
so installed the old version 1.3.2
How did you install it? with yum? I don't know about yum (I use a deb-based system) but doesn't it have a search function so you can find out what packages are installed and what aren't?
jdk
 
Old 10-22-2011, 09:48 AM   #17
shanky
Member
 
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled
hiii..
no i didnt use yum ..i used the tar file and then the usual procedure ./configure ,make ,make install
 
Old 10-22-2011, 10:31 AM   #18
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Ok, you compiled it yourself. Then I'd guess the files will be found in the /usr/local section of your file system. You can run updatedb as root and then run the command
Code:
locate wireshock
That should get you most of the files to delete.
jdk
 
Old 10-22-2011, 10:48 AM   #19
shanky
Member
 
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled
ok..thank you..will try it out and update the thread !!
 
Old 10-24-2011, 01:58 AM   #20
shanky
Member
 
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled
hii
i do know that 1.6.2 is in my home folder ...how do i get to overwrite the 1.3.2 rather deleting..i was told to check where the executable for 1.6.2 is and run it from there..how do i find the executable now??
 
Old 10-24-2011, 02:50 AM   #21
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 190Reputation: 190
Code:
$ which wireshark
 
Old 10-24-2011, 03:00 AM   #22
shanky
Member
 
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled
hiii
i ran which wireshark-1.6.2 in my terminal and i got

no wireshark-1.6.2 in (/usr/kerbebos/sbin:/usr/lib/gt-3.3/bin:/usr/kerbebos/bin:/usr/lob/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin/home/cpu56/bin)

my initial reaction was i thought that 1.6.2 was not installed properly but then i ran the same command for 1.3.2 as
which wireshark-1.3.2 and i got the same output,whereas 1.3.2 is intalled and running in my system..

i then again ran only "which wireshark" without specifying the version and i got
/usr/local/bin/wireshark/

so what does it mean ?? did miss out something or did i go wrong somewhere??
 
Old 10-24-2011, 03:10 AM   #23
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 190Reputation: 190
Quote:
how do i find the executable now??
Quote:
so what does it mean ??
It means that the wireshark executable is located in "/usr/local/bin/wireshark/".....
 
Old 10-24-2011, 03:15 AM   #24
shanky
Member
 
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled
fukawi1,
i got the location of wiresharks,in fact i know where the folders of both the versions of wiresharks are located ..but what i dont understand is how do i get the 1.6.2 to work or run and overwrite 1.3.2
Sorry if i am testing your patience but thanks a lot for taking interest !!
 
Old 10-24-2011, 06:05 AM   #25
shanky
Member
 
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled
hiii
as i have mentioned earlier that i installed wireshark using tar balls..but i overlooked one fact..i used wireshark-1.3.2-tar.gz for installing the 1.3.2 version and wireshark-1.6.2-tar.bz2 for the newer version..does this make a difference and could this be a reason for 1.6.2 not overwriting 1.3.2 or for 1.6.2 not running in my system??

(notice the .gz and .bz2 for both the versions..mentioning just in case you guys missed it like i did )

Last edited by shanky; 10-24-2011 at 06:07 AM.
 
Old 10-24-2011, 07:18 AM   #26
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
The .gz and .bz2 just refer to the type of file compression used on the tarball (gzip and bzip2, respectively); they don't have a whit to do with your problem.

The problem is that you installed the newer version of wireshark in a location that is not in your default command search path (which is stored in the $PATH environment variable). To verify that your new wireshark install works, type the full path to the executable and wireshark 1.6.2 should pop up and run OK. So that you don't have to keep typing the full path, you can edit your .bashrc to add the folder the new wireshark is in to your $PATH, e.g.:

export PATH=/path/to/my/wireshark/install/bin:$PATH

You might also have to add the new wireshark's lib directory to your $LD_LIBRARY_PATH if there are custom libraries needed.

When you type a command into the bash shell, the shell searches each directory in your path until it finds one containing a matching executable, and then runs it, so the order of directories in your $PATH matters if you have two executables of the same name in different directories.

Honestly, you really ought to just use your distro's package manager (yum) to install software. This is the most fool-proof way of getting software working (particularly if you're a newbie to Linux).
 
Old 10-24-2011, 07:36 AM   #27
shanky
Member
 
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled
Thank you for your post ..yes i did read later on that .gz and .bz2 have nothing to do with this,also i figured out that the 1.6.2 is not in my default command search..and you did explain how to rectify but i am sorry ,i am a newbie on linux and do not have much idea bout .bashrc and other related stuff ..could be kind enough to explain to me as to how should i do rectify it ,if possible for you step by step .Thanks a lot and sorry again.
 
Old 10-24-2011, 11:28 AM   #28
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
Since it would be best to have it installed with the package manager, the best thing to do would be to manually delete all the files you installed and then install wireshark using the package manager.

To help find out what files you have to remove, post the output of:

Code:
find /usr -name '*wireshark*' 2> /dev/null
 
Old 10-25-2011, 01:47 AM   #29
shanky
Member
 
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled
hii
sorry for getting back so late,as you said i gave the command
Quote:
Originally Posted by MTK358 View Post
find /usr -name '*wireshark*' 2> /dev/null
and this is the output

/usr/bin/wireshark
/usr/share/man/man1/wireshark.1.gz
/usr/share/man/man4/wireshark-filter.4.gz
/usr/share/selinux/devel/include/apps/wireshark.if
/usr/share/pixmaps/wireshark.png
/usr/share/applications/fedora-wireshark.desktop
/usr/share/wireshark
/usr/share/wireshark/wireshark-filter.html
/usr/share/wireshark/wireshark.html
/usr/share/doc/wireshark-1.1.3
/usr/lib/libwireshark.so.0
/usr/lib/libwireshark.so.0.0.1
/usr/lib/wireshark
/usr/lib/python2.6/site-packages/wireshark_be.pyo
/usr/lib/python2.6/site-packages/wireshark_gen.py
/usr/lib/python2.6/site-packages/wireshark_be.pyc
/usr/lib/python2.6/site-packages/wireshark_gen.pyc
/usr/lib/python2.6/site-packages/wireshark_be.py
/usr/lib/python2.6/site-packages/wireshark_gen.pyo
/usr/lib/libwireshark.so
/usr/sbin/wireshark
/usr/local/bin/wireshark
/usr/local/share/man/man1/wireshark.1
/usr/local/share/man/man4/wireshark-filter.4
/usr/local/share/wireshark
/usr/local/share/wireshark/wireshark-filter.html
/usr/local/share/wireshark/wireshark.html
/usr/local/lib/libwireshark.so.0
/usr/local/lib/libwireshark.so.0.0.1
/usr/local/lib/wireshark
/usr/local/lib/libwireshark.la
/usr/local/lib/libwireshark.so
 
Old 10-25-2011, 09:12 AM   #30
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
I don't know, but what I would do is manually delete all the files you listed above and then install wireshark using the package manager.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
wireshark rpm installation thru yum on RHEL5 g.navink Linux - Software 3 11-25-2009 05:27 AM
wireshark installation in slackware 12.2 ruzvay Linux - Software 11 11-25-2009 04:51 AM
Wireshark Install Problems krimzen85 Linux - Software 5 08-20-2009 02:30 PM
Wireshark .deb file installation process - No internet krimzen85 Linux - Software 5 08-17-2009 12:18 PM
wireshark problems pr0n Linux - Networking 4 06-01-2009 06:20 PM


All times are GMT -5. The time now is 06:14 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration