Why don't I have pico?

Lazarus18

In debt medical student
I recently reinstalled OSX onto my powerbook and now I lack emacs and pico. Any idea what's up? I don't recall installing them on my own before. All I have is vi (which I have no idea how to use). Nothing else in /usr/bin or anywhere else that I can see.

If anyone know why they're missing that would be useful, but more importantly, how do I install them now?
 
In the process of trying to install other things I've learned that I also don't have "grep".

Nor do I have "man" or "su".

If the "patch" command is supposed to be standard I don't have that either. What's going on here? I have the developer's tools installed also (but not all of them, I eliminated all the optional things to save space).
 
Did you not install the BSD package? It's optional (but probably shouldn't be) and contains pico, grep, su, and of course, many others.
 
I sure as heck thought I did. I customize to deselct all the languages I don't need to save space, maybe I unchecked the BSD subsystem by mistake. Is there any way to add just that without having to redo the whole thing? It's quite annoying to have to install 10.1 and then get all the various updates and optimizations and reboots taken care of.
 
To see if you did, check /Library/Receipts for a BSD.pkg folder; if it's not there, you didn't install it.

As far as installing just it, theoretically, you can pop in the 10.1 CD, go into Optional Installs and install from there. However, if you've already applied updates, this would probably result in an out-of-sync set of files between the core OS and the BSD stuff, as (at least) 10.1.2 appears to update some BSD programs.
 
I bet you don't have /usr/bin in your path.

cd to /usr/bin and ls, do you see pico and grep here?

Try this type env in the terminal and see if you have /usr/bin in the path.

If its not there then you can put this in your .tcshrc

setenv PATH "${PATH}:/usr/bin"
 
No, it's not the path, I really don't have them. I did which vi to find out where it lived, which is indeed /usr/bin. So I looked in there and there is no pico, no grep, and if man lives there it's not there either.
 
Most unfortunate.

I definitely have pine, pico, and grep all in the default installation.

"As your lawyer I would advise you to reinstall"

I have done this without losing any of my stuff, just right over the top of the old install.
 
Well, I tried to reinstall, and that didn't work. My OSX partition was greyed out, and I was told it was dimmed because it had different languages than what I was trying to install. I don't know what they mean by that. Do they mean French, German, etc. or languages in the coding sense of the word?

Anyway, when I double clicked on the BSD package in my receipts it started to install and then ran into some error or something and aborted.

However, I double clicked the BSD package off of the CD and it seems to have installed just fine and dandy. Pico, grep, man, et al are in /usr/bin and function normally. I don't know why they were absent, especially if they should be there even without the BSD subsystem optionally installed. But at any rate things seem to be working. Maybe the bogus package in my receipts is an indication that something got goofed up during the initial install.

Thanks for your help guys and gals.
 
Back
Top