If you chose the Rails box template, you can skip this. You can probably start right out on Section 1.2.3 of Chapter 1.
Installing lib without sudo (13: Permission denied)
-
23-06-2023 - |
質問
I am trying to follow the HARTL tutorial on nitrous.io, trying to install libraries I get the error....
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
When I try to enter...
apt-get install libxslt-dev libxml2-dev libsqlite3-dev
How can I run this command without root? I saw some reference to this issue here... Install libraries on nitrous.io however, I don't understand how prefixing works. I tried to run....
/home/action apt-get install libxslt-dev libxml2-dev libsqlite3-dev
But, get the error...
-bash: /home/action: Is a directory
Thank you.
解決
他のヒント
apt
(or dpkg
, in general) cannot install packages into some user-provided path; packages installed into system paths specified within them.
Link you referred to addresses configure
, as it accepts --prefix
argument. It have nothing to do with apt. configure
usually used to build software from sources.
所属していません StackOverflow