Ask Your Question
1

can't find env command on fedora 23

asked 2015-12-29 06:28:41 -0600

panhaipeng gravatar image
    I can't find 'env' command on my Fedora 23 Workstation, and use "dnf search env" also can't find. 
    But I have some shell scripts need this command. Could somebody tell me how to install this command ? Thanks very much.
edit retag flag offensive close merge delete

Comments

To determine what package , use dnf provides. In this case dnf provides '*/env'

bodhi.zazen gravatar imagebodhi.zazen ( 2015-12-29 20:14:16 -0600 )edit

Thank you for tips , I am new bird in fedora :)

panhaipeng gravatar imagepanhaipeng ( 2015-12-30 02:28:55 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
3

answered 2015-12-29 10:09:56 -0600

florian gravatar image

env is part of the GNU coreutils. If you don't have them installed by default (which would surprise me), just run sudo dnf install coreutils.

env will be located in /usr/bin/.

edit flag offensive delete link more

Comments

Thank you for help, and I have install this command successfully now!

panhaipeng gravatar imagepanhaipeng ( 2015-12-30 02:47:20 -0600 )edit

Question Tools

Stats

Asked: 2015-12-29 06:28:41 -0600

Seen: 110 times

Last updated: Dec 29 '15