You are on page 1of 2

Installing the ABBYY FineReader Engine Library

Using the self-extracting archive


To install ABBYY FineReader Engine 12, run the self-extracting archive file: FREngine-Linux-
x86_64-12.2.27.2249.sh.
For the correct operation of the library, you need to set the environment variable
LD_LIBRARY_PATH to the full path to Bin folder of the distribution pack. Alternatively, use
ldconfig utility to specify the path to Bin folder. A command line can look like this:
echo "<path to Bin folder>" | sudo tee -a /etc/ld.so.conf; sudo ldconfig
Before starting to use the library, you will need to activate your license. The ABBYY FineReader
Engine 12 for Linux uses the Activation utility (activatefre.sh) to activate a license and view the
already activated licenses. This utility must be run under root. To view license properties, choose
the "Manage licenses" option in the same utility.
To deinstall FineReader Engine library, run Scripts/uninstallfre.sh under root.

Using the RPM package


You can also install FineReader Engine library using the RPM package FREngine-12.2.27-
2249.x86_64.rpm.
The package installation can be performed from command line. The following command will
install the library into the default folder /opt/ABBYY/FREngine12:
# rpm -i FREngine-12.2.27-2249.x86_64.rpm
Use the --prefix option if you need to install the library into a different folder:
# rpm -i –-prefix=<path> FREngine-12.2.27-2249.x86_64.rpm
After installation run the activatefre.sh script to install the licensing service and activate your
license.
To deinstall the library installed in this way:
1 Run Scripts/uninstallfre.sh under root.
2 Remove the package:
3 # rpm -e FREngine-12.2.27-2249.x86_64
4 You can check the package name in the list of all installed RPM packages:
5 rpm -qa|grep FREngine

6 Compiling applications which use ABBYY FineReader


Engine 12 for Linux
7 To link an executable, you do not need to pass the full list of FineReader Engine
dynamic libraries to the compiler. Only the following options should be listed:
• -lFREngine -lFineObj -lPortLayer
these options specify the main libraries: lib.FREngine.so and, if your application uses
any of the event-handling callbacks from the FineReader Engine API, also libFineObj.so
and libPortLayer.so;
• -Wl,-rpath-link FREngineBinariesDir
this string, with FREngineBinariesDir set to the path to the Bin folder in the installation
root, specifies where all other FineReader Engine libraries are to be found.

You might also like