문제

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.

도움이 되었습니까?

해결책

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.

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top