在nitroous.io上安装库 [英] Install libraries on nitrous.io

查看:61
本文介绍了在nitroous.io上安装库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要安装geos,但是不能使用sudo运行sudo apt-get install libgeos-dev.我可以下载源文件tar,但是运行./configure时不需要调整--prefix选项吗?

I need to install geos, but can't use sudo to run sudo apt-get install libgeos-dev. I can download the source tar file, but don't I need to adjust the --prefix option when I run ./configure?

我需要将前缀调整为什么?

What do I need to adjust the prefix to?

推荐答案

您肯定需要设置前缀,因为您无权访问系统.您可以使用$ HOME作为前缀,或者使用/home/action(如果愿意)...您可以在用户的​​主目录中执行任何操作:)

You will need to set the prefix, for sure, since you don't have access to the system. You can use $HOME as prefix, or /home/action if you prefer... you can do anything inside user's home directory :)

这篇关于在nitroous.io上安装库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆