You are not logged in.

#1 2019-07-28 16:24:42

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,689

[Solved] How to read access and read installed pyqt-doc files

I just downloaded the AUR package pyqt-doc. How do I access and read this file?

Last edited by d_fajardo (2019-07-29 14:55:04)

Offline

#2 2019-07-28 16:42:32

zzzardoz
Member
Registered: 2017-12-30
Posts: 23

Re: [Solved] How to read access and read installed pyqt-doc files

Have a look on the PKGBUILD of the package, then it's pretty obvious what to do. smile

Offline

#3 2019-07-28 16:42:38

loqs
Member
Registered: 2014-03-06
Posts: 19,101

Re: [Solved] How to read access and read installed pyqt-doc files

After you built the package you can inspect the contents of the package with `pacman -Qlp packagename`
In the case of pyqt-doc the doc directory was dropped from the tarball with 5.9 instead use [1] if you want the examples you could update the PKGBUILD for pyqt-doc to install just the examples or extract them from the 5.13 tarball [2]

[1] https://www.riverbankcomputing.com/static/Docs/PyQt5/
[2] https://riverbankcomputing.com/software/pyqt/download5

Offline

#4 2019-07-28 18:55:53

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,689

Re: [Solved] How to read access and read installed pyqt-doc files

I'll have a look at those.
Thanks

Offline

#5 2019-07-28 19:02:53

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,689

Re: [Solved] How to read access and read installed pyqt-doc files

Running pacman -Qlp pyqt-doc` I get:

error: could not load package 'pyqt-doc': could not find or read package

but I do have the 5.8 version installed. And just to mention, I installed it via yay.

Offline

#6 2019-07-28 19:09:55

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,530
Website

Re: [Solved] How to read access and read installed pyqt-doc files

Make an effort.  Even a quick look at the pacman man page would clarify exactly why you got that error and how your situation differs from the one loqs made that recommendation for - it would also be abundantly clear what you'd have to change for it to work in your situation.

Please also revise your title to actually reference the package you are asking about.  You are not asking about viewing 'doc' files, but rather files included in the pyqt-doc package.

Last edited by Trilby (2019-07-28 19:11:39)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#7 2019-07-28 21:23:24

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,689

Re: [Solved] How to read access and read installed pyqt-doc files

Well its the -p flag giving an error:

  -p, --file
           Signifies that the package supplied on the command line is a file and not an entry in the database. The file
           will be decompressed and queried. This is useful in combination with --info and --list.

Thanks to loqs, I didn't know there's a whole directory of examples. That's really helpful.

Offline

Board footer

Powered by FluxBB