PDA

View Full Version : c shell question



sheek85
01-17-2008, 08:34 PM
A linux program i need to run requires c shell and apparently my version of linux doesnt have it (when i type csh i get a command not found error). Can this problem be resolved with live cd knoppix or do i need to move onto another version of linux?

hal8000
01-18-2008, 10:26 AM
Update the repositories then

apt-get install csh


C Shell will be added, csh at a prompt will give you the familar # prompt.

Jwilli
06-11-2008, 10:40 PM
Hello, I have the same problem, I'm not sure how to "Update the repositories"

I tried the command you gave and got "package csh is not available, but is referred to by another package. ...E: package csh has no installation candidate"


Any suggestions?
Thanks,
Jwilli

GUI_Hopper
06-12-2008, 12:57 AM
I like aptitude , first you need a Root Terminal, from the knoppix penguin in 5.3


aptitude update -- wait for it to complete, (need internet connection)

aptitude install csh -- you can do
aptitude search csh to see if update found csh , (see info aptitude and aptitude --help)

You should be good to go. You will a hdd install or a persistent image or it will NOT keep.

Good luck 8) . Your mileage may vary.

John

Jwilli
06-12-2008, 08:45 PM
Thanks for the advice,

I couldn't get that aptitude to work because I was using knoppix 5.1.1 live cd.

However, the good news is that Knoppix 5.3.1 live DVD already includes csh, so I finally got my script to work!!!

Yee-Haw!!