2019-12-24 17:47:16 +00:00
|
|
|
# apt-add-repository
|
|
|
|
|
2024-03-14 05:01:06 +00:00
|
|
|
> Gestiona las definiciones del repositorio APT.
|
2021-04-17 14:26:03 +01:00
|
|
|
> Más información: <https://manpages.debian.org/latest/software-properties-common/apt-add-repository.1.html>.
|
2019-12-24 17:47:16 +00:00
|
|
|
|
2024-03-14 05:01:06 +00:00
|
|
|
- Añade un nuevo repositorio APT:
|
2019-12-24 17:47:16 +00:00
|
|
|
|
|
|
|
`apt-add-repository {{repositorio}}`
|
|
|
|
|
2024-03-14 05:01:06 +00:00
|
|
|
- Elimina un repositorio APT:
|
2019-12-24 17:47:16 +00:00
|
|
|
|
|
|
|
`apt-add-repository --remove {{repositorio}}`
|
|
|
|
|
|
|
|
- Actualiza la caché de paquetes tras añadir un repositorio:
|
|
|
|
|
|
|
|
`apt-add-repository --update {{repositorio}}`
|
|
|
|
|
2023-12-08 05:51:46 +00:00
|
|
|
- Activa las fuentes de paquetes:
|
2019-12-24 17:47:16 +00:00
|
|
|
|
|
|
|
`apt-add-repository --enable-source {{repositorio}}`
|