From fe1c42698ffed7cd9b78444f75598b07015195ae Mon Sep 17 00:00:00 2001
From: Walmes Zeviani <walmes@ufpr.br>
Date: Sun, 26 Mar 2023 14:37:24 -0400
Subject: [PATCH] Adds Quarto installation.

---
 install_quarto.sh | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 install_quarto.sh

diff --git a/install_quarto.sh b/install_quarto.sh
new file mode 100644
index 0000000..08e3667
--- /dev/null
+++ b/install_quarto.sh
@@ -0,0 +1,26 @@
+#-----------------------------------------------------------------------
+# Quarto installation.
+#
+# URL para download.
+URL="https://github.com/quarto-dev/quarto-cli/releases/download/v1.3.290/quarto-1.3.290-linux-amd64.deb"
+# echo "$URL"
+
+# Baixa o .deb.
+wget "$URL" -O ~/Downloads/quarto-linux-amd64.deb
+# ls ~/Downloads | grep "quarto"
+
+# Instala.
+sudo dpkg -i ~/Downloads/quarto-linux-amd64.deb
+
+# Testa se está instalado.
+which quarto
+quarto --version
+
+#-----------------------------------------------------------------------
+# Usage.
+
+# quarto render document.qmd # defaults to html
+# quarto render document.qmd --to pdf
+# quarto render document.qmd --to docx
+
+#-----------------------------------------------------------------------
-- 
GitLab