I usually search for packages using apt-cache
(e.g. apt-cache search 'flash player'
) or by using the search functionality on https://packages.ubuntu.com.
Now suppose I wish to search the package list of an old Ubuntu release such as Ubuntu 12.04 LTS Precise Pangolin. How can I do it? apt-cache search ...
only searches the packages available for the version of Ubuntu I am using. https://packages.ubuntu.com only searches a few of the latest releases.
I suppose I could download the package list from http://archive.ubuntu.com/ubuntu/dists/precise/main/binary-amd64/, but what do I do with the package list to be able to search it? I prefer using something similar to apt-cache search ...
, but I do not want to mess up my existing packages just because I want to search an old package list.
apt-cache search
to search old package lists without messing up my current installation's package lists? – Flux Nov 17 '20 at 04:33Package.gz
) and un-gzip it, is there a better tool thangrep
for searching the file? – Flux Nov 17 '20 at 04:39grep
is that it will also return hits in the "Depends" field. – Flux Nov 17 '20 at 04:41