LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-15-2006, 05:00 PM   #1
rhurst
LQ Newbie
 
Registered: Jul 2006
Posts: 2

Rep: Reputation: 0
Hod do you uninstall binutils?


I grabbed binutils from the gnu.org website, built it and installed it. I thought it was the latest version. However, the version that was installed was newer. I am using Cygwin with the bash shell. I delted the 'exe' files form the newly created directories (/usr/local/bin/) thinking that the PATH variable would re-direct the execution back to the main '/bin' path. When I execute the as.exe program I get the message 'bash: /usr/local/bin/as Nno such file or directory'. My quesion is how does bash know where the as.exe file used to be?
 
Old 07-15-2006, 05:12 PM   #2
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447

Rep: Reputation: 39
Quote:
My quesion is how does bash know where the as.exe file used to be?
I don't know exactly how it works, but

Code:
set +h
turns it off.
 
Old 07-15-2006, 05:15 PM   #3
rhurst
LQ Newbie
 
Registered: Jul 2006
Posts: 2

Original Poster
Rep: Reputation: 0
How do you uninstall binutils?

Hey...that worked....Thanks.
 
Old 07-15-2006, 05:18 PM   #4
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
Oh. 'hash -r' works better. Really, set +h disables hashing at all (it means, shell doesn't try to remember where executables in PATH reside) and hash -r merely drops everything remembered, but allows to remember locations after it.
 
Old 07-15-2006, 05:25 PM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
The /usr/local/bin would be the proper place for programs you download and build yourself. In the future, I would recommend not worrying about it and leaving it where the make install puts it.

The "set +h" turns off hashing. You may be able to run "set +h" followed by "set -h". The "set +h" step may dump a "hash cache". Try saying that three times fast!
 
Old 07-15-2006, 05:35 PM   #6
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
"set +h; set -h" == "hash -r", I bet.
 
Old 07-15-2006, 05:52 PM   #7
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447

Rep: Reputation: 39
Good to know.
 
  


Reply



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
Need to uninstall SuSe 8.1 & there is no uninstall jwhibdon Linux - Software 10 10-26-2006 11:57 AM
How do you uninstall software which doesn't have an uninstall-file? lagu2653 Linux - Software 2 12-08-2005 12:36 PM
uninstall from src if no make uninstall dtra Linux - Software 3 04-29-2005 09:13 AM
Source uninstall with 'make uninstall' HOWTO! Creeps Linux - Newbie 6 09-14-2004 11:03 AM
Installation of binutils....can't mkdir...../binutils-build hmonster Linux From Scratch 6 08-22-2004 04:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:33 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
Open Source Consulting | Domain Registration