Hello Opalstack community:
I was wondering what are the guidelines to "install" libraries in the OS.
I'm migrating a Django site from WF and it uses PDF libraries that require some extra steps.
In WF, there is a bin folder to place files to run detect and run the libraries. The steps there were the following:
Library WKHTMLTOPDF
Download the package:
wget downloads.wkhtmltopdf.org/0.12/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
Then, extract. The result is a folder called wkhtmltox. This folder was moved inside the bin folder in my app.
I checked that the install was correct by verifying the path using which wkhtmltopdf
Library PDFTK
For this library, the following commands were executed:
cd ~
wget linuxglobal.com/static/blog/pdftk-2.02-1.el7.x86_64.rpm
rpm2cpio pdftk-2.02-1.el7.x86_64.rpm | cpio -idmv
export LD_LIBRARY_PATH=$HOME/usr/lib64
export PATH=$HOME/usr/bin:$PATH
What would be the equivalent of these steps (in both cases) in order to get the libraries working for my project?
Thanks in advance.