Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linux 如何以非sudoer身份在远程服务器上安装Neovim?_Linux - Fatal编程技术网

Linux 如何以非sudoer身份在远程服务器上安装Neovim?

Linux 如何以非sudoer身份在远程服务器上安装Neovim?,linux,Linux,如果我不是远程服务器的开发者,我想知道是否可以安装Neovim。以下是服务器版本: $ cat /etc/*-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=14.04 DISTRIB_CODENAME=trusty DISTRIB_DESCRIPTION="Ubuntu 14.04.4 LTS" NAME="Ubuntu" VERSION="14.04.4 LTS, Trusty Tahr" ID=ubuntu ID_LIKE=debian PRETTY_N

如果我不是远程服务器的开发者,我想知道是否可以安装Neovim。以下是服务器版本:

$ cat /etc/*-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.4 LTS"
NAME="Ubuntu"
VERSION="14.04.4 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.4 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"

如果您只想安装一个程序,那么这可能有点过分,但是您可以使用它来安装大多数没有root的命令行软件。它在主文件夹中使用基于Arch的Linux发行版

另一种方法是从源代码构建Neovim,并将
前缀设置为具有写访问权限的文件夹()。但这需要您的远程服务器安装所有依赖项+CMake