Click to See Complete Forum and Search --> : frustrated, but not giving up!


rbelt
04-25-2002, 03:10 PM
I started out on RH5.1 but couldn't find real world application in my world as an ms consultant... now the gloves are off but I seem to constantly get slapped by my linux box... anyhow, here are some things that I could use some feedback on:

I'm trying to install acrobat reader. Working as root, I ftp the file into /root then try to gunzip (also gzip) the file but keep getting 'gunzip: [file]: not in gzip format' (I've not had any issues w/gunzip on other files). So I jumped to my w2k box and unzipped the file using winzip (no problems) and used ftp to bounce the files back to my RH7.2 box... ok... next I untar and try to run the './INSTALL' (as the readme says) but get the error 'bash: ./INSTALL : bad interpreter: Permission denied'. The file is set to '-rw-r--r--'

Any thoughts?

Also, why do I need to use the './INSTALL' syntax? Isn't the '.' the same as saying 'in this directory'... so why can't I just type 'INSTALL' if I’m already in the correct dir (I know it doesn't work but why...)?

thanks

\\RB

nuvan
04-25-2002, 03:31 PM
as far as the install process goes, try typing # sh ./INSTALL, that could work.

And as to why you have to type the ./, I believe it is so the shell knows that you want to run the file from the local dir, and not from a dir on the PATH

correct me if i'm wrong

camelrider
04-25-2002, 03:37 PM
try chmod 755 INSTALLto make the file executable. ;)

2thumbs
04-25-2002, 03:40 PM
Is it a .zip file? in which case it is NOT a gnuzip file, but pkzip... so use the unzip utility. As per the install, I see that the file is not executable. Type chmod a+x INSTALL. About the ./ thing, UNIX shells only check the $PATH. So unless the current directory is in the $PATH, it won't find the application. Hence the need to add the directory (./ specifies the current directory, ../ the parent)

[ 25 April 2002: Message edited by: 2thumbs ]

2thumbs
04-25-2002, 03:47 PM
Originally posted by camelrider:
<STRONG>try chmod 755 INSTALLto make the file executable. ;)</STRONG>

Doh... beaten :(


:D

rbelt
04-25-2002, 04:48 PM
That makes sense... I'm used to ms rights in that if you can read the file, you can run the file... I can't wait until I understand *nix as well as I do ms stuff...

So I changed the file permissions and now get 'bash: ./INSTALL : bad interpreter: No such file or directory'. ls -l shows the file in bold now, which I don't understand (RH7.2 w/alias ls=ls --color=tty). Also, the original file was indeed a .gz file (and not a zip file...) unless Adobe miss labeled their output file (that would make sense). Can winzip understand gzip?

\\RB

jscott
04-25-2002, 05:05 PM
let's see
tar zxvf ./linux-ar-405.tar.gz
cd ./ILINXR.install
./INSTALL
Somewhere after that you'll need to type 'accept' to accept the agreement.

rbelt
04-25-2002, 05:12 PM
Originally posted by jscott:
<STRONG>let's see
tar zxvf ./linux-ar-405.tar.gz
cd ./ILINXR.install
./INSTALL
Somewhere after that you'll need to type 'accept' to accept the agreement.</STRONG>

That's what I was trying to do but mine fails on the gzip part... then it fails on the './INSTALL' part... I'm wondering if Adobe has their file structure all messed up and I've got some other, non linux version.

\\RB

rbelt
04-25-2002, 05:26 PM
6th time is a charm(?!?) I just downloaded the file (6th time) and tried the install again and it dropped right in... freaky! Maybe the download was corrupt or something. Who knows. Anyhow, thanks for all the info (I learned a couple of other things during this problem)!

thanks again! Now I can move my linux PDF docs off of my w2k box!

\\RB

rbelt
04-25-2002, 05:29 PM
...although, I'm still wondering what the bold means in the ls output (executable file maybe...)

\\RB

[ 25 April 2002: Message edited by: rbelt ]