Skip to content

Foxit PDF SDK for Linux

Foxit PDF SDK for Linux supports multiple programming languages, including C++, C# (.NET Core), Java, JavaScript, Python, Go, and more. Choose the development environment that best fits your project.

Download the SDK

  • Obtain the SDK: Request a trial or download instructions through the Foxit Developer Hub, or contact the Foxit technical support team and sales representatives to get the SDK version suited to your project.
  • .NET integration: In your IDE, search for and install Foxit.SDK.Dotnet through the NuGet package manager for quick integration.
  • Python integration: Use a package manager such as pip to download and install the Python edition of Foxit PDF SDK.
    • Python: pip install FoxitPDFSDKPython3
  • Node.js integration (SDK 11.1+): Install the Node.js library with npm.
    • Node.js: npm i @fuxinsoft/foxit-pdf-sdk-node

Sample projects

See Samples for an overview of the sample projects, dependency information for specific samples, and instructions for running samples from the command line.

Quick start

C/C++Java.NetCore Python Node.js Go

Environment setup

System requirements

  • Linux x86/x64, armv7/armv8
  • Language and framework support on Linux:
LanguageLinux x86Linux x64Linux ARM
C++✔️✔️✔️
Java✔️✔️✔️
Python✔️✔️✔️ armv8
Go✔️✔️
Node.js (v10–22)✔️
.NET Core✔️✔️
.NET Framework
Objective-C
C

GCC compiler on Linux

  • SDK v8.4+: GCC ≥ 4.9.4 or libstdc++.so.6 ≥ 6.0.20
  • SDK v11.0.0+: GCC ≥ 5.4

The following table lists the minimum supported versions for current Foxit PDF SDK for Linux releases:

OSTool chainGLIBC
Linux x86/x64gcc ≥ 5.4GLIBC ≥ 2.17
Linux armv7arm gcc ≥ 8.3GLIBC ≥ 2.28
Linux armv8arm gcc ≥ 8.3GLIBC ≥ 2.27

Package structure

The Foxit PDF SDK Linux package includes the following files and folders:

  • doc: API reference and developer guides.
  • examples: Sample projects organized in subfolders.
    • extensions_demo: Print manager samples; supported by the C++ library only.
    • simple_demo: More than 30 code samples demonstrating PDF features through the API.
    • view_demo: A UI sample that implements a basic PDF viewer; supported by the C++ library only.
    • QT view_demo: A Qt UI sample that implements a basic PDF viewer; supported by the Linux C++ library only.
  • include: Header files for compiled languages such as C/C++.
  • lib: SDK libraries and license files.
  • res: Default ICC profile files required by the output preview sample.