Adobe Reader

From Gentoo Linux Wiki

(Redirected from HOWTO Ebooks)
Jump to: navigation, search

Contents

[edit] Installing

To install Adobe Acrobat Reader, emerge app-text/acroread:

emerge -av acroread

This should install the program. You can then run it from the command line with the following command.

acroread

[edit] Enable Adobe Acrobat Reader 7 with DRM

This section will describe reading e-books from Amazon in Linux using the Microsoft Windows version of Adobe Acrobat Reader 7 and CrossOver Office.

Note: Since the latest version of Adobe Reader is Version 8 at the time of this edit, this section is mostly deprecated.

[edit] Environment Setup

The first order of business is to set up an environment for Adobe Reader to operate in.

emerge crossover-office-pro-bin
  • Install Internet Explorer 6 under a Microsoft Windows 2000 bottle (skip the DCOM installation!). See HOWTO Install Internet Explorer 6 SP1
  • Install Microsoft Internet Explorer 6 under a Microsoft Windows 98 bottle.
  • Copy all new Microsoft Windows 98 system DLLs to Win2k setup
cp -u ~/.cxoffice/win98/drive_c/Windows/System/* ~/.cxoffice/win2000/drive_c/Windows/System/
  • Reinstall Microsoft Internet Explorer 6 under the Microsoft Windows 2000 bottle, see step 2.

[edit] Installing Adobe Reader 7

  • Download Adobe Reader Full Installation for Microsoft Windows 2000/XP from Adobe's Website. Install to default and follow instructions.
  • Obtain activation key from Adobe DRM Activation. Save this on your local disk to something like SNXXXXX.edn
  • Activate Adobe Reader with DRM
/opt/cxoffice/bin/wine --bottle win2000 ~/.cxoffice/win2000/drive_c/Program\ Files/Adobe/Acrobat\ 7.0/Reader/AcroRd32.exe ~/SNXXXXX.edn
  • Restart Acrobat Reader when finished activation.

[edit] Installing e-books

To install e-books, use this command:

/opt/cxoffice/bin/wine --bottle win2000 ~/.cxoffice/win2000/drive_c/Program\ Files/Adobe/Acrobat\ 7.0/Reader/AcroRd32.exe ~/ebx.edt

[edit] Enabling Acroread as a web browser plugin

If you would like to view PDF files in your favorite web browser, read through the following sections.

[edit] Install Acroread with nsplugin Flag

Make sure you have nsplugin set in your /etc/portage/package.use file.

app-text/acroread nsplugin

Then, emerge app-text/acroread.

emerge -av acroread

Make sure it says +nsplugin not -nsplugin in the emerge prompt.

Code: emerge -av acroread
 These are the packages that I would merge, in order:
 
 Calculating dependencies ...done!
 [ebuild   R   ] app-text/acroread-7.0.1.1  +ldap '''+nsplugin''' 0 kB 
 
 Total size of downloads: 0 kB

If you have problems with the PDF being displayed correctly, run acroread and change the DPI setting in the preferences.

[edit] Acrobat Reader External Links

Personal tools