Ask Your Question
2

'which' command not found on F22

asked 2015-08-10 09:34:26 -0600

theonlyandy gravatar image

I just ran into the following error message:

ERROR: Could not find 'which' command

Why is this basic command missing in F22, and how do I install it?

Thanks guys

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2016-06-13 08:10:10 -0600

theonlyandy gravatar image

updated 2016-06-13 08:14:13 -0600

The which package already comes with Fedora 22, as expected.

However, if it's not working you can try with

sudo dnf reinstall which

This fixed my problem.

edit flag offensive delete link more
2

answered 2015-08-10 09:39:50 -0600

aeperezt gravatar image

You can install which by doing:

sudo dnf install which

Are you runing live DVD version?

edit flag offensive delete link more

Comments

I tried that, and dnf is skipping it, because it claims it's already installed. Mabye some path is missing? I'm not using the live DVD version.

theonlyandy gravatar imagetheonlyandy ( 2015-08-10 09:44:46 -0600 )edit
1

Ah shit, a reinstall fixed it. Sorry I'm maybe too fast asking questions here.

theonlyandy gravatar imagetheonlyandy ( 2015-08-10 09:45:34 -0600 )edit

Well good to know you make it works

aeperezt gravatar imageaeperezt ( 2015-08-10 09:55:29 -0600 )edit

Don't forget to accept @aeperezt's answer!

bitwiseoperator gravatar imagebitwiseoperator ( 2015-08-12 09:32:54 -0600 )edit

@bitwiseoperator is that answer really an answer, it would not have worked in my case

theonlyandy gravatar imagetheonlyandy ( 2016-06-13 08:08:42 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2015-08-10 09:34:26 -0600

Seen: 1,181 times

Last updated: Jun 13 '16