# Instalar Termux

<img src="/files/gy3WlDiK5kZ2ABccAvIP" alt="" data-size="line">Tenemos varias posibilidades de instalar Termux en nuestro Android, pero la mas completa es directamente desde <img src="/files/Nkj7gVal5LOjNffY9u2i" alt="" data-size="line">F-Droid (<https://f-droid.org/en/packages/com.termux/>)\
\
Abrimos la App F-Droid si la tenemos instalada

![](/files/myoIHrK4L03g5nyL6uum)

Pinchamos donde la lupa, abajo a la derecha y buscamos Termux

![](/files/o1NymVO3K2sKPyoqMcho)

Después de instalarse, instalaremos unos paquetes

```shell
pkg update
pkg install termux-api
pkg install termux-tools
pkg install iproute2

apt update
apt install vim curl git wget neofetch bash-completion
```

Habilitar SSH

```shell
pkg install openssh
pkg install net-tools
pkg install procps
```

Comprobamos un parametro en la configuración del ssh

```shell
cat $PREFIX/etc/ssh/sshd_config
```

Deberá estar en `yes`, `PasswordAuthentication`

Comprobaremos que usuario tenemos en Termux

```shell
whoami
```

Y le asignaremos una password a nuestro user

```shell
passwd
```

Iniciaremos el demonio SSH

```shell
sshd
```

Conectarse desde un terminal a Android

```shell
ssh user@ip -p 8022
```

<figure><img src="/files/FRlU4Ym5PxJhjPzZpBTL" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://blog.azagra.dev/android/instalar-termux.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
