I’ve been using manjaro for a couple of years and I really like it. especially the wide variety of packages available. Recently been using yay to find/install.

I prefer to run FLOSS packages when they are available. But I do not find a convenient way to preferentially seek these out. Even to know what licenses apply without individually researching each specific package.

It does not seem to be possible to search, filter or sort based on license in the web interface for packagegs or AUR. I do not find anything about it in man pacman(8) or man yay(8).

The only way I have found to find license info from the terminal is using expac. You can use %L to display the license. I guess you could combine this in a search to filter, similar to some of the examples listed on pacman/Tips and tricks - ArchWiki. But I haven’t quite got it to work.

This seems like something other people would want but I don’t find any available solution for it. Am I missing something? Or is it something with the arch-based distros?

  • Daniel Quinn@lemmy.ca
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    4 months ago

    I would love for a feature like this to be built into pacman or yay. Like, if it was included in the output of pacman -Ss <package>, you could decide which thing to install based on this info.

    • linuxPIPEpowerOP
      link
      fedilink
      arrow-up
      1
      ·
      4 months ago

      Yes it would be good to filter, or sort. Have a little icon or color code licenses according to configuration. I’m always annoyed when I discover I accidentally installed some proprietary application. I would always select FLOSS if something is available. And it usually is.

      From what I’ve found, expac would probably be involved in in displaying this information; I couldn’t find any more direct way.

      I did actually try to write this but I got stuck with my rudimentary skills. (user name is aspirational lol)