LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Installing android studio Fedora 23: "which: command not found" (https://www.linuxquestions.org/questions/linux-software-2/installing-android-studio-fedora-23-which-command-not-found-4175580718/)

ECloud3 05-25-2016 09:02 PM

Installing android studio Fedora 23: "which: command not found"
 
I followed directions here: https://developer.android.com/studio/install.html to install android studio and I put the android-studio folder in my /usr/local/ directory.

But when I run ./studio.sh from /usr/bin/android-studio/bin I get the following output:


emerson:/usr/local/android-studio/bin$ ./studio.sh
./studio.sh: line 24: which: command not found
./studio.sh: line 25: which: command not found
./studio.sh: line 27: which: command not found
./studio.sh: line 28: which: command not found
./studio.sh: line 29: which: command not found
./studio.sh: line 30: which: command not found
./studio.sh: line 31: which: command not found
./studio.sh: line 32: which: command not found
./studio.sh: line 33: which: command not found
./studio.sh: line 34: which: command not found
./studio.sh: line 11: which: command not found
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.


If it's beneficial:

emerson:/usr/local/android-studio/bin$ java -version
openjdk version "1.8.0_91"
OpenJDK Runtime Environment (build 1.8.0_91-b14)
OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode)

emerson:/usr/local/android-studio/bin$ javac -version
javac 1.8.0_91


I scoured the internet the best I could to no avail.

Thanks for the help!

keefaz 05-26-2016 08:34 AM

Install which :)

https://apps.fedoraproject.org/packages/which

ECloud3 05-26-2016 07:16 PM

You sir are a wizard. Thanks that did it. When I typed


sudo dnf install which


it said the package was already installed so I just did a good ole


sudo dnf reinstall which


and that did it!


All times are GMT -5. The time now is 08:49 AM.