Foxit PDF Reader is a free multi-platform PDF reader for Linux, macOS, and Windows. The PDF reader is a small, fast, and feature-rich PDF Reader to view, annotate, form-fill, and sign PDF documents. PDF Reader easily integrates with popular ECMs and cloud storage.
At the end of the tutorial, you will know how to install Foxit PDF Reader on AlmaLinux 8.
- Recommended OS: AlmaLinux 8.
- User account: A user account with sudo privilages or root access (su command).
Updating Operating System
Update your AlmaLinux operating system to make sure all existing packages are up to date:
sudo dnf update && sudo dnf upgrade -y
The tutorial will be using the sudo command and assuming you have sudo status. To verify sudo status on your account:
Example output showing sudo status:
[joshua@localhost ~]$ sudo whoami root
If you have not set up a sudo user account and would like to, visit our tutorial on How to Add a User to Sudoers on AlmaLinux.
To use the root account, use the following command with the root password to log in.
Download Foxit Reader
Next, visit the download page and choose Linux 64bit or 32bit. Alternatively, you can use the wget command to download the file.
sudo wget http://cdn01.foxitsoftware.com/pub/foxit/reader/desktop/linux/2.x/2.4/en_us/FoxitReader.enu.setup.2.4.4.0911.x32.run.tar.gz
sudo wget http://cdn01.foxitsoftware.com/pub/foxit/reader/desktop/linux/2.x/2.4/en_us/FoxitReader.enu.setup.2.4.4.0911.x64.run.tar.gz
Install Foxit Reader
Once downloaded, open your terminal and navigate to the directory you downloaded the Foxit Reader archive. If you download directly from the site skipping the wget command, in most cases, this will be in your download directory.
Next, extract the zip archive with the following command.
sudo tar xzvf FoxitReader*.tar.gz
You must set permissions for the extracted file to run. Set the permissions with the following.
sudo chmod a+x FoxitReader*.run
To successfully install Foxit, you will need to disable access control or get the error “QXcbConnection: Could not connect to display :0”.
access control disabled, clients can connect from any host
Now execute the install command for Foxit. This will bring up the install UI window.
A pop-up UI installation wizard will pop up unless needed leave the default install path.
The default path should be acceptable for most users. If you need to specify an alternative path, set it here now.
Next, you will come to the license agreements, accept them to continue the installation.
After a few moments, Foxit PDF Reader will be installed, and you will see the notification along with confirmation of the installation path. Click Finish to exit the installer.
Congratulations, you have installed Foxit PDF Reader on AlmaLinux 8.
How to Launch Foxit PDF Reader
With the installation complete, you can run Foxit in a few different ways.
First, while you are in your terminal, you can use the following command:
Alternatively, run the FoxitReader & command in the background to free up the terminal:
However, this isn’t practical, and you would use the following path on your desktop to open with the path: Activities > Show Applications > Foxit Reader. If you cannot find it, use the search function in the Show Applications menu if you have many applications installed.
Once launched, you will receive a prompt to set Foxit as the default PDF reader and to dismiss or keep the reminder message for it, make your selection and continue to the application.
Next, you will arrive at the PDF application landing screen.
Comments and Conclusion
In the tutorial, you have downloaded and installed the Foxit PDF reader. It’s a great alternative to the default AlmaLinux PDF viewer. Foxit has a good track record of bug fixing, improvements, and security and should be worth looking for anyone who deals with PDF files.