diff options
Diffstat (limited to 'content')
| -rw-r--r-- | content/en/repository/index.md | 47 | ||||
| -rw-r--r-- | content/it/repository/index.md | 66 |
2 files changed, 79 insertions, 34 deletions
diff --git a/content/en/repository/index.md b/content/en/repository/index.md index cbab271..56140d6 100644 --- a/content/en/repository/index.md +++ b/content/en/repository/index.md @@ -4,17 +4,38 @@ date = 2026-04-17T00:00:00Z draft = true +++ +This is a **Slackware64-current** repository, my packages are built on and managed for slackware64-current. When I release a package that can build on the latest stable version of Slackware, I'll try to publish it to [slackbuilds.org](https://slackbuilds.org/), but if the package comes from this repository, you can assume it's for `-current` only. + ## Quick Start -Add the repository to your Slackware system: +To add the repository to your Slackware system you'll need [slackpkg+](https://slakfinder.org/slackpkg+.html), edit `/etc/slackpkg/slackpkgplus.conf` and use **"danix"** as the repository name: + +```bash +# Add repository to the PKGS_PRIORITY +PKGS_PRIORITY=( multilib danix alien restricted slackers) +# Add danix to the REPOPLUS array +REPOPLUS=( slackpkgplus restricted alien multilib slackers hyprwm danix ) +# Lastly, define the "danix" MIRRORPLUS entry +MIRRORPLUS['danix']=https://packages.danix.xyz/ +``` + +You can have my repository alongside other repos. + +Now that it is configured you can simply update the list and search for my packages directly using `slackpkg`. ```bash -# Add repository configuration (example command) -wget -O - https://danix.xyz/packages/slackware.asc | gpg --import -echo "deb https://danix.xyz/packages/slackware/ stable main" >> /etc/apt/sources.list.d/danix.list -apt-get update +# update the packages signatures +slackpkg update gpg +# update the packages lists +slackpkg update +# search for a package +slackpkg search <package name> +# install a package +slackpkg install <package name> ``` + + ## Installation ### Prerequisites @@ -25,15 +46,15 @@ apt-get update ### Steps -1. Download and import the repository GPG key -2. Add the repository to your package manager configuration +1. Add the repository to your slackpkg+ configuration +2. import the GPG key for my repository 3. Update your package lists 4. Install packages as needed ### Repository URL ``` -https://danix.xyz/packages/slackware/ +https://packages.danix.xyz/ ``` ## Usage @@ -41,20 +62,22 @@ https://danix.xyz/packages/slackware/ ### Installing a Package ```bash -apt-get install package-name +slackpkg install package-name ``` ### Updating Packages ```bash -apt-get update -apt-get upgrade +slackpkg update +slackpkg upgrade +# to update all packages, including the Slackware system ones: +slackpkg upgrade-all ``` ### Searching for Packages ```bash -apt-cache search keyword +slackpkg search keyword ``` ## Available Packages diff --git a/content/it/repository/index.md b/content/it/repository/index.md index f4c7972..c49ed30 100644 --- a/content/it/repository/index.md +++ b/content/it/repository/index.md @@ -4,59 +4,81 @@ date = 2026-04-17T00:00:00Z draft = true +++ -## Inizio Rapido +Questo è un repository **Slackware64-current**; i miei pacchetti sono compilati e gestiti per slackware64-current. Quando rilascio un pacchetto che può essere compilato sull'ultima versione stable di Slackware, provo a pubblicarlo su [slackbuilds.org](https://slackbuilds.org/), ma se il pacchetto proviene da questo repository, date per certo che sia solo per `-current`. -Aggiungi il repository al tuo sistema Slackware: +## Setup rapido + +Per usare il mio repository nel tuo sistema Slackware ti serve [slackpkg+](https://slakfinder.org/slackpkg+.html). Modifica `/etc/slackpkg/slackpkgplus.conf` e usa **"danix"** come nome del repository: ```bash -# Aggiungi configurazione repository (comando di esempio) -wget -O - https://danix.xyz/packages/slackware.asc | gpg --import -echo "deb https://danix.xyz/packages/slackware/ stable main" >> /etc/apt/sources.list.d/danix.list -apt-get update +# Aggiungi il repository a PKGS_PRIORITY +PKGS_PRIORITY=( multilib danix alien restricted slackers) +# Aggiungi danix all'array REPOPLUS +REPOPLUS=( slackpkgplus restricted alien multilib slackers hyprwm danix ) +# Infine, definisci la voce MIRRORPLUS per "danix" +MIRRORPLUS['danix']=https://packages.danix.xyz/ ``` +Puoi tenere il mio repository insieme ad altri repo di terze parti. + +Una volta configurato, ti basta aggiornare la lista e cercare i miei pacchetti direttamente con `slackpkg`. + +```bash +# aggiorna le firme dei pacchetti +slackpkg update gpg +# aggiorna le liste dei pacchetti +slackpkg update +# cerca un pacchetto +slackpkg search <nome pacchetto> +# installa un pacchetto +slackpkg install <nome pacchetto> +``` + + ## Installazione ### Prerequisiti -- Slackware 15.0 o successivi +- Slackware 15.0 o successiva - Accesso root o sudo - wget o curl ### Passaggi -1. Scarica e importa la chiave GPG del repository -2. Aggiungi il repository alla configurazione del gestore di pacchetti -3. Aggiorna gli elenchi dei pacchetti -4. Installa i pacchetti come necessario +1. Aggiungi il repository alla tua configurazione di slackpkg+ +2. Importa la chiave GPG del mio repository +3. Aggiorna le liste dei pacchetti +4. Installa i pacchetti secondo necessità -### URL Repository +### URL del Repository ``` -https://danix.xyz/packages/slackware/ +https://packages.danix.xyz/ ``` ## Utilizzo -### Installazione di un Pacchetto +### Installare un pacchetto ```bash -apt-get install nome-pacchetto +slackpkg install nome-pacchetto ``` -### Aggiornamento dei Pacchetti +### Aggiornare i pacchetti ```bash -apt-get update -apt-get upgrade +slackpkg update +slackpkg upgrade +# per aggiornare tutti i pacchetti, inclusi quelli di sistema di Slackware: +slackpkg upgrade-all ``` -### Ricerca di Pacchetti +### Cercare pacchetti ```bash -apt-cache search parola-chiave +slackpkg search parola-chiave ``` -## Pacchetti Disponibili +## Pacchetti disponibili -Controlla il repository per i pacchetti disponibili più recenti. Consulta i repository GitHub SlackBuild di seguito per informazioni sulla compilazione e file di origine. +Dai un'occhiata al repository per gli ultimi pacchetti disponibili. Vedi i repository SlackBuild su GitHub qui sotto per i dettagli sulle build e i file sorgente. |
