rm misbehavior

Keith keithw at caramail.com
Mon Dec 30 19:18:08 UTC 2024


On 12/30/24 11:28 AM, Ian Bruntlett wrote:
> Hi Keith,
> 
> On Mon, 30 Dec 2024 at 17:08, Keith via ubuntu-users <ubuntu- 
> users at lists.ubuntu.com <mailto:ubuntu-users at lists.ubuntu.com>> wrote:
> 
>     If you have it installed, the apt-file program can tell you what
>     packages from the repos have info pages included.
> 
>     $ apt-file --package-only search '.info.gz'
> 
> 
> Thank you. I have 492 packages listed using the above command.
> 
> I think I have to activate them using the install-info command.

Well, no you shouldn't need to do that.  You'd would just need to 
install the packages themselves to get the info archives included with 
them. If I'm understanding you correctly, I really don't think that's 
what you want as you would be installing onto your system a large amount 
of packages (and any dependencies they have) from the repositories just 
to get some info pages.

If that's really an objective for you, I would just download the 
packages deb files to a directory and extract the *.info.gz(s) from them 
and then stick them in /usr/local/share/info (you'll have to create the 
directory first, though). They'll automatically be available to the info 
program.  If you run "sudo update-info-dir /usr/local/share/info", a 
"dir" file will be created and its entries will be added to the info Top 
page (i.e. the page you get when you just type "info" and nothing else 
at the prompt)

> 
> For example, how would I tell info about the info pages provided for 
> bash-doc?
> 

I would just install the bash-doc package. Then just type "info bash" 
The bash-doc package also has documentation in html and pdf formats as 
well, plus lots of example functions and scriptlets.

> Gene: Thanks for the information on the "pinfo" command.
> 
>
-- 
Keith




More information about the ubuntu-users mailing list