首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装kite autocomple软件时在ubuntu中出现错误

安装kite autocomple软件时在ubuntu中出现错误
EN

Stack Overflow用户
提问于 2020-08-17 19:49:35
回答 2查看 1.1K关注 0票数 2

在ubuntu中安装kite时出现此错误

代码语言:javascript
复制
sunbeam@rishi:~--> bash -c "$(wget -q -O - https://linux.kite.com/dls/linux/current)"

This script will install Kite!

We hope you enjoy! If you run into any issues, please report them at https://github.com/kiteco/issue-tracker.

- The Kite Team

Press enter to continue...

Checking to see if all dependencies are installed....

Did not find libXScrnSaver on your system. We can install it now or you can install and re-run this script
Install it now? (you might be asked for your sudo password) [Y/n] y
[sudo] password for sunbeam: 
There are no enabled repos.
 Run "yum repolist all" to see the repos you have.
 You can enable repos with yum-config-manager --enable <repo>

我如何解决这个错误,因为我正在使用ubuntu,并且我尝试了一些来自stackoverflow的其他方法,但仍然出现错误

EN

回答 2

Stack Overflow用户

发布于 2020-08-17 19:55:30

显然,这是一个已知的问题;详细信息/建议的解决方案在此处:https://help.kite.com/article/106-linux-install-issues

找不到libXScrnSaver您可能还会看到一条消息,告诉您没有已启用的repos。可以通过运行以下终端命令来解决此问题:

代码语言:javascript
复制
sudo apt-get install -y libxss1
wget -O kite-installer https://linux.kite.com/dls/linux/current
bash kite-installer --download
bash kite-installer --install
票数 3
EN

Stack Overflow用户

发布于 2021-01-08 01:02:06

https://www.dropbox.com/s/lcdheyto0hqln77/kite-installer.sh?dl=0下载kite-installer.sh

然后从kite-installer.sh中删除以下粗体行

代码语言:javascript
复制
if command -v yum >/dev/null 2>&1; then
        if ! yum list installed libXScrnSaver &> /dev/null; then
            echo "Did not find libXScrnSaver on your system. We can install it now or you can install and re-run this script"
            read -r -e -p "Install it now? (you might be asked for your sudo password) [Y/n] " INSTALL
            INSTALL=${INSTALL:-Y}
            if [[ $INSTALL == "Y" || $INSTALL == "y" ]]; then
                sudo yum install -y -q libXScrnSaver
            else
                echo "Please run 'sudo yum install libXScrnSaver' and rerun this script! Exiting now."
                exit 15
            fi
fi

然后更正下一行,如下所示

代码语言:javascript
复制
elif command -v zypper >/dev/null 2>&1; then **---->into---->** if command -v zypper >/dev/null 2>&1; then

现在保存文件,在终端窗口中运行以下命令(打开保存kite-installer.sh的终端窗口)

代码语言:javascript
复制
chmod +x kite-installer.sh
./kite-installer.sh
票数 -2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/63450199

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档