From Fedora Project Wiki

(Created page with '= PackageKit Command Not Found = == Summary == The PackageKit command not found functionality allows command line users to automatically install missing commands, or to suggest ...')
 
No edit summary
Line 1: Line 1:
= PackageKit Command Not Found =
= ''Command Not Found'' di PackageKit =


== Summary ==
== Sommario ==
The PackageKit command not found functionality allows command line users to automatically install missing commands, or to suggest spelling replacements.
La funzionalità ''command not found'' di PackageKit automaticamente inserisce i comandi mancanti, o suggerisce opportune correzioni ai comandi errati.


== Owner ==
== Progettista ==
* Name: [[User:rhughes| Richard Hughes]]
* Nome: [[User:rhughes| Richard Hughes]]
* email: <richard@hughsie.com>
* email: [mailto:richard@hughsie.com richard@hughsie.com]


== Current status ==
== Stato corrente ==
* Targeted release: Fedora12
* Release: [[Releases/12|  Fedora 12]]
* Last updated: 2009-08-07
* Ultimo aggiornamento: visita [[Features/PackageKitCommandNotFound#Current_status | (en-wiki)]]
* Percentage of completion: 100%
* Completato


PackageKit-command-not-found is optional in comps. It is included in the desktop spin.
Tale pacchetto è opzionale. E' incluso invece nelle desktop spin.  


== Detailed Description ==
== Descrizione dettagliata ==
The <code>PackageKit-command-not-found</code> package installs a handler to bash so that missing commands can be installed, or invalid commands can be corrected.
Il pacchetto <code>PackageKit-command-not-found</code> installa in bash un gestore che controlla i comandi immessi, fornendo suggerimenti se sono errati, o inserendoli se sono mancanti.


== Benefit to Fedora ==
== Vantaggi per Fedora ==
This feature will add the same functionality to Fedora as Ubuntu users have had for years.
Questa caratteristica aggiungerà a Fedora la stessa funzionalità presente in Ubuntu da molto tempo.
 
== Scope ==
This is a very small change in comps, so that the <code>PackageKit-command-not-found</code> package gets included in the default package set. It's already available in Fedora 11, but not installed by default.
 
== How To Test ==
* Install <code>PackageKit-command-not-found</code> package using <code>yum install PackageKit-command-not-found</code>
* Restart the terminal, or log out and log in again
* Open a terminal (gnome-terminal works well)
* Type '<code>gedti /boot/grub/grub.conf</code>', and verify output is:
 
<pre>
Command not found. Similar command is: 'gedit'
</pre>
 
* Ensure the powertop package is removed from the system. Then type '<code>powertop</code>', and verify output is:
 
<pre>
Command not found. Install package 'powertop' to provide command 'powertop'? [N/y]
</pre>
 
You can edit system policy by changing the <code>/etc/PackageKit/CommandNotFound.conf</code> 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 <code>PackageKit-command-not-found</code> from comps, and revert back to doing nothing when the command is not found.
 
== Documentation ==
* http://blogs.gnome.org/hughsie/2008/12/05/command-not-found/
* <code>/etc/PackageKit/CommandNotFound.conf</code> has fairly complete usage notes
* There's a screencast here: http://people.freedesktop.org/~hughsient/temp/pk-command-not-found.ogv
 
== Release Notes ==
* PackageKit now provides a command-not-found handler for bash so that missing commands can be installed, or invalid commands can be corrected. To use this functionality, install the PackageKit-command-not-found package.
 
== Comments and Discussion ==
* See [[Talk:Features/PackageKitCommandNotFound]]


== Altre informazioni ==
Per:
* Obbiettivi
* Test Plan
* Esperienza Utente
* Dipendenze
* Progetto corrente
* Documentazione
* Note di rilascio
* Commenti e Discussioni
visitare la en-wiki [[Features/PackageKitCommandNotFound| Features: PackageKitCommandNotFound]].
[[Category:FeatureAcceptedF12]]
[[Category:FeatureAcceptedF12]]



Revision as of 12:02, 25 January 2010

Command Not Found di PackageKit

Sommario

La funzionalità command not found di PackageKit automaticamente inserisce i comandi mancanti, o suggerisce opportune correzioni ai comandi errati.

Progettista

Stato corrente

Tale pacchetto è opzionale. E' incluso invece nelle desktop spin.

Descrizione dettagliata

Il pacchetto PackageKit-command-not-found installa in bash un gestore che controlla i comandi immessi, fornendo suggerimenti se sono errati, o inserendoli se sono mancanti.

Vantaggi per Fedora

Questa caratteristica aggiungerà a Fedora la stessa funzionalità presente in Ubuntu da molto tempo.

Altre informazioni

Per:

  • Obbiettivi
  • Test Plan
  • Esperienza Utente
  • Dipendenze
  • Progetto corrente
  • Documentazione
  • Note di rilascio
  • Commenti e Discussioni

visitare la en-wiki Features: PackageKitCommandNotFound.