Universal installer script for adding Bordeux package repositories across multiple operating systems.
Install repository only:
curl -fsSL https://raw.githubusercontent.com/bordeux/repo/master/install.sh | shInstall repository and a package:
curl -fsSL https://raw.githubusercontent.com/bordeux/repo/master/install.sh | sh -s -- tmpltool| OS | Package Manager | Detection Method |
|---|---|---|
| macOS | Homebrew | uname -s = Darwin |
| Debian/Ubuntu | APT | /etc/debian_version or apt |
| Arch Linux | Pacman | /etc/arch-release or pacman |
| Alpine Linux | APK | /etc/alpine-release |
| Fedora/RHEL/CentOS | DNF/YUM | /etc/redhat-release or dnf/yum |
./install.sh [app_name]| Argument | Description |
|---|---|
| (none) | Installs only the repository |
app_name |
Installs the repository and the specified application |
- Verifies Homebrew is installed
- Adds the
bordeux/taptap - Optionally installs the specified formula
- Creates
/etc/apt/keyringsdirectory - Downloads and installs the GPG key
- Adds the repository to
/etc/apt/sources.list.d/bordeux.list - Runs
apt update - Optionally installs the specified package
- Appends the
[bordeux]repository to/etc/pacman.conf - Runs
pacman -Syto sync databases - Optionally installs the specified package
- Downloads the RSA public key to
/etc/apk/keys/ - Adds the repository URL to
/etc/apk/repositories - Runs
apk update - Optionally installs the specified package
- Downloads the
.repofile to/etc/yum.repos.d/ - Imports the GPG key
- Optionally installs the specified package
- Homebrew: bordeux/homebrew-tap
- APT: bordeux/apt-repo
- Pacman: bordeux/arch-repo
- APK: bordeux/apk-repo
- RPM: bordeux/rpm-repo
If you prefer to set up repositories manually, see the README in each repository above.
MIT