An open API service indexing awesome lists of open source software.

https://github.com/gabsedits/apx-2.0-installer

The Automated Script Installer made by the Vanilla OS Team
https://github.com/gabsedits/apx-2.0-installer

Last synced: about 1 year ago
JSON representation

The Automated Script Installer made by the Vanilla OS Team

Awesome Lists containing this project

README

          


Apx 2.0 Shell Script Installer


The Automated Script Installer made by the Vanilla OS Team


The Script was found in Vanilla OS Orchid - Devlog 5 Jul

The is moving to the offical APX Repo

## Run
Make sure you have `git` and `curl` installed
```bash
bash <(curl -s https://raw.githubusercontent.com/GabsEdits/apx/v2/install.sh)
```

## The Installer
```bash
#!/bin/bash

WORK_DIR="YOUR_WORK_DIR" # <- edit this path

mkdir -p "$WORK_DIR"
cd "$WORK_DIR"

curl -LO https://github.com/89luca89/distrobox/archive/refs/tags/1.5.0.2.tar.gz
tar -xzf 1.5.0.2.tar.gz

curl -LO https://github.com/Vanilla-OS/apx/releases/download/continuous/apx.tar.gz
tar -xzf apx.tar.gz
mv apx "$HOME/.local/bin/apx2"
chmod +x "$HOME/.local/bin/apx2"

mkdir -p "$HOME/.config/apx"
echo '{
"apxPath": "'"$HOME/.local/share/apx/"'",
"distroboxpath": "'"$WORK_DIR/distrobox-1.5.0.2/distrobox"'",
"storageDriver": "btrfs"
}' > "$HOME/.config/apx/apx.json"

git clone https://github.com/Vanilla-OS/vanilla-apx-configs.git "$WORK_DIR/vanilla-apx-configs"
mv "$WORK_DIR/vanilla-apx-configs/stacks" "$HOME/.local/share/apx/"
mv "$WORK_DIR/vanilla-apx-configs/package-managers" "$HOME/.local/share/apx/"

echo "Installation completed. You can now use Apx v2 by running 'apx2'."
apx2 --version
```