在Linux下用Firefox不能直接打開pdf文檔,如何才能在Firefox中直接打開呢,如下步驟將告訴你如何處理這個問題。
通用Linux方法:到
http://ardownload.adobe.com/pub/adobe/reader/unix/7x/7.0.9/enu/AdobeReader_enu-7.0.9-1.i386.tar.gz
下載AdobeReader 7.0.9(雖然版本不是最新,但是還是夠用的)的英文版本的安裝包,下載之後將其解壓到桌面上AdobeReader文件夾內,打開文件夾,找到INSTALL文件,右鍵>屬性>權限,選擇“允許以程序執行文件”,然後確定即可。
打開終端,輸入cd /home/hao/桌面/AdobeReader(hao是本人的用戶名,這裡你要改成你自己的用戶名),再輸入 su ./INSTALL(注意大小寫,不可寫錯,如果是Ubuntu Linux的話,要輸入sudo ./INSTALL),接著輸入密碼,然後出現如下語句:
This installation requires 111 MB of free disk space.
Enter installation directory for Adobe Reader 7.0.9 [/usr/local/Adobe/Acrobat7.0]
此時直接回車就可以了,過一會兒出現如下語句:
/usr/local/Adobe/Acrobat7.0
Installing platform independent files ... Done
Installing platform dependent files ... Done
Do you want to install the browser plugin ? [y/n]
此時輸入一個y然後回車就 可以了,回車之後又出現如下語句:
This will install the browser plugin for acroread.
Do you want to perform automatic installation ? [y/n]
此時再輸入一個y,回車,然後出現如下語句:
Trying to install plugin for browser - Firefox
Installing plugin in /usr/lib/Firefox-3.5.5/Firefox.sh
The plugin seems to be already installed. Are you sure you want to overwrite ? [y/n]
此時再輸入一個y,回車,然後出現如下語句: