Ask Your Question

terminal correcting typos and suggesting packages for installation

asked 2016-11-02 05:09:35 -0600

fedoramonsecond gravatar image

updated 2016-11-15 05:34:13 -0600

Hi, I don't remember how (maybe I was running a Fedora spin like Korora/Chapeau) but I clearly remember that if typing something slightly wrong as an argument for the command 'dnf install' dnf was able to suggest me packages with similar names and most of the time the right one. It's not happening anymore, I'm on F25. Please, any suggestion? Thanks :)

EDIT: It wasn't "DNF install" that brought up the terminal suggestion.. but instead any mispelled command (and it appears to be a function of bash). So my original question was very wrong, sorry all for the confusion. See below comments for better understanding. Thanks

edit retag flag offensive close merge delete


I don't remember ever having dnf suggest packages like that. It doesn't do it on F24.

ssieb gravatar imagessieb ( 2016-11-03 13:33:06 -0600 )edit

I'll let you know when trying again Chapeau/Korora and doing further investigation

fedoramonsecond gravatar imagefedoramonsecond ( 2016-11-04 06:54:33 -0600 )edit

I just found out it's not dnf suggesting it but gnome terminal, or should I say bash? when I trype a command that doesn't exist it suggests me to install a similar named package! I like it.. is it because of bash?

fedoramonsecond gravatar imagefedoramonsecond ( 2016-11-04 07:01:53 -0600 )edit

Please update the question.

ssieb gravatar imagessieb ( 2016-11-04 13:24:56 -0600 )edit

I'll do it right away, please is "terminal correcting typos and sugges-ing packages for installation" correct in your opinion? Or instead of terminal should I specify "gnome-terminal"? I'm actually not sure who's responsible for those nice suggestions :)

fedoramonsecond gravatar imagefedoramonsecond ( 2016-11-07 22:40:16 -0600 )edit

3 Answers

Sort by ยป oldest newest most voted

answered 2016-11-15 05:33:41 -0600

fedoramonsecond gravatar image

When using a mispelled command in the terminal bash produces a suggestion for installing a similarly spelled program/command

edit flag offensive delete link more

answered 2016-11-04 13:25:27 -0600

ssieb gravatar image

You're probably looking for PackageKit-command-not-found.

edit flag offensive delete link more

answered 2016-11-02 06:08:41 -0600

TWTOoth gravatar image

the command to search packages related to your requirement

$ dnf search (package name) | grep (any specific part)

fedora 25 is not stable stable version is yet to be released a list with the available packages and a brief summary about it is given

choose what you need and dnf install it :) i hope this helps you

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-11-02 05:09:35 -0600

Seen: 185 times

Last updated: Nov 15 '16