解决ubuntu16.04安装坚果云闪两下打不开问题
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了解决ubuntu16.04安装坚果云闪两下打不开问题,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含2769字,纯文字阅读大概需要4分钟。
内容图文
![解决ubuntu16.04安装坚果云闪两下打不开问题](/upload/InfoBanner/zyjiaocheng/937/f559b892e71147f6b9ad5b03060ca160.jpg)
按照坚果云官网直接用deb或者gdebi的安装方法,安装成功后点击图标,闪了两下,就没有反映了,尝试用源码编译解决问题。现在typora+坚果云在ubuntu16上溜的飞起,之前ubuntu18.04倒是没遇到安装的问题……
直接从源代码编译安装
- 准备构建环境
坚果云Linux客户端依赖于这些包: glib2.0-dev, gtk2.0-dev, libnautilus-extension-dev, gvfs-bin. 如果您已经安装这些软件包,请跳至下一步
如果您的系统是Ubuntu,可以用以下命令安装这些包:
$> sudo apt-get install libglib2.0-dev libgtk2.0-dev libnautilus-extension-dev gvfs-bin python-gi gir1.2-appindicator3-0.1
- 下载Nautilus插件源代码包: nutstore_linux_src_installer.tar.gz
$> wget https://www.jianguoyun.com/static/exe/installer/nutstore_linux_src_installer.tar.gz
- 解压缩,编译和安装Nautilus插件
$> tar zxf nutstore_linux_src_installer.tar.gz
$> cd nutstore_linux_src_installer && ./configure && make
$> sudo make install
- 重启Nautilus
$> nautilus -q
- 运行以下命令,自动下载和安装坚果云其他二进制组件
$> ./runtime_bootstrap
具体过程也可参考源代码包里面的README文件(在nutstore_linux_src_installer/src下),内容为
This is open source part of Nutstore, which is composed of nautilus extension.
How to Build Nutstore Runtime From Source Tarball
--------------------------------------------------
1) Package dependency. You need the following packages (or equivalent):
glib2.0-dev
gtk2.0-dev
gvfs-bin
JRE(java runtime environment)
libnautilus-extension-dev
on ubuntu distribution after 10.04, you can install them as below:
$> sudo apt-get install libnautilus-extension-dev openjdk-8-jre-headless gvfs-bin libgtk2.0-dev python-notify
on fedora core, CentOS or RHEL, you can install them as below:
$> sudo yum nautilus-devel glib2-devel gtk2-devel jre gvfs notify-python
We currently only support **GNOME** and **Unity** desktop.
If you would like to help us port nutstore to other window management system, e.g. KDE, Xfce
you may mail us by contactus@nutstore.net, We are pleased to support you.
All the code developed based on the Nutstore Nautilus Plugin should be redistributed under GPL license.
2) Build the Nautilus Plugin
$> ./configure && make
$> sudo make install
3) Restart Nautilus
$> nautilus -q
4) Fetch th binary distribution package and install it
$> ./runtime_bootstrap
5) Done!
For Gnome desktop, nutstore is on "Applications->Internet->Nutstore" of GNOME application launch panel.
For Unity dekstop, you need logout the current unity session to enable above changes. And then, search "Nutstore" in the application panel.
Special notice only for Arch Linux user:
As nutstore only supports python2 currently, you need to install python2 package manually, and replace the first line of ~/.nutstore/dist/bin/nutstore-pydaemon.py. Unfortunately, you may need to re-do the change everytime that nutstore is upgraded automatically.
from
#!/usr/bin/env python
to
#!/usr/bin/env python2
内容总结
以上是互联网集市为您收集整理的解决ubuntu16.04安装坚果云闪两下打不开问题全部内容,希望文章能够帮你解决解决ubuntu16.04安装坚果云闪两下打不开问题所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。