summaryrefslogtreecommitdiffstats
path: root/content/en/repository/index.md
diff options
context:
space:
mode:
Diffstat (limited to 'content/en/repository/index.md')
-rw-r--r--content/en/repository/index.md48
1 files changed, 35 insertions, 13 deletions
diff --git a/content/en/repository/index.md b/content/en/repository/index.md
index cbab271..96a41ed 100644
--- a/content/en/repository/index.md
+++ b/content/en/repository/index.md
@@ -1,20 +1,40 @@
+++
title = "Slackware Repository"
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 +45,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 +61,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