![]() |
List installed programs
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? |
Code:
dpkg --get-selections > list |
Quote:
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. |
That's a good idea but I'm trying practising packageinstalling manually in the terminal so using apt-get would be cheating...
|
Quote:
Hay, good luck. Do you by chance own a hair shirt? |
There's ways, but as mentioned not much benefit. Outside of some educational aspects and maybe some space management. Although space is so cheap these days. 1TB HDD is like $100 now. Depending on your distro, you might find internet options more revealing ( packages.debian.org ). But it's a family tree thing. A gui requires X which requires a window manager which requires ..., which requires ..., and so on and so on and so on.
For debian-ish ways... dpkg -l (lists what is currently installed / or partially installed / partially removed) dpkg -l '*' (lists all that is available) apt-cache show <package> or apt-cache showpkg <package> (lists known dependencies and other package details, but still makes certain assumptions in terms of a base system and such not included in that list) Or just use dselect or one of the many other installers to navigate dependency hell. deborphan (to find out what's installed by not used by anything else anymore, working in reverse at this point) |
You can re-install all the apps you have in case you plan to.
Quote:
|
Shadow_7 and ~sHyLoCk~, thanks, now I'm getting a better picture of things!
|
All times are GMT -5. The time now is 06:01 PM. |