Features/PackageKitCommandNotFound

From FedoraProject

Jump to: navigation, search

Contents

PackageKit Command Not Found

Summary

The PackageKit command not found functionality allows command line users to automatically install missing commands, or to suggest spelling replacements.

Owner

Current status

PackageKit-command-not-found is optional in comps. It is included in the desktop spin.

Detailed Description

The PackageKit-command-not-found package installs a handler to bash so that missing commands can be installed, or invalid commands can be corrected.

Benefit to Fedora

This feature will add the same functionality to Fedora as Ubuntu users have had for years.

Scope

This is a very small change in comps, so that the PackageKit-command-not-found package gets included in the default package set. It's already available in Fedora 11, but not installed by default.

How To Test

Command not found. Similar command is: 'gedit'
Command not found. Install package 'powertop' to provide command 'powertop'? [N/y]

You can edit system policy by changing the /etc/PackageKit/CommandNotFound.conf file.

User Experience

New users can get the package installed automatically when trying to use a new command. Experienced users can get spelling mistakes in commands automatically fixed.

Dependencies

PackageKit 0.4.x (already in F11)

Contingency Plan

Drop PackageKit-command-not-found from comps, and revert back to doing nothing when the command is not found.

Documentation

Release Notes

Comments and Discussion