Search code examples
ubuntufilesystemsgradlefuse

E: Unable to locate package gradle


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


Solution

  • 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