Skip to content

[Feature] Clearly show that the distro is recognised and norms will be followed when asking for permission to install packages #6207

Closed

Description

@lee-b

Nitpick, but with the installer prompt below, it was very unclear whether unsloth was going to to do the right thing, or download a tarball and manually install a library, messing up my distro packages, or if it thought this was an rpm system, or if it would assume ubuntu rather than debian, or something else.

I would much rather see an installer prompt like "Detected a debian-like system... if you accept, we'll run apt to install your distro's official package repositories."

❯ curl -fsSL https://unsloth.ai/install.sh | sh

  🦥 Unsloth Studio Installer
  ────────────────────────────────────────────────────

  platform       linux

  deps           missing: libcurl4-openssl-dev
                 These are needed to build the GGUF inference engine.

    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    WARNING: We require sudo elevated permissions to install:
    libcurl4-openssl-dev
    If you accept, we'll run sudo now, and it'll prompt your password.
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    Accept? [Y/n] 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions