如何解决安装风筝自动完成软件时,在ubuntu中出现错误
在ubuntu中安装风筝时出现此错误
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的其他方法,但仍然给出错误
解决方法
显然这是一个已知问题;此处的详细信息/建议的解决方案:https://help.kite.com/article/106-linux-install-issues
找不到libXScrnSaver您可能还会看到一条消息,告诉您那里 没有启用的回购。可以通过运行 以下终端命令:
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
,
从kite-installer.sh
下载https://www.dropbox.com/s/lcdheyto0hqln77/kite-installer.sh?dl=0
然后从 kite-installer.sh
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
然后将下一行更正如下
elif command -v zypper >/dev/null 2>&1; then **---->into---->** if command -v zypper >/dev/null 2>&1; then
现在保存文件
在终端窗口中运行以下命令(打开保存 kite-installer.sh
的终端窗口)
chmod +x kite-installer.sh
./kite-installer.sh
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。