I am attempting to add a feature in my app that will allow users to download the pdf version of their homepage. However, to do that, I need to install a package for flask called wkhtmltopdf
. In order to install it, I need to run apt-get install wkhtmltopdf
in the console. However, when I run that command, I receive the error:
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
Is there any way to work around this problem? Thank you.