• Bongles@lemmy.zip
    link
    fedilink
    arrow-up
    8
    ·
    17 hours ago

    I just learned about “man thing” in terminal a couple days ago. I had no idea they’re kept in that folder.

    • Hadriscus@jlai.lu
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      16 hours ago

      what folder ? please tell me I’m just starting out. So far I’ve tried “man libwacom” (because I’m having trouble with my tablet) but it says there’s no entry for the package. Do most packages usually have a manual entry ?

      • twice_hatch@midwest.social
        link
        fedilink
        English
        arrow-up
        9
        ·
        16 hours ago

        I found them under /usr/share/man/, then “man1”, “man2”, “man3” etc. based on the category system (which I think is like, libraries, syscalls, exes, something like that)

        I intuited /usr/share because almost everything the package manager installs will be under /usr somewhere, and man pages aren’t binaries or libraries, they’re architecture-independent, so they can’t be /usr/bin/ or /usr/lib, they’ll probably be in /usr/share and luckily I saw “man” under there.

        Hope that helps! Reading the FHS guide is a good learning experience but nobody should have to do it.

      • crater2150@feddit.org
        link
        fedilink
        arrow-up
        1
        ·
        11 hours ago

        Do most packages usually have a manual entry ?

        Usually there are manual pages for commands, for libraries and drivers like libwacom it is less common, and they are not necessarily the same as the package name. Some packages also just have a Readme file or an HTML manual installed under /usr/share/doc or similar.

        When unsure, I often just check the list of files that belong to a package, most package managers can do it. E.g. on Debian-based (i.e. apt using) distros, dpkg -L $packagename will list it, in arch based distros it is pacman -Ql $packagename.

      • 0x0@lemmy.zip
        link
        fedilink
        arrow-up
        1
        ·
        11 hours ago

        Do most packages usually have a manual entry ?

        Yes.
        Try man man ;)