#] #] ********************* #] "$d_SysMaint"'Linux/apps list notes.txt' - doesn't include apps installed with LMDE? # www.BillHowell.ca 17Jan2024 initial # view in text editor, using constant-width font (eg courier), tabWidth = 3 #48************************************************48 #24************************24 # Table of Contents, generate with : # $ grep "^#]" "$d_SysMaint"'Linux/apps list notes.txt' | sed "s/^#\]/ /" # #24************************24 # Setup, ToDos, #08********08 #] ??Jan2024 #08********08 #] ??Jan2024 #08********08 #] ??Jan2024 #08********08 #] ??Jan2024 #08********08 #] ??Jan2024 #08********08 #] 17Jan2024 search "Linux and how do I list installed applications?" compgen -c -> : [app, lib]s 2,265 apps 2,249 apps no-hyphen 2,252 >> WAIT!! many duplicates, but I specified sort -u!!?? change : compgen -c | sed 's/\([0-9]\+\:\)//' | sort -u >>"$d_SysMaint"'Linux/apps list.txt' to: compgen -c | sort -u >>"$d_SysMaint"'Linux/apps list.txt' I had installed rpm package manager based on old notes, but removed it. It's for : RPM-based distributions (Fedora, RHEL, etc): rpm -qa +-----+ https://unix.stackexchange.com/questions/20979/how-do-i-list-all-installed-programs How do I list all installed programs? Asked 12 years, 4 months ago Modified 5 years, 8 months ago Viewed 461k times +--+ That depends on your distribution. Aptitude-based distributions (Ubuntu, Debian, etc): dpkg -l RPM-based distributions (Fedora, RHEL, etc): rpm -qa pkg*-based distributions (OpenBSD, FreeBSD, etc): pkg_info Portage-based distributions (Gentoo, etc): equery list or eix -I pacman-based distributions (Arch Linux, etc): pacman -Q Cygwin: cygcheck --check-setup --dump-only * Slackware: slapt-get --installed 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 $PATH, which can be done like so using bash's compgen: compgen -c Or, if you don't have compgen: #!/bin/bash IFS=: read -ra dirs_in_path <<< "$PATH" for dir in "${dirs_in_path[@]}"; do for file in "$dir"/*; do [[ -x $file && -f $file ]] && printf '%s\n' "${file##*/}" done done edited Feb 17, 2014 at 3:10 answered Sep 18, 2011 at 20:26 Chris Down >> compgen -c worked for me +--+ 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. edited Apr 13, 2017 at 12:36 CommunityBot answered Sep 19, 2011 at 21:18 rozcietrzewiacz # enddoc