LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-25-2016, 09:02 PM   #1
ECloud3
LQ Newbie
 
Registered: May 2016
Posts: 4

Rep: Reputation: Disabled
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!
 
Old 05-26-2016, 08:34 AM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Install which

https://apps.fedoraproject.org/packages/which
 
Old 05-26-2016, 07:16 PM   #3
ECloud3
LQ Newbie
 
Registered: May 2016
Posts: 4

Original Poster
Rep: Reputation: Disabled
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!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] complete noob question. "command not found" "command not found" jeanlucpicard Linux - Newbie 4 08-27-2013 02:14 AM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM
Installing package: "dpkg: command not found" ebonk Debian 1 05-06-2007 03:10 PM
Installing new video card "modconf: command not found" Stimz Linux - Newbie 1 03-17-2004 03:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration