Ask Your Question

'which' command not found on F22

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

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

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

theonlyandy gravatar image

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

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

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

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


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 -0500 )edit

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

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

Well good to know you make it works

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

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

bitwiseoperator gravatar imagebitwiseoperator ( 2015-08-12 09:32:54 -0500 )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 -0500 )edit

Question Tools


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

Seen: 1,461 times

Last updated: Jun 13 '16