Вопрос

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