Index Question
Alan Dacey (grokit)
grokit at ajinfosearch.com
Thu Jan 9 15:52:59 UTC 2014
On Wednesday, January 08, 2014 11:23:33 PM kbun at xpresso.seaslug.org wrote:
>
> I don't recall if it was apt/apt-get/aptitude/other, but
> way back, (during the great dinosaur die off), someone
> posted to the list, a command that generated a _long_
> index listing of filenames available for download, along
> with a one line discription of what the program was or
> what it did.
>
> Anyone happen to recall, or know what that command was/is?
>
> TIA
>
> Bill
>
To get all packages available and put them in nice columns you should use this:
apt-cache search [a-z] | sort | sed 's/ - / /1' | column -t -c 2 -s ' ' > all-packages.txt
The couple of spaces in the sed command and after the -s in the column command are actually tabs. To type them you have to press ctrl-V and then the tab key if a copy and paste fails.
This gives me 43,241 lines so that looks like all of them.
If you need to see all packages and all architectures, ie. 32 & 64 bit, you can use "aptitude search [a-z]" but the description column is only 42 characters so most of it is cut off.
Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20140109/3e303b08/attachment.html>
More information about the kubuntu-users
mailing list