Add mise and apt repository sources for dbvr
- Dominant language
- Java
- Stars
- 56
- Forks
- 7
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 5
Description
- Add mise and apt repository sources for dbvr.
- I see that https://github.com/dbeaver/dbvr/releases/tag/26.1.4 already has a `.deb` file for dbvr, but I find it a bit troublesome to have to find the actual URL every time I install it. It sounds like,
```bash
sudo apt update && sudo apt upgrade --assume-yes
curl --location --output /tmp/dbvr-ce-linux.deb https://github.com/dbeaver/dbvr/releases/download/26.1.4/dbvr-ce-26.1.4-linux-x86_64.deb
sudo apt install --assume-yes --fix-broken /tmp/dbvr-ce-linux.deb
dbvr --help
```
- Can we avoid the hassle of hunting for URLs by configuring a third-party apt repository, similar to how it's done here: https://github.com/cli/cli/blob/trunk/docs/install_linux.md#debian ?
```bash
(type -p wget >/dev/null || (sudo apt update && sudo apt install wget -y)) \
&& sudo mkdir -p -m 755 /etc/apt/keyrings \
&& out=$(mktemp) && wget -nv -O$out https://cli.github.com/packages/githubcli-archive-keyring.gpg \
&& cat $out | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null \
&& sudo chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg \
&& sudo mkdir -p -m 755 /etc/apt/sources.list.d \
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null \
&& sudo apt update \
&& sudo apt install gh -y
gh --version
```
- Or,
```bash
sudo add-apt-repository ppa:dbeaver/dbvr
sudo apt update
sudo apt install --assume-yes dbvr
dbvr --help
```
- Of course, this might not look very elegant; perhaps we could consider https://github.com/jdx/mise ?
```bash
curl https://mise.run/bash | sh
source ~/.bashrc
mise doctor
mise use --global dbvr@26.1.4
dbvr --help
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.