How to install Acroread Binary?

Hi,

I’ve just downloaded Acroreader 9.1 from Adobe HP and want to install it on Suse 11.0.
There is no previous Acroreader installation on my computer.
I know, that I could install Acroreader from rpm-package with Yast, however this is then version 8.1.

Is it possible or recommended to install a naked binary and how does this work?
Or is it better to install the 8.1 - package and to update it with a new binary file?

After working 2 months with Linux, I’m still a newbie, but I already know what a command line or a shell is :wink:

Thanks for help.

Lou

If you install the package from YaST the next binary installation doesn’t updates it.
Installation:


./AdbeRdr9.1.0-1_i486linux_enu.bin

Hope that helps.

Is there a reason you need 9.1 and cannot use 8.1? If you use the standard package from the openSUSE repositories you will get security updates to it. If you install an Adobe package you have to check for updates from Adobe yourself. And as far as I can see acroread is has more holes than cheese; they keep finding new ones.

Thanks for quick answer.

Tried to use the command line code (as su), but receive the error message:
‘Permission denied’

Any idea about the reason?

Lou

You might need to make it executable first

chmod +x name_of_file

Sure you want the Adobe reader? It’s heavy, slow. If okular can do the job, I wouldn’t bother about Acroread anymore.

evince is the gnome PDF-capable document reader, I use it even on my KDE3 desktop machine.

I’m using KDE 3.0, including KPDF. I’m just used to Acroreader from my previous Windows PC, so just wanted to see, whether I can also use it under Linux.
Version 8.1 of course would do also, I’m just curious, how to install executable files under Linux as you often can download latest releases for Linux from provider hompages (such as the 9.1 acroreader version or also Firefox f.e.), but not as rpm-package.

Tried the ‘chmod +X’ - command, but still permission is denied.

Will install the 8.1 package now, but I’m still interested, how to install software under Linux manualy.

Thanks.

chmod a+x AdbeRdr9.1.0-1_i486linux_enu.bin

Then either sh AdbeRdr9.1.0-1_i486linux_enu.bin or ./AdbeRdr9.1.0-1_i486linux_enu.bin

sh just means shell and will execute the binary, as will ./

Please try “chmod +x” and not “chmod +X” i.e. ‘x’ in small case.

OK. Tried it. Get now the error message

‘cannot execute binary file’

Some more questions here: is the binary file the equivalent to the executable in windows? And where are the application binaries/executables usually saved in Linux?

Download the rpm version from adobes website. Thats how I installed reader 9.1 in 11.1.

Then become root and do a rpm -ivh rpmname.rpm

Yes and no. Your best bet is not to compare it to Windows. Windows puts the same extension on it’s packages as it does it’s executable files. You can find Linux executable files in either /bin, /sbin, or /usr/bin or /usr/sbin. There may be a couple other places, but for the most part, that’s it. When you look in those places, you will see the executables as just file names. For example, amarok.

Now when asking someone to help you, it is generally courteous if you provide all the information. ‘Can not execute binary file’ tells me a few things. One, you successfully changed permissions to make it executable. Two, it also would see that you are in the wrong directory, or don’t have adequate permissions.

If you downloaded the binary file via your browser, it will save to the location you have in ‘Preferences’. For example, mine saves to my ‘Desktop’ (/home/dean/Desktop). Hence, as Johnathan has explained to you, you have to execute the command with full path, or be in same directory where file was downloaded.

Yes, I’m fully aware, that sufficient information is fundamental to be able to give remote support and I’m absolutely willing to provide. But what are the fundamentals in Linux? Specifically when using the shell. I’m comming from the Windows world and the differences are significant. There is nothing in Windows comparable to the shell in Linux.
So, I hope for some indulgency.

When trying to execute the binary, I’m first changed to the directory, where the binary file is located (right?). Then input the ‘chmod’ - command and then the sh <filename> - command. Then received the error message ‘Can not execute binary file’. Not more. Sorry.

Maybe cut and paste commands from console and post here to demonstrate the problem. Then it may be possible to see where the problem is. For example

cd /to/the/location/of/AdbeRdr9.1.0-1_i486linux_enu.bin
ls AdbeRdr9.1.0-1_i486linux_enu.bin

This will list the file concerned if it exists in the directory you say it should be in, otherwise you’ll get an error message instead.

Now if the file is executable (from previous chmod) command, then you should only need to execute it with

./AdbeRdr9.1.0-1_i486linux_enu.bin

Note: You will probably have to be root first to perform this step.

Numerous online how to’s if you do a search. One here:

How to run the .sh file in shell script in Linux / UNIX


When trying to execute the binary, I’m first changed to the directory, where the binary file is located (right?). Then input the ‘chmod’ - command and then the sh <filename> - command. Then received the error message ‘Can not execute binary file’. Not more. Sorry.

I take it you tried running it as root. Open a terminal, and type su and then root pwd when asked.
Change to the directory with the adobe binary file and try:
sh ./Adobe…
It should install.

I use both version 8 from suse and v9 from adobe and prefer v8 if it’s any help.

I know this is and old post, but I had the same problem with version 9,2 of Adobe Reader today (can not execute binary file).

I had 8.1 version installed previously.

What I did… openSuse 11.0

  1. in console, login as root, with “su -”
  2. navigated to download folder of AR
  3. chmod a+x %name_of_file%
  4. ./%name_of_file%

I got a warning about existinginstalation of Adobe in /opt, but I continued and installation was sucessfull.

Hope this helps someone…