Pregunta

I am trying to run example filesystem of fuse-jna (https://github.com/EtiennePerot/fuse-jna) . but it ask me to install gradle

syed@ubuntu:~/Downloads/fuse-jna-master/examples$ ./hellofs.sh ~/hellofs
gradle not found in $PATH. Please install gradle.

I have ubuntu 12 and I tried to install Gradle via sudo apt-get install gradle but I got the error

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

Please guide me how to solve the issue

¿Fue útil?

Solución

thanks for the answers.

I have installed gradle by

sudo add-apt-repository ppa:cwchien/gradle
sudo apt-get update
sudo apt-get install gradle

source: https://askubuntu.com/questions/328178/gradle-in-13-04-ubuntu-launchpad-build

Otros consejos

Try http://gvmtool.net/. I'm using it on linux + mac.

It works very smoothly (not only for gradle), easy to switch versions, etc...

Is universe enabled on your system's apt system? The gradle package is in there:

$ apt-cache show gradle
Package: gradle
Priority: optional
Section: universe/java
...
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top