Question

How to install qpdf on a DO app

I have a D.O. app which is currently running that I need to install qpdf on. Given that there is no root access or sudo privileges available on the app, how do I install qpdf?


Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
March 28, 2022

Hello,

Indeed, if you’re using buildpacks with App Platform, apt commands are not supported, though we plan to offer a method to do this in the future.

A workaround is to build and deploy using a Dockerfile:

https://docs.digitalocean.com/products/app-platform/languages-frameworks/docker/

That way you can specify the exact packages that you would like to be installed in your Dockerfile directly.

Hope that this helps!

Best,

Bobby