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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
05-09-2007, 11:11 PM
|
#1
|
|
Member
Registered: Apr 2007
Location: Dallas
Distribution: Slackware
Posts: 63
Rep:
|
Where did 'which' go?
I am upgrading from kernal 2.2 to 2.4 and I seem to have lost 'which' in the process (We're talking Slackware, BTW). So what program has replaced 'which?'
|
|
|
|
05-09-2007, 11:24 PM
|
#2
|
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 11,216
|
"which which" returns /usr/bin/which (bash shell script) - Debian derived system, not Slack.
What's your path look like ???.
Edit: forgot to mention; 2.6 kernel
Last edited by syg00; 05-09-2007 at 11:27 PM.
|
|
|
|
05-09-2007, 11:31 PM
|
#3
|
|
Senior Member
Registered: Jan 2006
Posts: 4,362
Rep: 
|
rdx
Probably a path issue. Try locate witch.
Edit: oops, which not witch
Last edited by lazlow; 05-10-2007 at 09:55 AM.
|
|
|
|
05-10-2007, 07:40 AM
|
#4
|
|
Member
Registered: May 2007
Distribution: suse 10.1, fedora 6
Posts: 39
Rep:
|
which what ? 
|
|
|
|
05-10-2007, 03:13 PM
|
#5
|
|
Member
Registered: Apr 2007
Location: Dallas
Distribution: Slackware
Posts: 63
Original Poster
Rep:
|
Quote:
|
Originally Posted by syg00
"which which" returns /usr/bin/which (bash shell script) - Debian derived system, not Slack.
What's your path look like ???.
Edit: forgot to mention; 2.6 kernel
|
Yeah, well "which which" returns :
bash: which: command not found
I have seen it as "what" then what became part of SCCS and it became which but it seems to be missing here. Anyway, echo $PATH returns :
/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin
|
|
|
|
05-10-2007, 03:30 PM
|
#6
|
|
Moderator
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
"which" is a command in /usr/bin/ supplied by util-linux. The location is pretty standard.
|
|
|
|
05-10-2007, 05:01 PM
|
#7
|
|
Member
Registered: Apr 2007
Location: Dallas
Distribution: Slackware
Posts: 63
Original Poster
Rep:
|
Quote:
|
Originally Posted by jschiwal
"which" is a command in /usr/bin/ supplied by util-linux. The location is pretty standard.
|
It appears that it got left out of the Slakeware 11 dist. I went back to the site and checked and found it, but not in the 'a' set where it belongs. Anyway I DL'd and installed it. BTW it went into /bin.
|
|
|
|
05-10-2007, 05:18 PM
|
#8
|
|
Senior Member
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: LFS-Version SVN-20091202, Arch 2009.08
Posts: 1,466
Rep:
|
There are actually alternatives to which and there are various reasons to do it one way or the other.
|
|
|
|
05-10-2007, 06:23 PM
|
#9
|
|
Member
Registered: Dec 2006
Distribution: Slackware 12.1
Posts: 94
Rep:
|
I have slack 11 and which is there, /usr/bin/which
|
|
|
|
05-11-2007, 11:51 AM
|
#10
|
|
Member
Registered: Apr 2007
Location: Dallas
Distribution: Slackware
Posts: 63
Original Poster
Rep:
|
Quote:
|
Originally Posted by pauledwards03
I have slack 11 and which is there, /usr/bin/which
|
I'm also missing 'file' I just discovered. I got Slack 11 from the Utah.edu mirror and these are missing (and who knows what else). I have been able to go back to the Slack site and find the progs listed and get them but they are not in the 'a' disk set where they belong. Odd. I guess it just proves, "You get what you pay for," or, in this case, "You get which you pay for."
|
|
|
|
05-11-2007, 01:43 PM
|
#11
|
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,080
|
Which in Slackware 11.0 was split away from the bin package into its own package (named which ofc). The same happened to 'file'.
When upgrading you should always read the changelog, and, for 11.0 and up, this:
http://slackware.osuosl.org/slackwar..._AND_HINTS.TXT
BTW you would probably get much better response in Slackware forum than software.
Last edited by dive; 05-11-2007 at 01:46 PM.
|
|
|
|
05-11-2007, 04:29 PM
|
#12
|
|
Member
Registered: Apr 2007
Location: Dallas
Distribution: Slackware
Posts: 63
Original Poster
Rep:
|
Quote:
|
Originally Posted by dive
Which in Slackware 11.0 was split away from the bin package into its own package (named which ofc). The same happened to 'file'.
When upgrading you should always read the changelog, and, for 11.0 and up, this:
http://slackware.osuosl.org/slackwar..._AND_HINTS.TXT
BTW you would probably get much better response in Slackware forum than software.
|
Easy for you to say. RTFM! LOL. My sys dies and I'm trying to get it alive again. How many issues, hardware and software involved? Who knows, it's all a blur. Okay, rant finished. I looked at the CHANGES ... file and didn't see what I'm looking for. I was using version 7.1, now I'm at 11.0 (or 11.1, not sure) so I suppose I need to look at all the docs for all the releases between. Not practical. That's why I post the question, so someone who knows can share their knowledge and save me time.
That said, what else is missing? It's (slightly) irritating to find the next missing piece and have to stop what I'm doing and fetch the bogie. And, how does one know whether this is a software issue or a distribution one? By the time one knows all these answers they have no more questions.
|
|
|
|
05-11-2007, 06:20 PM
|
#13
|
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,080
|
Quote:
Package Additions Since 11.0:
<snip>
a/file: split from the bin package.
<snip>
a/which: split from the bin package.
etc...
|
There really are an awful lot of changes between 7.1 and 11/current it might be easier to install from scratch. Otherwise the only way is to keep on what you are doing and solving each problem as it comes.
There are a lot of additions and removals in the Changes and Hints, so have a look in there as each problem occurs and you should find an answer. I have had 11.0 and -current running fine so far, so there really shouldn't be distribution problems, only problems with updating.
Last edited by dive; 05-11-2007 at 06:23 PM.
|
|
|
|
05-11-2007, 06:29 PM
|
#14
|
|
Senior Member
Registered: Jan 2006
Posts: 4,362
Rep: 
|
Rdx
I do not use slack, but think about this in the windows world. You have just updated from win95 to vista. Now, would you expect everything to be the same? No, progress occurs. Sometimes I do not understand why certain things are not standard on a new release. But as long as I can add those missed things back in, I am not going to get upset. It also puts a bright star on why we need to keep current. As big a PITA as it is, keeping no more than 1 version out of date prevents a lot of headaches like this.
Good Luck
Lazlow
|
|
|
|
05-11-2007, 06:53 PM
|
#15
|
|
Member
Registered: Apr 2007
Location: Dallas
Distribution: Slackware
Posts: 63
Original Poster
Rep:
|
Quote:
|
Originally Posted by dive
There really are an awful lot of changes between 7.1 and 11/current it might be easier to install from scratch. Otherwise the only way is to keep on what you are doing and solving each problem as it comes.
There are a lot of additions and removals in the Changes and Hints, so have a look in there as each problem occurs and you should find an answer. I have had 11.0 and -current running fine so far, so there really shouldn't be distribution problems, only problems with updating.
|
Maybe I said this wrong. I installed Slackware 11 from scratch on a newly formatted HD. The fact that I was previously running Slackware 7.1 on another disk is incidental. My point is that I installed the dist from the mirror and found that I was missing std apps. I am trying to figure out what else I am missing. How now?
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:12 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|