How to Install Foxit PDF Reader on Rocky Linux 8

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 Rocky Linux 8.


  • Recommended OS: Rocky Linux 8.+.
  • User account: A user account with sudo or root access.

Update Operating System

Update your Rocky Linux operating system to make sure all existing packages are up to date:

sudo dnf upgrade --refresh -y

The tutorial will be using the sudo command and assuming you have sudo status. To verify sudo status on your account:

sudo whoami

Example output showing sudo status:

[joshua@rockylinux ~]$ sudo whoami

To set up an existing or new sudo account, visit our tutorial on How to Add a User to Sudoers on Rocky Linux.

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.

32bit version:


64bit version:


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.

cd ~/Downloads

Next, extract the zip archive with the following command.

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 on Rocky Linux 8, you will need to disable access control or get the error “QXcbConnection: Could not connect to display :0”.

xhost +

Example output:

access control disabled, clients can connect from any host

Now execute the install command for Foxit. This will bring up the install UI window.

sudo ./FoxitReader*.run

A pop-up UI installation wizard will pop up unless needed leave the default install path.


How to Install Foxit PDF Reader on Rocky Linux 8

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.


How to Install Foxit PDF Reader on Rocky Linux 8

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.

How to Install Foxit PDF Reader on Rocky Linux 8

Congratulations, you have installed Foxit PDF Reader on Rocky Linux 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:

FoxitReader &

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.


How to Install Foxit PDF Reader on Rocky Linux 8

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.


How to Install Foxit PDF Reader on Rocky Linux 8

Next, you will arrive at the PDF application landing screen.


How to Install Foxit PDF Reader on Rocky Linux 8

Comments and Conclusion

In the tutorial, you have downloaded and installed the Foxit PDF reader. It’s a great alternative to the default Rocky Linux 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.


Like to get automatic updates? Follow us on one of our social media accounts!