![]() The downsize of this method is that packages from other repos may also be listed if they have something that matches the string of repo been search. You can also specify the name of the package to search for instead of repo name. 4.For example, to look for all packages installed by EPEL repo: yum list installed | grep epel The -l option lists all the packages installed on our system. Ii alsa-ucm-conf 1.2.2-1ubuntu0.5 all ALSA Use Case Manager configuration files Ii alsa-topology-conf 1.2.2-1 all ALSA topology configuration files Ii alsa-base 1.0.25+dfsg-0ubuntu5 all ALSA driver configuration files Ii aisleriot 1:3.22.9-1 amd64 GNOME solitaire card game collection Ii adwaita-icon-theme 3.36.1-2ubuntu0.20.04.2 all default icon theme of GNOME (small subset) Ii adduser 3.118ubuntu2 all add and remove users and groups Ii acpid 1:2.0.32-1ubuntu1 amd64 Advanced Configuration and Power Interface event daemon ![]() Ii acpi-support 0.143 amd64 scripts for handling many ACPI events Ii acl 2.2.53-6 amd64 access control list - utilities Ii accountsservice 0.6.55-0ubuntu12~20.04.4 amd64 query and manipulate user account information The head command helps trim the output by displaying the first 1o lines of the output.Īnother way is to use the dpkg-query tool. We can pipe this output to the grep command, which selects the lines that match the word “install”. ![]() The – –get-selections gets a list of package selections and writes the output to stdout. To list the installed packages on our system: $ dpkg -get-selections | grep -w "install" | head
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |