Get recommened pacman install line when command not found
Fresh3 days ago
Mar 15, 20263447 viewsConfidence Score0%
0%
Problem
In ubuntu, if I type a command for a application that is not installed, but that it knows about from a db, it gives me a message like this: Is there a way to get a similar message in Arch Linux?
Error Output
~ $ kate The program 'kate' is currently not installed. You can install it by typing: sudo apt-get install kate
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Get recommened pacman install line when command not found
Low Risk
So this seems to be part of python, in ubuntu its in: /usr/lib64/python2.7/dist-packages/CommandNotFound/CommandNotFound.py in the following function: I found the launchpad project that implements this: https://launchpad.net/command-not-found Hope t…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix