ΠΠ°Π³ΡΡΠ·ΠΊΠ° ΡΠ΅Π»ΠΈΠ·ΠΎΠ² Ρ GitHub Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΡΡΠΈΠ»ΠΈΡΡ ΠΊΠΎΠΌΠ°Π½Π΄Π½ΠΎΠΉ ΡΡΡΠΎΠΊΠΈ eget.
ΠΡΠΎΠ²Π΅ΡΡΡΠ΅ ΠΈ Π·Π°Π³ΡΡΠ·ΠΈΡΠ΅ ΠΏΠΎΡΠ»Π΅Π΄Π½ΠΈΠΉ ΡΠ΅Π»ΠΈΠ·.
$ wget https://github.com/zyedidia/eget/releases/download/v1.3.3/eget-1.3.3-linux_amd64.tar.gz
ΠΡΠΎΠ²Π΅ΡΠΈΠΌ ΡΠΎΠ΄Π΅ΡΠΆΠΈΠΌΠΎΠ΅ Π°ΡΡ ΠΈΠ²Π°.
$ tar --list --verbose --gzip --file eget-1.3.3-linux_amd64.tar.gz
drwxr-xr-x zachary/staff 0 2023-02-22 06:13 eget-1.3.3-linux_amd64/ -rw-r--r-- zachary/staff 1074 2023-02-22 06:13 eget-1.3.3-linux_amd64/LICENSE -rwxr-xr-x zachary/staff 6332416 2023-02-22 06:13 eget-1.3.3-linux_amd64/eget -rw-r--r-- zachary/staff 14145 2023-02-22 06:13 eget-1.3.3-linux_amd64/README.md -rw-r--r-- zachary/staff 10788 2023-02-22 06:13 eget-1.3.3-linux_amd64/eget.
ΠΠ·Π²Π»Π΅ΡΠ΅Π½ΠΈΠ΅ Π±ΠΈΠ½Π°ΡΠ½ΠΎΠ³ΠΎ ΡΠ°ΠΉΠ»Π°.
$ tar --extract --gzip --strip-components 1 --file eget-1.3.3-linux_amd64.tar.gz eget-1.3.3-linux_amd64/eget
Π£ΡΡΠ°Π½ΠΎΠ²ΠΈΡΠ΅ Π΅Π³ΠΎ.
$ sudo install --group root --owner root --mode 755 eget /usr/local/bin/
Π£Π΄Π°Π»ΠΈΡΡ ΠΈΠ·Π²Π»Π΅ΡΠ΅Π½Π½ΡΠΉ ΡΠ°ΠΉΠ».
$ rm eget
ΠΡΠΎΠ±ΡΠ°ΠΆΠ΅Π½ΠΈΠ΅ ΡΠΏΡΠ°Π²ΠΎΡΠ½ΠΎΠΉ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΠΈ.
$ eget --help
Usage:
eget [OPTIONS] TARGET
Application Options:
-t, --tag= tagged release to use instead of latest
--pre-release include pre-releases when fetching the latest version
--source download the source code for the target repo instead of a release
--to= move to given location after extracting
-s, --system= target system to download for (use "all" for all choices)
-f, --file= glob to select files for extraction
--all extract all candidate files
-q, --quiet only print essential output
-d, --download-only stop after downloading the asset (no extraction)
--upgrade-only only download if release is more recent than current version
-a, --asset= download a specific asset containing the given string; can be specified multiple times for
additional filtering; use ^ for anti-match
--sha256 show the SHA-256 hash of the downloaded asset
--verify-sha256= verify the downloaded asset checksum against the one provided
--rate show GitHub API rate limiting information
-r, --remove remove the given file from $EGET_BIN or the current directory
-v, --version show version information
-h, --help show this help message
-D, --download-all download all projects defined in the config file
-k, --disable-ssl disable SSL verification for download requests
ΠΠ°Π³ΡΡΠ·ΠΈΡΠ΅ ΠΏΠΎΡΠ»Π΅Π΄Π½ΠΈΠΉ arm64-Π²ΡΠΏΡΡΠΊ coder/code-server.
$ eget --system=linux/arm64 coder/code-server
https://github.com/coder/code-server/releases/download/v4.19.0/code-server-4.19.0-linux-arm64.tar.gz Downloading 100% [=================================================================================] (92/92 MB, 1.074 MB/s) Extracted `code-server-4.19.0-linux-arm64.tar.gz` to `code-server-4.19.0-linux-arm64.tar.gz`
ΠΠ°Π³ΡΡΠ·ΠΈΡΠ΅ ΡΠ΅Π»ΠΈΠ· Ρ ΠΌΠ΅ΡΠΊΠΎΠΉ v.1.15.0 ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΡ plankanban/planka.
$ eget --download-only --tag=v1.15.0 plankanban/planka
https://github.com/plankanban/planka/releases/download/v1.15.0/planka-prebuild-v1.15.0.zip Downloading 100% [=================================================================================] (6.8/6.8 MB, 2.820 MB/s) Extracted `planka-prebuild-v1.15.0.zip` to `planka-prebuild-v1.15.0.zip`
ΠΠ°Π³ΡΡΠ·ΠΈΡΡ ΠΈΡΡ ΠΎΠ΄Π½ΡΠΉ ΠΊΠΎΠ΄ (ΠΌΠ°ΡΡΠ΅Ρ-Π²Π΅ΡΠΊΠΊΠΈ) MidnightCommander/mc.
$ eget --system=linux/arm64 --download-only --source MidnightCommander/mc
https://github.com/MidnightCommander/mc/tarball/master/mc.tar.gz β Downloading (2.8 MB, 2.440 MB/s) Extracted `mc.tar.gz` to `mc.tar.gz`
ΠΡΠΎΠ±ΡΠ°ΠΆΠ΅Π½ΠΈΠ΅ ΡΠ΅ΠΊΡΡΠΈΡ ΠΎΠ³ΡΠ°Π½ΠΈΡΠ΅Π½ΠΈΠΉ.
$ eget --rate
Limit: 60, Remaining: 31, Reset: 2023-11-24 18:54:27 +0100 CET
ΠΠ°Π³ΡΡΠ·ΠΈΡΠ΅ ΠΏΠΎΡΠ»Π΅Π΄Π½ΠΈΠΉ amd64-ΡΠ΅Π»ΠΈΠ· sharkdp/bat, ΠΎΠ±ΡΠ°ΡΠΈΡΠ΅ Π²Π½ΠΈΠΌΠ°Π½ΠΈΠ΅ Π½Π° Π΄Π²ΡΡΠΌΡΡΠ»Π΅Π½Π½ΠΎΡΡΡ.
$ eget --system=linux/amd64 --download-only sharkdp/bat
2 matches found: please select manually (1) bat-v0.24.0-x86_64-unknown-linux-gnu.tar.gz (2) bat-v0.24.0-x86_64-unknown-linux-musl.tar.gz Enter selection number: 1 https://github.com/sharkdp/bat/releases/download/v0.24.0/bat-v0.24.0-x86_64-unknown-linux-gnu.tar.gz Downloading 100% [=================================================================================] (2.9/2.9 MB, 2.771 MB/s) Extracted `bat-v0.24.0-x86_64-unknown-linux-gnu.tar.gz` to `bat-v0.24.0-x86_64-unknown-linux-gnu.tar.gz`
ΠΠ°Π³ΡΡΠ·ΠΈΡΡ ΠΏΠΎΡΠ»Π΅Π΄Π½ΠΈΠΉ amd64-ΡΠ΅Π»ΠΈΠ· sharkdp/bat ΠΈ Ρ ΡΠ°Π½ΠΈΡΡ Π΅Π³ΠΎ Π² ΠΎΠΏΡΠ΅Π΄Π΅Π»Π΅Π½Π½ΠΎΠΌ ΠΊΠ°ΡΠ°Π»ΠΎΠ³Π΅, Π° ΡΠ°ΠΊΠΆΠ΅ Π΄ΠΎΠ±Π°Π²ΠΈΡΡ ΡΠΈΠ»ΡΡΡ Π°ΠΊΡΠΈΠ²ΠΎΠ² Π΄Π»Ρ Π±ΠΎΠ»ΡΡΠ΅ΠΉ ΡΡΡΠΎΠ³ΠΎΡΡΠΈ.
$ eget --system=linux/amd64 --download-only --asset=gnu --to=~/apps/ sharkdp/bat
https://github.com/sharkdp/bat/releases/download/v0.24.0/bat-v0.24.0-x86_64-unknown-linux-gnu.tar.gz Downloading 100% [=================================================================================] (2.9/2.9 MB, 3.124 MB/s) Extracted `bat-v0.24.0-x86_64-unknown-linux-gnu.tar.gz` to `~/apps/bat-v0.24.0-x86_64-unknown-linux-gnu.tar.gz`
ΠΠ°Π³ΡΡΠ·ΠΈΡΠ΅ ΠΏΠΎΡΠ»Π΅Π΄Π½ΠΈΠΉ amd64-ΡΠ΅Π»ΠΈΠ· junegunn/fzf ΠΈ ΠΈΠ·Π²Π»Π΅ΠΊΠΈΡΠ΅ ΠΎΡΡΠΈΠ»ΡΡΡΠΎΠ²Π°Π½Π½ΡΠ΅ ΡΠ°ΠΉΠ»Ρ Π² ΠΎΠΏΡΠ΅Π΄Π΅Π»Π΅Π½Π½ΠΎΠ΅ ΠΌΠ΅ΡΡΠΎ.
$ eget --system=linux/amd64 --file=fzf --to=~/bin/ junegunn/fzf
https://github.com/junegunn/fzf/releases/download/0.44.1/fzf-0.44.1-linux_amd64.tar.gz Downloading 100% [=================================================================================] (1.4/1.4 MB, 2.524 MB/s) Extracted `fzf` to `~/bin/fzf`
ΠΠ°Π³ΡΡΠ·ΠΈΡΠ΅ ΠΏΠΎΡΠ»Π΅Π΄Π½ΡΡ ΠΏΡΠ΅-ΡΠ΅Π»ΠΈΠ· Π²Π΅ΡΡΠΈΡ coder/code-server Π΄Π»Ρ ΠΏΠ»Π°ΡΡΠΎΡΠΌΡ amd64.
$ eget --system=linux/amd64 --download-only --pre-release coder/code-server
https://github.com/coder/code-server/releases/download/v4.19.1-rc.1/code-server-4.19.1-rc.1-linux-amd64.tar.gz Downloading 100% [=================================================================================] (92/92 MB, 21.645 MB/s) Extracted `code-server-4.19.1-rc.1-linux-amd64.tar.gz` to `code-server-4.19.1-rc.1-linux-amd64.tar.g
- πΒ ΠΠ°ΠΊ ΡΡΡΠ°Π½ΠΎΠ²ΠΈΡΡ ΠΏΠ°ΠΊΠ΅ΡΡ Python ΠΈΠ· GitHub Π½Π° Linux
- πΒ ΠΠ±Π·ΠΎΡ Π»ΡΡΡΠΈΡ Π³ΡΠ°ΡΠΈΡΠ΅ΡΠΊΠΈΡ Git-ΠΊΠ»ΠΈΠ΅Π½ΡΠΎΠ² ΠΈ ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌ ΠΏΡΠΎΡΠΌΠΎΡΡΠ° Git-ΡΠ΅ΠΏΠΎΠ·ΠΈΡΠΎΡΠΈΠ΅Π² Π΄Π»Ρ Linux
- πΒ ΠΠ°ΠΊ ΡΠ΄Π°Π»ΠΈΡΡ ΡΠ΄Π°Π»Π΅Π½Π½ΡΠΉ Git
- βΒ Π‘ΠΎΠ·Π΄Π°Π½ΠΈΠ΅ ΡΠΎΠ΄ΠΈΡΠ΅Π»ΡΡΠΊΠΈΡ ΠΊΠ°ΡΠ°Π»ΠΎΠ³ΠΎΠ² Ρ ΠΏΠΎΠΌΠΎΡΡΡ Curl Ρ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΠ΅ΠΌ ΡΠ»Π°Π³Π° βcreate-dirs
![]()
