Installing GNU gettext in App Platform (Django)

Posted October 24, 2021 122 views
DjangoDigitalOcean App Platform

I can’t install GNU gettext in App platform as it requires SUDO permisssion

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.

Submit an Answer
1 answer

Hey there!

The console in app platform does not have sudo permissions and is limited on what commands can be run. I’d recommend you look at building this application as a Dockerfile build instead. This would allow you to then install GNU gettext during the build/deploy process.

Creating an App Platform App :: Docker Dev Guide and Sample Apps

Hope it helps!