deb-get icon indicating copy to clipboard operation
deb-get copied to clipboard

Support for one time usage of deb-get

Open Fuseteam opened this issue 2 years ago • 5 comments

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?

Fuseteam avatar Dec 20 '22 00:12 Fuseteam

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

marosg42 avatar Feb 18 '23 21:02 marosg42

ah cool, We'll try that

Fuseteam avatar Feb 19 '23 12:02 Fuseteam

Indeed, attempting to install alone doesn't work: image

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)

JamiKettunen avatar Feb 20 '23 00:02 JamiKettunen

hmmmm how would chaining commands work actually?

Fuseteam avatar Apr 24 '24 00:04 Fuseteam

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.

JamiKettunen avatar Apr 24 '24 07:04 JamiKettunen