Install Adobe Reader on Fedora 34/33, CentOS/RHEL 8.3 - Comment Page: 3
This is guide shows, howto install Adobe Reader (Acrobat PDF Reader) current version 9.5.5 RPM on Fedora 34/33, CentOS 8.3, Red Hat (RHEL) 8.3. This method works on 64-bit architectures.
[inttf_post_ad1]
Check video version of guide:
Watch More Videos and Subscribe to if-not-true-then-false.com Youtube Channel
1. Change Root User
sudo -i
## OR ##
su -
2. Get Adobe Reader RPM package
cd /tmp
## English version ##
wget http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/9.5.5/enu/AdbeRdr9.5.5-1_i486linux_enu.rpm
3a. Install Adobe Reader (acroread) on Fedora 34/33
Note: On x86_64 bit system, 32-bit dependencies is also installed.
## Fedora...
great!!!
I am completely lost!
I have followed the instructions, but get a bug nobody else received!
Linux-mybg (0:32) ~ > acroread
/usr/bin/acroread: line 22: /opt/Adobe/Reader9/Reader/intellinux/bin/acroread: cannot execute binary file
/usr/bin/acroread: line 22: /opt/Adobe/Reader9/Reader/intellinux/bin/acroread: Success
Linux-mybg (0:32) ~ >
Any ideas?
Thanks in advance
Hi Michael,
Could you tell a more detailed what operating system and architecture you use?
Do you get any SELinux errors?
Fedora 16, 64 bit (intel processor). SELinux is disabled.
Thanks!
Could you then post output of following command:
Here we go … thanks!
AdobeReader_enu-9.4.6-1.i486
adobe-release-i386-1.0-1.noarch
atk-2.2.0-2.fc16.i686
audit-libs-2.1.3-4.fc16.i686
avahi-libs-0.6.30-4.fc16.i686
cairo-1.10.2-4.fc16.i686
cups-libs-1.5.0-22.fc16.i686
cyrus-sasl-lib-2.1.23-27.fc16.i686
dbus-glib-0.92-2.fc15.i686
dbus-libs-1.4.10-3.fc16.i686
expat-2.0.1-11.fc15.i686
fontconfig-2.8.0-4.fc16.i686
freetype-2.4.6-4.fc16.i686
gamin-0.1.10-10.fc16.i686
gcc-plugin-devel-4.6.2-1.fc16.i686
gdk-pixbuf2-2.24.1-1.fc16.i686
glib2-2.30.1-1.fc16.i686
glibc-2.14.90-24.fc16.4.i686
glibc-devel-2.14.90-24.fc16.4.i686
gnutls-2.12.7-2.fc16.i686
gtk2-2.24.8-3.fc16.i686
gtk2-engines-2.20.2-2.fc15.i686
jasper-libs-1.900.1-18.fc16.i686
keyutils-libs-1.5.2-1.fc16.i686
krb5-libs-1.9.2-4.fc16.i686
libcom_err-1.41.14-2.fc15.i686
libcurl-7.21.7-5.fc16.i686
libdb-5.2.36-1.fc16.i686
libdrm-2.4.27-2.fc16.i686
libffi-3.0.10-1.fc16.i686
libgcc-4.6.2-1.fc16.i686
libgcrypt-1.5.0-2.fc16.i686
libgpg-error-1.10-1.fc16.i686
libICE-1.0.7-1.fc16.i686
libidn-1.22-3.fc16.i686
libjpeg-turbo-1.1.1-3.fc16.i686
libpciaccess-0.12.1-1.fc15.i686
libpng-1.2.46-1.fc16.i686
libselinux-2.1.6-5.fc16.i686
libSM-1.2.0-2.fc15.i686
libssh2-1.2.7-1.fc15.i686
libstdc++-4.6.2-1.fc16.i686
libtasn1-2.7-2.fc15.i686
libthai-0.1.14-4.fc15.i686
libtiff-3.9.5-1.fc16.i686
libuuid-2.20.1-2.1.fc16.i686
libX11-1.4.3-1.fc16.i686
libXau-1.0.6-2.fc15.i686
libxcb-1.7-3.fc16.i686
libXcomposite-0.4.3-2.fc15.i686
libXcursor-1.1.11-3.fc15.i686
libXdamage-1.1.3-2.fc15.i686
libXext-1.3.0-1.fc16.i686
libXfixes-5.0-1.fc16.i686
libXft-2.2.0-2.fc15.i686
libXi-1.4.5-1.fc16.i686
libXinerama-1.1.1-2.fc15.i686
libxml2-2.7.8-6.fc16.i686
libXrandr-1.3.1-2.fc15.i686
libXrender-0.9.6-2.fc15.i686
libXt-1.1.1-1.fc16.i686
libXxf86vm-1.1.1-2.fc15.i686
llvm-libs-2.9-4.fc16.i686
mesa-dri-drivers-7.11.2-1.fc16.i686
mesa-dri-filesystem-7.11.2-1.fc16.i686
mesa-libGL-7.11.2-1.fc16.i686
mesa-libGLU-7.11.2-1.fc16.i686
ncurses-libs-5.9-2.20110716.fc16.i686
nspluginwrapper-1.4.4-3.fc16.i686
nspr-4.8.9-2.fc16.i686
nss-3.13.1-10.fc16.i686
nss-softokn-3.13.1-15.fc16.i686
nss-softokn-freebl-3.13.1-15.fc16.i686
nss-util-3.13.1-3.fc16.i686
openldap-2.4.26-5.fc16.i686
openssl-1.0.0f-1.fc16.i686
oxygen-gtk-1.1.6-1.fc16.i686
pango-1.29.4-1.fc16.i686
pixman-0.22.2-1.fc16.i686
readline-6.2-2.fc16.i686
sqlite-3.7.7.1-1.fc16.i686
zlib-1.2.5-5.fc16.i686
I tried this guide on multiple Fedora 16 x86_64 installations and I can’t get this style errors.
Actually you have even more 32-bit packages installed than what this guide installs on my F16 64-bit systems, but it is somehow hard to believe that it would be a problem.
Do you use NVIDIA / ATI proprietary drivers and do you have Gnome installed?
Yes, I do have the nvidia proprietary drivers and Gnome installed. I had no problems on my old 32 bit Fedora 14 system. This 64 bit installation was installed fresh on a clean hard disk though.
I had another look and the line in the script where the error occurs is just an ‘exec’. So I tried executing the file directly, and I got:
./acroread: Exec format error. Wrong Architecture.
I guess that must have something to do with the 32/64 bit issues.
Hi Michael,
Try following…backup /usr/bin/acroread file and then open it with text editor as root and modify launch binary to following:
Save it and try to run it. Then please post output example to pastebin…you can of course remove your personal information… :)
@Michael
Thanks, I found some differences compared to my own output, but one thing what I noticed…did you try to run acroread as root user?
I noticed also that you use tcsh…have you tried to run acroread using BASH shell?
What desktop you use, when you try to start acroread?
I happened to run it as a root user that time, but usually not. I get the same error anyway. Likewise, running from a bash shell makes no difference. I am using GNOME 3 desktop (Fedora 16). Thanks for taking so much trouble!
Oh, I see… :) This is really strange problem, because I run almost exactly same setups (Fedora 16 (x86_64) with nVidia graphics and Fedora 16 (x86_64) with Intel graphics, have tested this many times on virtual machines etc.) and Adobe’s Reader is working like a charm…
Could you take a look at the following, if you found something suspicious after trying to launch Adobe Reader:
/var/log/messages
~/.xsession-errors
dmesg command output
You are welcome, and reason why I run this site is that, I want share some knowledge with other Linux users, try to solve problems and give my support to the Linux users and community… ;)
None of those had anything in them related to the acroread command. Take a look at my comment above (just before your suggestion to get it to display the environment).
It is simply not getting anywhere because of the 32/64 issues. The binary is never executed at all!
I do not quite fully understand, what you mean, that the binary is never executed at all?
If I look:
1. /usr/bin/acroread (link to /opt/Adobe/Reader9/bin/acroread) script
2. Your original error message
3. Line 22 from acroread script
It seems to me that /usr/bin/acroread script is just executing (read try execute) /opt/Adobe/Reader9/Reader/intellinux/bin/acroread binary file with exec command, right?
Let’s think of this matter a little differently, and we can make sure that the binary is executed when we do it manually. If I export following environment variables and run binary directly from command line, then Adobe Reader starts normally. So you could try following…
Export Adobe Reader Environment Variables:
Minimum requirements to get Adobe Reader starting directly using binary file on my Fedora 16 x86_64 system.
Run Adobe Reader Binary Directly from Command Line:
What happens then?
PROBLEM SOLVED!
My kernel had been built without support for 32 bit binaries (CONFIG_IA32_EMULATION). I built a new kernel and now it works fine. Thanks for the help!
Excellent to hear that you got it working!! :)
It didn’t come to my mind that you are using custom kernel… :D
You are welcome! :)
Hi,JR. I just installed the adobe reader 9.4 follow you advice, but I cann’t start adobe reader either from desktop or terminal, to my surprisse, there is no error I can find. (in .xsession-errors, dmesg, /var/log/message). when I start adobe reader, I can see the program interface flahsing in front of my eyes, then disapear immediately. Any advices for me?
Hi steven,
Could you post output of following commands:
So you do not get any output on terminal, when you try to start it?
Hi, JR. Surprisingly, I can not find any info from terminal at all. When I disable the selinux in /etc/sysconfig/selinux, the result do not change. Looking forword to your help!
Here is system info:
$uname -a
Linux xxx.xxx.xxx 3.2.6-3.fc16.i686 #1 SMP Mon Feb 13 20:52:22 UTC 2012 i686 i686 i386 GNU/Linux
$cat /etc/issue
Fedora release 16 (Verne)
Kernel \r on an \m (\l)
Did you reboot your computer after disabling SELinux?
This sounds little bit tricky if you don’t have any errors on terminal, /var/log/messages, ~/.xsession-errors or dmesg output.
You could try to run acroread binary directly, first do following exports:
Then run Adobe Reader Binary Directly from Command Line:
What happens then? Do you get any errors?
Hi,JR. I followed your advice, disable the selinux, then reboot, however, no warinings, errrors can be found. Only thing I can see is the adobe startup interface flash then disappear immediately. Is anyone having the similary problem?
There is some special case in firefox. when I open the url “http://www.wsdm-conference.org/2010/proceedings/docs/p351.pdf”. some notes are emited, still I can see the red interface flash in front of my eyes.
“Could not launch Adobe Reader 9.4.6. Please make sure it exists in PATH variable in the environment. If the problem persists, please reinstall the application.”
However, when I type about:plugins in firefox, the result shows:
Adobe Reader 9.4
File: nswrapper_32_32.nppdf.so
Version:
The Adobe Reader plugin is used to enable viewing of PDF and FDF files from within the browser.
MIME Type Description Suffixes
application/pdf Portable Document Format pdf
application/vnd.fdf Acrobat Forms Data Format fdf
I did the removing of jasper etc. packages trick and now getting just two errors:
Error: Protected multilib versions: glibc-2.14.90-24.fc16.6.i686 != glibc-2.14.90-14.x86_64
Error: Protected multilib versions: krb5-libs-1.9.2-6.fc16.i686 != krb5-libs-1.9.1-18.fc16.x86_64
Hi cubaser,
Sorry, but I have some reason missed your question and forgot to answer it, but check this answer.
I followed the instruction barely, but I got error as follow:
I wondered that the package wasn’t installed at all, for when I checked the /opt folder, there weren’t such files or folders for Acrobat Reader.
Do you have clues, Guru?
Hi Pakpahan,
Try following:
And then try installation again?
great work. all the methods that you have suggested so far for installing applications helps lots of people around the world (including me many times). But sometimes we need to uninstall unwanted applications/software (or the same application). so I would request you to mention or include in the end of each application how to install the same.
Thank you.
Doesn’t work for me, on 64-bit Scientific Linux 6.2 — I get
and if I try to remove the 64-bit libxml2, I get a cascade of removals of dozens of packages up to and including yum itself, at which point I end up with
(Thankfully, yum refuses to do this.)
I don’t really see a way around this, other than to use 32-bit versions of almost everything, which seems to defeat the purpose of running a 64-bit OS.
Hi David,
Please run following commands:
And try again?
Yeah, I saw that up-thread. Same result.
I just checked Scientific Linux 6.2 64-bit repo and found following matching packages:
libxml2-2.7.6-4.el6.i686.rpm
libxml2-2.7.6-4.el6.x86_64.rpm
So could you post output of following commands:
See below. You think maybe it has something to do with which repository yum got the RPM from?
Yum list:
[[email protected] ~]$ yum list libxml2.i686 libxml2.x86_64
Loaded plugins: protectbase, security
2525 packages excluded due to repository protections
Installed Packages
libxml2.x86_64 2.7.6-5.el6.rfx @rpmforge-extras
Available Packages
libxml2.i686 2.7.6-4.el6_2.4 sl-security
Yum info:
You have libxml2.x86_64 2.7.6-5.el6.rfx installed from @rpmforge-extras repo and you need same version of 32-bit libxml2 or you have to downgrade back to libxml2.x86_64 2.7.6-4.el6_2.4.
Thanks! That worked (and I learned a whole lot about RPM version collisions in the process). To avoid breaking dependencies I had to use yum shell so I could remove / reinstall libxml2, libxml2-devel, and libxml2-python in a single transaction (couldn’t get yum downgrade to work), but after that, the Adobe RPM install went perfectly.
@David Moles
Yup, I can’t just do it with:
[[email protected] ~]#yum remove libxml2.x86_64
...
...
--> Finished Dependency Resolution
Error: Trying to remove "yum", which is protected
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[[email protected] ~]#yum install libxml2.i686 --skip-broken
Loaded plugins: fastestmirror, refresh-packagekit, security
Repository google-chrome is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* base: mirrors.hostemo.com
* extras: mirrors.hostemo.com
* rpmforge: mirror.oscc.org.my
* updates: mirrors.hostemo.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package libxml2.i686 0:2.7.6-4.el6_2.4 will be installed
--> Processing Dependency: libz.so.1 for package: libxml2-2.7.6-4.el6_2.4.i686
--> Running transaction check
---> Package zlib.i686 0:1.2.3-27.el6 will be installed
--> Finished Dependency Resolution
Error: Protected multilib versions: libxml2-2.7.6-4.el6_2.4.i686 != libxml2-2.7.6-4.el6.x86_64
You could try running: rpm -Va --nofiles --nodigest
This is kinda silly, but ….could you please show me how to cope with it, with humble syntax?
regards,
After receiving the same error while loading shared libraries: libxml2.so.2 on my Scientific Linux 6.2 x86_64 system, I was able to resolve it with:
# setarch i686 yum install libxml2.i686
Hi,
Thanks for your guide it is really useful.
Just one note: had to install nspluginwrapper (without .i686 as stated in your manual) on Centos 5.8 64bit to make reader work in firefox.
Hi. I am a newbie but I was able to successfully install reader on my Centos machine. But I am getting following error
“Adobe Reader does not need to be run as a privileged user. Please remove ‘sudo’ from the beginning of the command.”
any ideas?
Hi NSS,
How did you tried to start it?
It’s succinct and works, Kudus,
JR,
You are an EPIC MAN.