Originally Posted by CEB
When looking for new software to install manually via terminal, it often has requirements, dependencies.
I would like to list and search my computer for what I already have installed, via terminal. How do I do that?
Another poster has shown one way to find out what packages are installed, but in practice this won't be of much benefit. Instead you will be better off simply trying to install packages and see what dependency issues come up.
If you have a high-speed Internet connection, use either yum or apt-get, depending on your distribution:
# yum list | grep (package-name or shorter search phrase)
# yum install (package-name)
Any dependency problems will be solved
, not flagged
, if you do it this way.