cask-pkg / cask.rs

A universal, distributed binary file manager. 一个通用的去中心化二进制管理器
MIT License
74 stars 3 forks source link

install.sh doesn't work for x86_64 #43

Closed cwhuang closed 1 year ago

cwhuang commented 1 year ago

As title. Seems cask-x86_64-unknown-linux-gnu.tar.gz was hidden from the URL https://github.com/cask-pkg/cask.rs/releases (unless you press 'Show all * assets')

axetroy commented 1 year ago

Thanks for your feedback.

This has been fix at 2 months ago in https://github.com/cask-pkg/cask.rs/commit/2cb983c335bb3923640c68623f3a67c3973406f8

But jsdelivr CDN seem did not refresh the cache.

Try to install it from Github source file.

root@ygy-ubuntu1804:/home/ygy# curl https://raw.githubusercontent.com/cask-pkg/cask.rs/main/install.sh | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3121  100  3121    0     0   3667      0 --:--:-- --:--:-- --:--:--  3663
[1/3] Download https://github.com/cask-pkg/cask.rs/releases/download/v0.4.10/cask-x86_64-unknown-linux-gnu.tar.gz to /root/Downloads
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 1538k  100 1538k    0     0   111k      0  0:00:13  0:00:13 --:--:--  203k
[2/3] Install cask to the /usr/local/bin
[3/3] Set environment variables
cask was installed successfully to /usr/local/bin/cask
Run 'cask --help' to get started
root@ygy-ubuntu1804:/home/ygy# cask --help
cask v0.4.10
Axetroy <axetroy.dev@gmail.com>
General distributed binary distribution package management, written in Rust.

USAGE:
    cask <SUBCOMMAND>

OPTIONS:
    -h, --help       Print help information
    -V, --version    Print version information

SUBCOMMANDS:
    check-updates     Check and update packages to latest [aliases: check-upgrades]
    clean             Clear residual data [aliases: clear]
    help              Print this message or the help of the given subcommand(s)
    homepage          Open homepage of package [aliases: home]
    info              Show information of package
    install           Install package [aliases: i]
    list              List installed package [aliases: ls]
    relink            Relink installed packages
    remote            Operation for build-in formula
    self-uninstall    Uninstall cask itself and installed package
    self-update       Update Cask to the newest version [aliases: self-upgrade]
    uninstall         Uninstall package [aliases: rm]
    update            Upgrade package to latest [aliases: upgrade]