yakshaveinc / linux

software engineering for Linux projects
The Unlicense
1 stars 3 forks source link

Installer/updater to fetch binary packages (from GitHub) #41

Open abitrolly opened 3 years ago

abitrolly commented 3 years ago

There should be a better way to install/update verified binaries from GitHub than copy/pasting this shell lines - https://github.com/yakshaveinc/linux/blob/18273d092bee52cfd51551d60281e43b637381ee/docops/CHEATSHEET.md

It can be fixed by a tool with some query logic. Let's name it instabin.

Existing solutions

abitrolly commented 3 years ago

These projects look promising.

abitrolly commented 3 years ago

Howebrew installation.

...
==> This script will install:
/home/anatoli/.linuxbrew/bin/brew
/home/anatoli/.linuxbrew/share/doc/homebrew
/home/anatoli/.linuxbrew/share/man/man1/brew.1
/home/anatoli/.linuxbrew/share/zsh/site-functions/_brew
/home/anatoli/.linuxbrew/etc/bash_completion.d/brew
/home/anatoli/.linuxbrew/Homebrew
==> The following new directories will be created:
/home/anatoli/.linuxbrew/bin
/home/anatoli/.linuxbrew/etc
/home/anatoli/.linuxbrew/include
/home/anatoli/.linuxbrew/lib
/home/anatoli/.linuxbrew/sbin
/home/anatoli/.linuxbrew/share
/home/anatoli/.linuxbrew/var
/home/anatoli/.linuxbrew/opt
/home/anatoli/.linuxbrew/share/zsh
/home/anatoli/.linuxbrew/share/zsh/site-functions
/home/anatoli/.linuxbrew/var/homebrew
/home/anatoli/.linuxbrew/var/homebrew/linked
/home/anatoli/.linuxbrew/Cellar
/home/anatoli/.linuxbrew/Caskroom
/home/anatoli/.linuxbrew/Homebrew
/home/anatoli/.linuxbrew/Frameworks
...
Warning: /home/anatoli/.linuxbrew/bin is not in your PATH.
==> Installation successful!

==> Homebrew has enabled anonymous aggregate formulae and cask analytics.
Read the analytics documentation (and how to opt-out) here:
  https://docs.brew.sh/Analytics
No analytics data has been sent yet (or will be during this `install` run).
...
$ du -hs ~/.linuxbrew 
508M    /home/anatoli/.linuxbrew