Monday, April 29, 2024
9
rated 0 times [  9] [ 0]  / answers: 1 / hits: 29362  / 2 Years ago, thu, september 8, 2022, 9:53:36

I wanted to install a few packages but had to power down my laptop as I had a few chores to do. I did add the packages' repositories and forgot to install the packages. As my browser history clears on closing, I couldn't recall their names (I'm bad at names).



I would like to know if there is any way I can inquire all available packages (i.e. which I can download or have downloaded) using my repositories?


More From » package-management

 Answers
1

The command line way of obtaining such a list would be apt-cache:



apt-cache dump # short list
apt-cache dumpavail # long list


This will take some time due to the many packages available.



You can grep Package: by following command:



apt-cache dumpavail | grep "Package:"


My personal approach to view packages I can't remember still is installing and running Synaptic Install synaptic which has a searchable GUI and can also be used to install and purge a given package.


[#34120] Friday, September 9, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
lowstonnequ

Total Points: 279
Total Questions: 125
Total Answers: 123

Location: Finland
Member since Sun, Dec 5, 2021
2 Years ago
lowstonnequ questions
Wed, Oct 26, 22, 14:40, 2 Years ago
Tue, Feb 28, 23, 01:39, 1 Year ago
Wed, Dec 1, 21, 23:44, 2 Years ago
Thu, Apr 21, 22, 13:13, 2 Years ago
;