[英]Installing emacs on remote machine with limited permissions
I am trying to install emacs on my profile in the remote machine (I am not in the sudoers list). 我正在尝试在远程计算机上的个人资料上安装emacs(我不在sudoers列表中)。 I downloaded the tar file and unzipped it, ran
./configure
and then did make
. 我下载了tar文件并将其解压缩,运行
./configure
,然后进行了make
。 When I do make install
, it needs permissions to access /usr/local/share/emacs which I don't have. 当我
make install
,它需要访问我没有的/ usr / local / share / emacs的权限。 I was wondering if there exists an alternative way to install emacs. 我想知道是否存在另一种安装emacs的方法。
I cannot run apt-get install
as I do not have admin permissions on the remote machine. 我没有远程计算机的管理员权限,因此无法运行
apt-get install
。
You need the --prefix
argument to ./configure
. 您需要
./configure
的--prefix
参数。 Like ./configure --prefix=/home/YOU/local/emacs
or whatever path makes sense that you have write access to. 像
./configure --prefix=/home/YOU/local/emacs
或者任何对您具有写权限的路径都有意义。 Then run make and make install. 然后运行make和make install。 Run
./configure --help
for more information. 运行
./configure --help
以获得更多信息。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.