100 Comments
- Ademan, on 10/12/2007, -2/+46"Did you mean: vim"?
For emac, emacs, and emax... - HalFTW, on 10/20/2007, -3/+35"Linux is Evolution, not Intelligent Design" - Linus Torvalds
- bestadvocate, on 10/12/2007, -2/+27What an amazing update, I wish that had been around back before I learned the ins and outs of apt-get. What's next some sort of google "did you mean:emacs" for when I type "emac" or "emax"?
- bobothn, on 10/12/2007, -0/+23bobo@TheBar:~$ convert
The program 'convert' is currently not installed. You can install it by typing:
sudo apt-get install imagemagick
-bash: convert: command not found
bobo@TheBar:~$
Damn that is nice. - inactive, on 10/12/2007, -0/+21with every story like this i'm reminded of why i'm moving from xp to ubuntu,instead of vista.
- Falcorian, on 10/12/2007, -1/+19I still like Ubuntu's way of handling it.
wget http://url/program.tar.gz
tar -zxvf program.tar.gz
cd program
./configure
make
make install
The reason I like it is because I KNOW what goes on my system.
*Rolleyes* It's not like compile from source is slackware exclusive. - LordTureis, on 10/12/2007, -0/+15yes, 'convert' directs you to imagemagick
- groggyboy, on 10/12/2007, -2/+17this package is part of feisty's default installation (at least, as of herd 5).
- listrophy, on 10/12/2007, -1/+15The example in the blog is kinda boring and uninformative. The real question is: if I try to run "convert" on a machine that doesn't have ImageMagick installed, will it know that "convert" is part of the ImageMagick suite?
And yes, I'd be apt-get'ing this program and testing it out myself if I had a Ubuntu machine nearby. Instead, I'm asking on digg. Deal with it. - msgyrd, on 10/12/2007, -1/+14man is installed by default. your joke is irrelevant to the topic.
- marnaq, on 10/12/2007, -5/+16evolving? it's intelligent design!
- marnaq, on 10/12/2007, -3/+12zsh does spelling correction/suggesting already.
- grexeo, on 10/12/2007, -1/+9I'm constantly being amazed at how fast OSS is moving forward. Little things like this make the big difference that save time and improve productivity. And it seems my laptop now works with Ubuntu (Feisty Fawn Herd 5) so I'm really looking forward to the final release. Three machines converted to Linux, two to go...
- ahhell, on 10/12/2007, -1/+9WOW. That is so much more intuitive!!!
/sarc obviously - polymorphist, on 10/12/2007, -0/+8QUOTE: "I still like Slackware's way of handling it.
wget http://url/program.tar.gz
tar -zxvf program.tar.gz
[..CUT..]"
You'd be really really lucky to have 1 out of 100 applications you want to install whose dependencies you already have in your system. The other 99 times you try to compile from source, it requires package A, whch depends on package B, which in turn needs package C, and D. Oops...package D version 1.0 doesn't work for your app, you must have version 0.99999, well welcome to the dependency hell!
Have you really compiled from source before? Or you just want to brag about it? If you want to find out what files have been installed, there's always an option in your package manager to achieve this.
Oh, and by the way, in case you didn't know Slack, they have package manager too now. - GMorgan, on 10/12/2007, -4/+12"ninjacob is a dumbass and out of touch with everyone" - GMorgan
- Urusai, on 10/12/2007, -1/+8I hear a disturbance in the Force, like that of a million scripts breaking at once.
- msgyrd, on 10/12/2007, -0/+6I just tried it out, and I didn't notice any CPU usage when it suggested anything. I suspect it works like Beagle or Spotlight, where it searches an index, not the actual repositories, which is more system friendly than an active search. The command-not-found package probably updates when packages with new commands are added.
- dr-steve, on 10/12/2007, -1/+7Pretty cool.
Just curious, though, what's the overhead in performing the search? Does it cache stupid typos and/or package lists? I'd hate to be constantly bogging down my system every I mistype fro or sl or something!! - ChumpChief, on 10/12/2007, -0/+5It would also be nice if it popped up a dialog when searching for something that looks like a program name. For example, I search for gedit, thinking I have it installed and it gives me a message that tells me it is not installed and gives the option to install it.
- AaronMT, on 10/12/2007, -1/+5Very nice feature.
- SteveMax, on 10/12/2007, -0/+4You really should checkinstall instead of make install, this basically creates a .tgz from what you compiled and installs it. This makes it much easier to uninstall it later, unless you keep the program's unpacked source around to make uninstall.
- sigmaman2, on 10/12/2007, -1/+5@ipcustom
What do we use computers for, if not to automate repetitive or mundane tasks? I look at this fulfilling a similar function as the package manager itself. If you want to install something, it installs everything you need to make it work. From what I see, Command-Not-Found will make this happen right at the moment when you need it. Making something convenient does not equal dumbing something down.
Just because you have no use for it does not make this program useless. - bobpaul, on 10/12/2007, -1/+5Yeah, I just noticed this about a week ago, I think. Caught me off gaurd.
- justnick, on 10/12/2007, -2/+6I like it but it would have also been nice to go a step further and ask a simple yes/no question to install the app so you don't have to type that command. Nice addition though.
- bobothn, on 10/12/2007, -0/+4only problem there is spelling mistakes. i dont want to mispell something and have a new app installed on my box. it would be cool if it asked if you would like to install the pakage
$gedit
The program 'gedit' is currently not installed.
Would you like to install (y/n): y
Trying to install:
sudo apt-get install gedit
(normal install output)
(gedit starts like nothing happened) - lpcustom, on 10/12/2007, -1/+4Wait....you can install it on Edgy by installing the command-not-found package......if you know how to install a package...why do you need this package?
- voidvector, on 10/12/2007, -0/+3That could cause problems if the missing command is evoked in a script.
- lpcustom, on 10/12/2007, -0/+3Or just use nano which is in Ubuntu default if I remember correctly. After all nano is an improved version of pico after all.
- Fritzel, on 10/12/2007, -0/+3Ahh thanks for that little piece of info, I frequently do OS reinstalls, and I must have been running windows at the time pico got faded out so I didn't know anything about nano, I'll look into that ^^
But regardless needing a utility that is not the name of the package makes this little feature very useful - mercurysquad, on 10/12/2007, -0/+3wtf are you talking about? Ubuntu commits major amounts of code back to Debian from where it trickles down to other distros too. Mepis e.g.
- QuackQuack, on 10/12/2007, -1/+4Actually, no, it's the equivalent of this:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:Documents and SettingsQuackQuack>asdfasdfasdf
'asdfasdfasdf' is not recognized as an internal or external command,
operable program or batch file.
C:Documents and SettingsQuackQuack> - tiagoboldt, on 10/12/2007, -0/+2What if you were just seeing which programs were installed in some machine? It could only install automatically if there was an option to enable and disable that automatic installation!
- SteveMax, on 10/12/2007, -1/+3$ sex
"What a lover!" warbled the large-boned stewardess as the sphincter licking lecherous lickspittle ravished her bovine charlies and reamed his miniscule stump into her welcoming inner ear.
$ man sex
SEX(6) BSD Games Manual SEX(6)
NAME
Sex -- spout silly, random porn-like text
[......]
In other words, you fail. At least when I use Gentoo I can have sex in my system. - pbaehr, on 10/12/2007, -0/+2@Neiby: It would only be scanning the repositories if the command you type wasn't found. Also, I doubt it updates your repositories each time so it would only scan locally and depend on apt-get's latest database. So you wouldn't see any impact on successful command line entries and I would expect the impact on typos and such to be negligible.
- sunra, on 10/12/2007, -0/+2try "apt-file", it may do what you want. You have to initialize it first, however, with "sudo apt-file update".
- leszek, on 10/12/2007, -0/+2it was dugg down because those two questions were already answered in the thread.
- benplaut, on 10/12/2007, -0/+2Yea, you //don't// have to! Ever heard of Synaptic/Gnome App Manager/Whatever the hell RPM users have these days?
- Mejogid, on 10/12/2007, -0/+2Google the motherboard. You may have to replace it, since ACPI (needed to shutdown the computer) support for unusual motherboards is patchy at best - it basically depends on whether someone with that chipset bothered to write a patch.
- lowerlogic, on 10/12/2007, -1/+3This would be even cooler if there was an _option_ to have it automatically try "apt-get install gedit" when you typed in gedit. Like this:
$ gedit
The program 'gedit' is currently not installed. Trying to install:
sudo apt-get install gedit
(normal install output)
(gedit starts like nothing happened) - zerblat, on 10/12/2007, -0/+2@jeffbailey:
If you've installed the program through apt-get, the binaries will be in one of the standard bin directories. So, you'll only get "Command not found" if you either installed the program by some other means and the binary ended up in a directory outside of your $PATH, or if you removed one of the default directories from your $PATH. In either case, if you've done that, you're probably not the target audience for this program. - Ellsass, on 11/05/2008, -0/+2@Shaggy63
Wow, that's so user-friendly I think I'm going to uninstall Synaptic and just do that for every single program. It won't completely waste my time or confuse me or cause problems or anything. - Thuktun, on 10/12/2007, -2/+4@lpcustom "This is pretty useless. Lets imagine for a moment that you have this installed.....it's nice the first two or three times that it works.....then you realize from it's output that using apt-get is pretty simple already. Now you know how to use apt-get and this program throws up what you now consider an annoying message everytime you type a command that's not installed. Apt-get itself is pretty damn easy people."
Type "sudo apt-get remove command-not-found". (wiping brow) Wow, that was hard.
This is not useless, it's a smarter error message. - geminitojanus, on 10/12/2007, -1/+3"if you know how to install a package...why do you need this package?"
Because your [Mom|Dad|Grandmother|Friend from Work] doesn't know how to install a package, and you're setting up their computer for them? - duhblow7, on 10/12/2007, -0/+2Let's just assume for some crazy reason that when it comes to the CLI, you either know "it", or you don't.
The people that know "it" will not want this feature.
The people that do not know "it" will reap the benefits from the feature.
The people that know "it" are more likely able to figure out how to turn "it" off than the people that don't know "it" are able to turn it on (or know to turn "it" on).
Personally, I don't want it, but I guess I can see why "it" will be default in Fiesty. - geminitojanus, on 10/12/2007, -0/+2Actually /Redhat/ made AIGLX, Novell made Compiz, and IBM wrote a large number of the tools you use on a daily basis whether you know it or not.
You could make this distribution independent if you wanted to; all you need to do is keep an index of what is installed, and an index mapping the packages of what isn't installed to the name of the package. Distros based on Debian (anything using dpkg and apt) can do this pretty natively, and I'm quite certain this tool will move upstream to Debian.
Moral of the story: understand your software and how it works. - polymorphist, on 10/12/2007, -0/+2wait a minute...man is installed while woman isn't? /jk
- weizbox, on 10/12/2007, -0/+2Well, in some ways I can see your point, but I know in order to get to knowing 'it', you need to start off without knowing 'it'. This means that we all have a transition period between not knowing, and knowing, and I think this tool could help a few people out there who may be running into some snags and are not sure whats going on during that period of time.
If you don't want those type of things installed by default, I would suggest going ahead and checking out some other distros unless theres something in Ubuntu that somehow other distros don't have(software wise), which shouldn't be the case since its all open anyways :) - dc2447, on 10/12/2007, -2/+3This is fantastic for new users.
I also love apt - just can't deal with dpkg and dpkg-query
It's the only thing rpm does more intutively
# rpm -qf $(which vim)
vim-enhanced-6.3.046-0.40E.7
I'm sure you can do all that and more in dpkg - it just doesn't flow easily for me at least
- jeffbailey, on 10/12/2007, -0/+1The biggest problem with this is the fact that a command could be outside of your PATH variable. Of course any scripts that try to run commands and have an incorrect path variable will be getting odd behaviors as well. Command not found is pretty simple to deal with and tells you exactly what is going on.
-
Show 51 - 94 of 94 discussions



What is Digg?
Browsing Digg on your phone just got easier with our enhancements to the