You are not logged in.
I've been confused on how to best search for a package on the web-interface search feature for archlinux.org. It's been a problem I've had for a while but am finally asking about it (couldn't find anyone else that had already dealt with it here).
I want to find packages that are related to perl and pdf.
So I go to the aur.archlinux.org site and do a search.
I put in:
perl pdf
And I get one result.
Then I put in:
pdf perl
And I get zero results.
I also try:
pdf AND perl
Nothing there either.
Basically, I want to be able to search for all packages that have two words in them. How can I be confident that I will get a match no matter the order of the words?
Last edited by HuckleSmothered (2014-05-03 14:26:23)
Offline
What is the one result you get with "perl pdf"? I don't get any results with any of your search strings. I also don't get any packages in the repo that match both terms by searching with pacman.
EDIT: oops sorry, I missed this was AUR, not repos.
Last edited by Trilby (2014-05-02 15:05:07)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
It's "perl-cam-pdf" in the AUR.
I don't know, I've only ever searched for a single word (like "perl") then either done a find-in-page in a web browser or a grep from the command line for any other terms (like "pdf").
Offline
Yea, I found the actual package I was looking for by guessing that stuff. But there are over 2000 results for just "perl", which makes it unnecessarily difficult.
Hoping someone has figured out how to search properly.
... Or maybe we should be asking the site administrator to allow for this.
Offline
I think the easiest way would be to use an AUR helper or maybe use RPC API https://mailman.archlinux.org/pipermail … 02729.html
Offline
I think the easiest way would be to use an AUR helper...
I've just tried this wiith yaourt and I get 13 hits (argument order doesn't make a difference either).
$ yaourt perl pdf
1 aur/chm-to-pdf 0.01-1 (3)
A simple Perl script to convert CHM files to PDF (based on wkhtmltopdf)
2 aur/chm-to-pdf-fr 0.01-1 (2)
A simple Perl script that converts CHM files into PDF files (based on wkhtmltopdf and
file-roller)
3 aur/fig2ps 1.5-3 (8)
Perl script designed to convert Xfig files to postscript or PDF files, text is
processed using LaTeX
4 aur/pdfcrop 1.38-1 (16)
A Perl script that can crop PDF files.
5 aur/perl-cam-pdf 1.60-1 (2)
Perl PDF manipulation library
6 aur/perl-pdf-api2 2.020-1 (96)
A module chain to faciliate the creation and modification of high-quality PDF files
7 aur/perl-pdf-api2-simple 1.1.4u-1 (3)
Simplistic wrapper for the excellent PDF::API2 modules
8 aur/perl-pdf-create 1.06-1 (2)
CPAN module to create PDF documents
9 aur/perl-pdf-labels 1.8-1 (0)
CPAN module to produce formatted pages of mailing labels in PDF
10 aur/perl-pdf-reuse 0.35-3 (4)
Reuse and mass produce PDF documents
11 aur/perl-pdf-reuse-barcode 0.06-1 (3)
Create barcodes for PDF documents with PDF::Reuse
12 aur/perl-pdf-table 0.9.5-1 (4)
A utility class for building table layouts in a PDF::API2 object
13 aur/perl-text-pdf 0.29a-1 (5)
Module for manipulating PDF files
Last edited by Slithery (2014-05-02 20:36:30)
Offline
$ cower -sq perl -s pdf | grep perl | grep pdf
perl-cam-pdf
perl-pdf-api2
perl-pdf-api2-simple
perl-pdf-create
perl-pdf-labels
perl-pdf-reuse
perl-pdf-reuse-barcode
perl-pdf-table
perl-text-pdf
If you know for sure that the name starts with 'perl' and ends with 'pdf':
$ cower -sq perl -s pdf | grep ^perl | grep pdf$
perl-cam-pdf
perl-text-pdf
Edit: I couldn't figure out why it didn't work like this:
grep '^perl*pdf$'
It's because I forgot the dot in front of '*' ;P
$ cower -sq ^perl.*pdf$
perl-cam-pdf
perl-text-pdf
Last edited by karol (2014-05-02 22:31:12)
Offline
Looks like the consensus is that the web search engine is faulty and one must use an AUR helper, an additional utility. They are good workarounds. And I should probably be using that instead anyway.
Thank you everyone.
Offline