# Be safe
-sudo apt remove docker docker-engine docker.io
+for pkg in docker.io docker-doc docker-compose docker-compose-v2 podman-docker containerd runc; do sudo apt-get remove $pkg; done
sudo apt autoremove
sudo apt update
# Install pre-requisites
sudo apt install ca-certificates curl gnupg lsb-release
-# Import the GPG key
- sudo mkdir -m 0755 -p /usr/local/share/keyrings
- curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/local/share/keyrings/docker.gpg
-
-# Add the repo for Docker
+# Add Docker's official GPG key:
+sudo apt-get update
+sudo apt-get install ca-certificates curl
+sudo install -m 0755 -d /etc/apt/keyrings
+sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
+sudo chmod a+r /etc/apt/keyrings/docker.asc
+# Add the repository to Apt sources:
echo \
- "deb [arch=$(dpkg --print-architecture) signed-by=/usr/local/share/keyrings/docker.gpg] https://download.docker.com/linux/debian \
- $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
+ "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
+ $(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}") stable" | \
+ sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
+sudo apt-get update
# Update the package database
sudo apt update
-#
+# Check repos
apt-cache policy docker-ce
+# Install
sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
sudo gpasswd -a username docker
@@ -2800,6 +2823,21 @@ sudo apt install qgis
* [[http://learnosm.org/es/osm-data/osm-in-qgis/|Learn OSM]]
* [[http://www.qgistutorials.com/es/docs/downloading_osm_data.html|QGIS Tutorials]]
+====== Jugando con IA y LLM ======
+
+ * https://tacticalware.com/running-ollama-on-ubuntu-24-04-with-nvidia-gpu/
+
+
+apt update
+apt upgrade
+nvidia-smi
+curl -fsSL https://ollama.com/install.sh | sh
+
+
+Queda instalada como servicio, como no la quiero arrancar siempre tendremos que hacer un disable y arrancarlo manualmente.
+
+Instalamos Docker y probamos web-ui
+
====== Recetas variadas ======
===== Añadir las claves GPG de un repo =====
diff --git a/out/LinuxMintXia.epub b/out/LinuxMintXia.epub
index adc741d..af8dee4 100644
Binary files a/out/LinuxMintXia.epub and b/out/LinuxMintXia.epub differ
diff --git a/out/LinuxMintXia.mw b/out/LinuxMintXia.mw
index e5c856e..c467e1c 100644
--- a/out/LinuxMintXia.mw
+++ b/out/LinuxMintXia.mw
@@ -709,6 +709,11 @@ Para ''Qtile'' bastaria con cambiar i3
por qtile start
Para flashear roms en moviles
sudo apt install heimdall-flash heimdall-flash-frontend
+
+= Java Runtime Enviroment =
+
+Instalamos OpenJava con: sudo apt install java-default
+
= Documentación =
@@ -2315,6 +2320,18 @@ https://packages.element.io/debian/ default main" \
sudo apt update
sudo apt install element-desktop
+== delta-chat ==
+
+Instalado con flatpak:
+
+flatpak install flathub chat.delta.desktop
+
+== Gajim ==
+
+Cliente de Jabber-XMPP.
+
+Instalado con flatpak: flatpak install org.gajim.Gajim
+
== Lector DNI electrónico ==
@@ -2396,30 +2413,35 @@ Instalamos desde los repos de Ubuntu
Tenemos que añadir el repositorio correspondiente a nuestra distribución:
# Be safe
-sudo apt remove docker docker-engine docker.io
+for pkg in docker.io docker-doc docker-compose docker-compose-v2 podman-docker containerd runc; do sudo apt-get remove $pkg; done
sudo apt autoremove
sudo apt update
# Install pre-requisites
sudo apt install ca-certificates curl gnupg lsb-release
-# Import the GPG key
- sudo mkdir -m 0755 -p /usr/local/share/keyrings
- curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/local/share/keyrings/docker.gpg
-
-# Add the repo for Docker
+# Add Docker's official GPG key:
+sudo apt-get update
+sudo apt-get install ca-certificates curl
+sudo install -m 0755 -d /etc/apt/keyrings
+sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
+sudo chmod a+r /etc/apt/keyrings/docker.asc
+# Add the repository to Apt sources:
echo \
- "deb [arch=$(dpkg --print-architecture) signed-by=/usr/local/share/keyrings/docker.gpg] https://download.docker.com/linux/debian \
- $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
+ "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
+ $(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}") stable" | \
+ sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
+sudo apt-get update
# Update the package database
sudo apt update
-#
+# Check repos
apt-cache policy docker-ce
+# Install
sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
sudo gpasswd -a username docker
@@ -2490,6 +2512,19 @@ sudo apt install qgis
* [http://learnosm.org/es/osm-data/osm-in-qgis/ Learn OSM]
* [http://www.qgistutorials.com/es/docs/downloading_osm_data.html QGIS Tutorials]
+
+= Jugando con IA y LLM =
+
+* https://tacticalware.com/running-ollama-on-ubuntu-24-04-with-nvidia-gpu/
+
+apt update
+apt upgrade
+nvidia-smi
+curl -fsSL https://ollama.com/install.sh | sh
+Queda instalada como servicio, como no la quiero arrancar siempre tendremos que hacer un disable y arrancarlo manualmente.
+
+Instalamos Docker y probamos web-ui
+
= Recetas variadas =
diff --git a/out/LinuxMintXia.odt b/out/LinuxMintXia.odt
index 4be5700..244212f 100644
Binary files a/out/LinuxMintXia.odt and b/out/LinuxMintXia.odt differ
diff --git a/out/LinuxMintXia.pdf b/out/LinuxMintXia.pdf
index 77d948f..698bda1 100644
Binary files a/out/LinuxMintXia.pdf and b/out/LinuxMintXia.pdf differ
diff --git a/out/LinuxMintXia.tex b/out/LinuxMintXia.tex
index 097e423..69b6e46 100644
--- a/out/LinuxMintXia.tex
+++ b/out/LinuxMintXia.tex
@@ -1298,6 +1298,10 @@ Para flashear roms en moviles
\end{Highlighting}
\end{Shaded}
+\section{Java Runtime Enviroment}\label{java-runtime-enviroment}
+
+Instalamos OpenJava con: \texttt{sudo\ apt\ install\ java-default}
+
\section{Documentación}\label{documentaciuxf3n}
\subsection{Vanilla LaTeX}\label{vanilla-latex}
@@ -3730,6 +3734,22 @@ Instalamos con:
\end{Highlighting}
\end{Shaded}
+\subsection{delta-chat}\label{delta-chat}
+
+Instalado con flatpak:
+
+\begin{Shaded}
+\begin{Highlighting}[]
+\NormalTok{flatpak install flathub chat.delta.desktop}
+\end{Highlighting}
+\end{Shaded}
+
+\subsection{Gajim}\label{gajim}
+
+Cliente de Jabber-XMPP.
+
+Instalado con flatpak: \texttt{flatpak\ install\ org.gajim.Gajim}
+
\subsection{Lector DNI electrónico}\label{lector-dni-electruxf3nico}
Descargamos la aplicación en formato \texttt{.deb} desde
@@ -3857,30 +3877,35 @@ distribución:
\begin{verbatim}
# Be safe
-sudo apt remove docker docker-engine docker.io
+for pkg in docker.io docker-doc docker-compose docker-compose-v2 podman-docker containerd runc; do sudo apt-get remove $pkg; done
sudo apt autoremove
sudo apt update
# Install pre-requisites
sudo apt install ca-certificates curl gnupg lsb-release
-# Import the GPG key
- sudo mkdir -m 0755 -p /usr/local/share/keyrings
- curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/local/share/keyrings/docker.gpg
-
-# Add the repo for Docker
+# Add Docker's official GPG key:
+sudo apt-get update
+sudo apt-get install ca-certificates curl
+sudo install -m 0755 -d /etc/apt/keyrings
+sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
+sudo chmod a+r /etc/apt/keyrings/docker.asc
+# Add the repository to Apt sources:
echo \
- "deb [arch=$(dpkg --print-architecture) signed-by=/usr/local/share/keyrings/docker.gpg] https://download.docker.com/linux/debian \
- $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
+ "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
+ $(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}") stable" | \
+ sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
+sudo apt-get update
# Update the package database
sudo apt update
-#
+# Check repos
apt-cache policy docker-ce
+# Install
sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
sudo gpasswd -a username docker
@@ -4000,6 +4025,28 @@ sudo apt install qgis
Tutorials}
\end{itemize}
+\section{Jugando con IA y LLM}\label{jugando-con-ia-y-llm}
+
+\begin{itemize}
+\tightlist
+\item
+ \url{https://tacticalware.com/running-ollama-on-ubuntu-24-04-with-nvidia-gpu/}
+\end{itemize}
+
+\begin{Shaded}
+\begin{Highlighting}[]
+\ExtensionTok{apt}\NormalTok{ update}
+\ExtensionTok{apt}\NormalTok{ upgrade}
+\ExtensionTok{nvidia{-}smi}
+\ExtensionTok{curl} \AttributeTok{{-}fsSL}\NormalTok{ https://ollama.com/install.sh }\KeywordTok{|} \FunctionTok{sh}
+\end{Highlighting}
+\end{Shaded}
+
+Queda instalada como servicio, como no la quiero arrancar siempre
+tendremos que hacer un disable y arrancarlo manualmente.
+
+Instalamos Docker y probamos web-ui
+
\section{Recetas variadas}\label{recetas-variadas}
\subsection{Añadir las claves GPG de un
diff --git a/src/250_extra.md b/src/250_extra.md
index 425a3f0..ce0aa7f 100644
--- a/src/250_extra.md
+++ b/src/250_extra.md
@@ -335,3 +335,7 @@ Para flashear roms en moviles
```bash
sudo apt install heimdall-flash heimdall-flash-frontend
```
+
+# Java Runtime Enviroment
+
+Instalamos OpenJava con: `sudo apt install java-default`
diff --git a/src/600_security.md b/src/600_security.md
index 8c29cc1..38a7f61 100644
--- a/src/600_security.md
+++ b/src/600_security.md
@@ -131,6 +131,21 @@ sudo apt update
sudo apt install element-desktop
```
+## delta-chat
+
+Instalado con flatpak:
+
+```shell
+flatpak install flathub chat.delta.desktop
+```
+
+## Gajim
+
+Cliente de Jabber-XMPP.
+
+Instalado con flatpak: `flatpak install org.gajim.Gajim`
+
+
## Lector DNI electrónico
Descargamos la aplicación en formato `.deb` desde [la página de
diff --git a/src/650_virtual.md b/src/650_virtual.md
index 2672be3..8cd77bf 100644
--- a/src/650_virtual.md
+++ b/src/650_virtual.md
@@ -15,30 +15,35 @@ distribución:
~~~~
# Be safe
-sudo apt remove docker docker-engine docker.io
+for pkg in docker.io docker-doc docker-compose docker-compose-v2 podman-docker containerd runc; do sudo apt-get remove $pkg; done
sudo apt autoremove
sudo apt update
# Install pre-requisites
sudo apt install ca-certificates curl gnupg lsb-release
-# Import the GPG key
- sudo mkdir -m 0755 -p /usr/local/share/keyrings
- curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/local/share/keyrings/docker.gpg
-
-# Add the repo for Docker
+# Add Docker's official GPG key:
+sudo apt-get update
+sudo apt-get install ca-certificates curl
+sudo install -m 0755 -d /etc/apt/keyrings
+sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
+sudo chmod a+r /etc/apt/keyrings/docker.asc
+# Add the repository to Apt sources:
echo \
- "deb [arch=$(dpkg --print-architecture) signed-by=/usr/local/share/keyrings/docker.gpg] https://download.docker.com/linux/debian \
- $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
+ "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
+ $(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}") stable" | \
+ sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
+sudo apt-get update
# Update the package database
sudo apt update
-#
+# Check repos
apt-cache policy docker-ce
+# Install
sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
sudo gpasswd -a username docker
diff --git a/src/750_ia.md b/src/750_ia.md
new file mode 100644
index 0000000..cc8e357
--- /dev/null
+++ b/src/750_ia.md
@@ -0,0 +1,18 @@
+# Jugando con IA y LLM
+
+-
+
+```bash
+apt update
+apt upgrade
+nvidia-smi
+curl -fsSL https://ollama.com/install.sh | sh
+```
+
+Queda instalada como servicio, como no la quiero arrancar siempre tendremos que hacer un disable y arrancarlo manualmente.
+
+
+
+
+
+Instalamos Docker y probamos web-ui