command not found – packagekit plugin

2010-05-27 0 min read Fedora Linux
\"Example
Image via Wikipedia

If you run into problems where you run some command and the command is not found and you have to install it and run the program again then why not use the command not found <a class="zem_slink freebase/en/plugin" title="Plug-in (computing)" rel="wikipedia" href="http://en.wikipedia.org/wiki/Plug-in_%28computing%29">plugin for Packagekit. Here is the description:

A simple helper that offers to install new packages on the <a class="zem_slink freebase/en/command_line_interface" title="Command-line interface" rel="wikipedia" href="http://en.wikipedia.org/wiki/Command-line_interface">command line using <a class="zem_slink freebase/en/packagekit" title="PackageKit" rel="homepage" href="http://www.packagekit.org/">PackageKit.URL

You can install this with the command:

sudo yum install PackageKit-command-not-found.i686

Example:

amit@localhost> sl
Command not found. Install package &#8217;sl&#8217; to provide command &#8217;sl&#8217;? [N/y] y

  • Running..
  • Resolving dependencies..
  • Waiting for authentication..
  • Resolving dependencies..
  • Downloading packages..
  • Checking signatures..
  • Testing changes..
  • Installing packages..
  • Scanning <a class="zem_slink freebase/en/application_software" title="Application software" rel="wikipedia" href="http://en.wikipedia.org/wiki/Application_software">applications..<h6 class="zemanta-related-title">Related articles by Zemanta <ul class="zemanta-article-ul"> <li class="zemanta-article-ul-li"><a href="http://teabreak.pk/how-to-kill-a-windows-process-task-from-command-line-98/33523/">How to kill a Windows process/task from command-line? (teabreak.pk)
  • <li class="zemanta-article-ul-li"><a href="http://www.ghacks.net/2010/02/21/install-perl-modules-using-cpan/">Install Perl modules using CPAN (ghacks.net) <li class="zemanta-article-ul-li"><a href="http://blog.amit-agarwal.co.in/2010/02/04/packagekit-error-file-usrsharepackagekithelpersyumyumbackendpy-line-1215-in-_get_depends_not_installed-resolved/">PackageKit error File &#8221;/usr/share/PackageKit/helpers/yum/yumBackend.py&#8221;, line 1215, in _get_depends_not_installed – Resolved (amit-agarwal.co.in) <li class="zemanta-article-ul-li"><a href="http://blog.amit-agarwal.co.in/2010/01/16/the-best-in-command-line-xml-xmlstarlet/">The best in command line xml: XMLStarlet (amit-agarwal.co.in)
<div class="zemanta-pixie"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/769782c7-2254-46ba-9e06-aa6dfc7a699f/"><img class="zemanta-pixie-img" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/reblog_b20.png" alt="Reblog this post [with Zemanta]" /><span class="zem-script more-related more-info pretty-attribution paragraph-reblog">
comments powered by Disqus