How do I list both programs that came with my distribution and those I manually installed?
|
|
That depends on your distribution.
All of these will list the packages rather than the programs however. If you truly want to list the programs, you probably want to list the executables in your
|
|||||||
|
|
Answering the second part of the question (nothing really to be added to Chris' answer for the first part): There is generally no way of listing manually installed programs and their components. This is not recorded anywhere if you didn't use a package manager. All you can do is find the binaries in standard locations (like Chris suggested) and in a similar way, guess where some libraries or some manual pages etc. came from. That is why, whenever possible, you should always install programs using your package manager. |
|||
|
|
|
In addition to my previous answer, I also recently discovered |
|||
|
|
|
Programs should be reachable via the PATH, so just list everything in the path:
Expect a result of about 3k-4k programs. To exclude a probable minority of false positives, you may refine the approach:
It didn't make a difference for me. |
|||||||
|
