• Rin
    link
    fedilink
    arrow-up
    6
    ·
    9 months ago

    Just do whatever the package file says.

    • okamiueru@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      9 months ago

      Maybe possible for some packages, but, a package manager main reason for existing is usually handling dependencies so as to not result in conflicts.

      Definitely something that sounds easy, but is likely far from it for packages that have a deep tree of dependencies

      • Rin
        link
        fedilink
        arrow-up
        1
        ·
        9 months ago

        I mainly agree… if you have all of the deps already on your system, it’d work, otherwise it won’t.

        in my (probably silly) case, i wanted to install and automatically update every reboot the xmrig-donateless package on a Ubuntu Linux machine. Ubuntu doesn’t have a decent way to install the package and keep it updated as far as I’m aware.

        I made a simple script that fetches the latest package file, sources it and performs the install steps. it works for what i need.