This Bash command will print all manually installed packages minus the ones that came from your Debian installation (in other words, the packages that you installed with apt install): sudo grep -oP "Unpacking \K[^: ]+" /var/log/installer/syslog \ | sort -u | comm /dev/stdin Reviews: 7. · # # List all manually installed packages on a debian/ubuntu system # # manually installed means: # # 1. not pre-installed with the system # # 2. not marked auto-installed by apt (not dependencies of other # # packages) # # Note: pre-installed packages that got updated still needs to be # # filtered out. parse_dpkg_log {. · If you are using older Ubuntu/Debian version then you can use apt or apt-get command to check all the manually installed packages in Ubuntu/Debian. You need to run apt list --manual-installed=true command to check all the manually installed packages. More about apt command.
# # List all manually installed packages on a debian/ubuntu system # # manually installed means: # # 1. not pre-installed with the system # # 2. not marked auto-installed by apt (not dependencies of other # # packages) # # Note: pre-installed packages that got updated still needs to be # # filtered out. parse_dpkg_log {. Just be careful not to remove essential packages, like dpkg and libc6, else your system will end up being unusable. The following script, which depends on python3-apt, should help: #!/usr/bin/python3 import apt cache = www.doorway.ru() for package in cache: if (www.doorway.ru_installed and www.doorway.ruty not in ("required", "important")): print(www.doorway.ru, end=" ") print(). list status of an installed package for the bug report: dpkg -L package_name: list contents of an installed package: dpkg -L package_name | egrep '/usr/share/man/man.*/.+' list manpages for an installed package: dpkg -S file_name_pattern: list installed packages which have matching file name: apt-file search file_name_pattern.
14 сент. г. apt list --manual-installed | grep -F \[installed\] to get a list of packages that resulted from user commands and their dependencies only, and to get. 9 июн. г. How to list manually installed package using dnf? I want to install fresh system then install the other packages from list Thanks. 2 сент. г. Open the terminal application or log in to the remote server using ssh (e.g. ssh user@sever-name) · Run command apt list --installed to list all.
0コメント