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
- Host: GitHub
- URL: https://github.com/gabsedits/apx-2.0-installer
- Owner: GabsEdits
- Created: 2023-07-10T08:14:57.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-17T10:12:11.000Z (almost 3 years ago)
- Last Synced: 2025-01-22T06:48:10.012Z (over 1 year ago)
- Language: Shell
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```