installing foxit in ubuntu 12.04- Ancient Trick
HECTIC GEEK
This is the copy of the method published on the above link. I am posting it preserve this method. It took me almost a year to install working Foxit on my system.
Update (06/09/2012): These steps also works under Ubuntu 12.04 too.
1. First, download the official Foxit “.deb” file from this official download page (this issue is with the Foxit version “1.1.0”).
Update: This link doesn’t work anymore, but it’s still available to download. For that please visit this page and then under the ‘Foxit Reader’ sub-heading click on the drop-down menu and choose ‘Desktop Linux’. Then click ‘Free Download’ and from the next pop-up window, under ‘Package Type’ choose ‘Deb’.
This is the copy of the method published on the above link. I am posting it preserve this method. It took me almost a year to install working Foxit on my system.
How to Make Foxit Reader Work in Ubuntu 12.04 & 11.10 Oneiric Ocelot?
Foxit reader is a pretty good alternative PDF reader, if you’re a bit dissatisfied with the default one that comes with Ubuntu called “Evince”. Now few months ago, I wrote a post about how to install it in Ubuntu.
However, back then I used Ubuntu 11.04 Natty Narwhal (as it was the “hot release” those days :D) but thanks to a comment by “Nidhi” in that post I just realized that it doesn’t seem to work in Ubuntu 11.10 Oneiric Ocelot. I don’t know why, but for some reason, when you double click on the “.deb” file of Foxit in Ubuntu 11.10, Ubuntu Software Center, although the progress bar shows a 100% completion yet it doesn’t seem to get installed properly at all.
Now by default, after successfully installing a package, the “Install” button in Ubuntu Software Center should change into “Reinstall”, indicating that the app has successfully installed. But even after installing the Foxit (again, after the progress bar showing a 100% completion), that button still says “Install”, which is an indication that the installation was performed partially (if not installed at all).
So, after the installation, if you search in the Unity’s Dash for “foxit”, it’ll even display the program’s icon … however, when you click on it, noting happens, because the main Foxit executable file (more below) is missing due to the partial installation.
But the thing is, it can be easily fixed. So before going into further details, let’s do it.
Update 2015-August: The above link is also now gone!. But fear not, it’s still on the official Foxit mirror. You can download it from here (make sure to make a backup of it, who knows, Foxit might delete it too in the future).
2. Once the download finishes, double click on the file. It should open Ubuntu Software Center and then click on the “Install” button to install it.
As said before, just don’t worry about the “Install” button not changing into “Reinstall”. After the installation, close the Ubuntu Software Center (but make sure to click on the “Install” button at least once and the progress bar shows a 100% completion, so it has installed it, even if it’s partial).
3. Now go to the downloaded Foxit “.deb” file’s location and right click on it.
From the menu choose, “Open with Archive Manager”, as shown below.
This should open-up the file in the Archive manager and should display the actual content of the file as shown below (this is because a “.deb” file is sort of a file archive format).
4. Now double click on the folder called “usr” which should open the content of that folder.
Then from the next window (shown below), again double click on the file called “bin”.
Once inside that “bin” folder, you’ll see a file called “FoxitReader”. This is the main execution file of Foxit reader itself, and is also the one that doesn’t get copied/installed into HDD for some reason. What we’re going to do is quite simple. We’re gonna manually copy this file to the default location (“/usr/bin”) in your HDD which should solve our problem.
5. Now, select that file, and right click on it. From the menu choose “Extract”.
You can extract this to anywhere, but to keep things simple, please extract the file into your “Home” folder.
6. Once that’s done, open your Terminal window and simply issue the below command.
sudo cp FoxitReader /usr/bin
After that’s done, simply search for “foxit” in Unity’s Dash (or in Nautilus context menu after selecting a PDF file), and click on its icon, and voila!, now it should open the Foxit reader as it’s supposed to (shown below). That’s it!.