我正在尝试运行fuse-jna(https://github.com/EtiennePerot/fuse-jna)的示例文件系统。但是它要我安装gradle
syed@ubuntu:~/Downloads/fuse-jna-master/examples$ ./hellofs.sh ~/hellofs
gradle not found in $PATH. Please install gradle.
我有ubuntu 12,我试图通过sudo apt-get install gradle
安装Gradle,但我收到了错误
E: Unable to locate package gradle
syed@ubuntu:~/Downloads/fuse-jna-master/examples$ sudo apt-get install gradle
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package gradle
请指导我如何解决问题
答案 0 :(得分:3)
感谢您的回答。
我已经安装了gradle
sudo add-apt-repository ppa:cwchien/gradle
sudo apt-get update
sudo apt-get install gradle
来源:https://askubuntu.com/questions/328178/gradle-in-13-04-ubuntu-launchpad-build
答案 1 :(得分:0)
试试http://gvmtool.net/。我在linux + mac上使用它。
它非常流畅(不仅适用于gradle),易于切换版本等......
答案 2 :(得分:0)
您的系统的apt系统是否启用了Universe? gradle包在那里:
$ apt-cache show gradle
Package: gradle
Priority: optional
Section: universe/java
...