5 ms·
Only differences that I have noticed and cared about as a home user: Yum lets you do `yum search` but Apt splits that off with `apt-cache` (this is annoying be
by Crito 13y ago
Only differences that I have noticed and cared about as a home user: Yum lets you do `yum search` but Apt splits that off with `apt-cache` (this is annoying because with yum I can just swap out that 'search' with my line editor). Apt tends to be faster for equivalent operations.
- bashinator 13y agodpkg -S /some/file # tells you what package provides that file dpkg -L some-package # lists all the files provided by a package apt-get search <regex> # lists all package names matching <regex>
- cben 13y ago$ apt-get search foo E: Invalid operation search It's apt-cache search, and it searches full descriptions, not just package names.
- bashinator 13y agoMy bad - I meant `aptitude search`
- dspillett 13y agoIf you use aptitude instead of apt* you get most of the features rolled into one command, and it also provides a curses based interface if you prefer that to the command line but are in a situation where a full GUI is not available to you can use an X based tool. I'm not sure about Ubuntu but it has been standard issue in Debian for some time.
- ZenoArrow 13y agoI hope one day there's a command line package manager that works with both DPKG and RPM. Something tells me that will expose the real reason people stick with one over the other; remembering the package manager syntax. I feel no great allegiance to one side or the other, there's nothing of real merit I can differentiate them on, the only real result of the split is package maintainers duplicating work.
- twic 13y agoI have a set of shell scripts which wrap apt, yum, and macports, so i only have to remember one set of commands. They only cover a small fraction of what those tools can do, but they cover 90% of what i do day to day. They were not at all hard to write.
- dorfsmay 13y agoUse aptitude.