deb-get
deb-get copied to clipboard
Support for one time usage of deb-get
Requesting a new feature 🧑💻
If you are proposing a new feature for deb-get
please describe the proposed
feature with as much detail as possible here:
It appears some packagers rather not have their users first install deb-get before installing their package, bui they might be ok with something like curl -sL https://raw.githubusercontent.com/wimpysworld/deb-get/main/deb-get | sudo -E bash -s install <package-name>
perhaps frozen to a certain commit
I don't quite understand how the curl command works but currently it errors out for anything but deb-get xd
Would it be possible support one time usage?
You need to run update first. This worked for me on the first try. You don't need to use sudo
becasue deb-get
will request it automatically
curl -sL https://raw.githubusercontent.com/wimpysworld/deb-get/main/deb-get| bash -s update
curl -sL https://raw.githubusercontent.com/wimpysworld/deb-get/main/deb-get| bash -s install flameshot
ah cool, We'll try that
Indeed, attempting to install alone doesn't work:
My 2 possible solutions would be:
- Automatically run
update
when/var/cache/deb-get/deb-get.json
doesn't exist (kind of bad) - Allow chaining commands together in a single command without having to run
deb-get
more than once (better imho)
hmmmm how would chaining commands work actually?
Something like curl -sL .../deb-get| bash -s update install waydroid
similar to what Google's fastboot
for example allows doing, probably implemented by looping over each arg and making a list of actions to run starting from each known word (update
, upgrade
, ...) instead of just $1
and passing everything else as arguments to that function.