quarto-dev / quarto-cli

Open-source scientific and technical publishing system built on Pandoc.
https://quarto.org
Other
3.96k stars 326 forks source link

[feature suggestion] Please provide an installation script that would install Quarto into the stage directory #10923

Open yurivict opened 1 month ago

yurivict commented 1 month ago

Bug description

Currently Quarto only provides binary archives for some distros.

This is in stark contrast with the majority of other open source software that provide cmake/make/etc commands that are able to build and install their software into a stage directory.

Quarto should provide a clean installation script that would install Quarto into a stage directory and it would check whether dependency versions are acceptable.

Users of Debian, Redhat, Arch, Nix, BSD, etc systems expect software to be packaged. Users wouldn't be downloading binary archives from GitHub, unpacking them, then setting up paths, etc, in order to install RStudio.

Users just want to run pkg install rstudio and it would be installed with all the dependencies including Quarto.

Quarto doesn't make it easy to integrate it into the packaging systems, and as a result very few packaging systems adopted it and the ones who did adopt it only have very outdated Quarto versions: https://repology.org/project/quarto/versions

Steps to reproduce

No response

Expected behavior

No response

Actual behavior

No response

Your environment

FreeBSD 14.1

Quarto check output

$ quarto check
Quarto 1.6.15
[✓] Checking versions of quarto binary dependencies...
      Pandoc version 3.4.0: OK
      Dart Sass version 1.49.8: OK
      Deno version 1.46.2: OK
      Typst version 0.11.1: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 1.6.15
      Path: /usr/local/share/quarto/bin

[✓] Checking tools....................OK
      TinyTeX: (not installed)
      Chromium: (not installed)

[✓] Checking LaTeX....................OK
      Using: Installation From Path
      Path: /usr/local/bin
      Version: undefined

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
      Version: 3.11.10
      Path: /usr/local/bin/python3.11
      Jupyter: 5.7.2
      Kernels: python3

[✓] Checking Jupyter engine render....OK

[✓] Checking R installation...........OK
      Version: 4.4.1
      Path: /usr/local/lib/R
      LibPaths:
        - /usr/local/lib/R/library
      knitr: 1.48
      rmarkdown: 2.28

[✓] Checking Knitr engine render......OK
mcanouil commented 1 month ago

deb files are provided for Debian and related operating system allowing such packages.