Skip to content

Instantly share code, notes, and snippets.

@aimerneige
Last active August 9, 2022 05:12
Show Gist options
  • Save aimerneige/a7917a2fc15b17374093aab57ec5e099 to your computer and use it in GitHub Desktop.
Save aimerneige/a7917a2fc15b17374093aab57ec5e099 to your computer and use it in GitHub Desktop.
Install Icalingua-Plus-Plus
set -e
icalingua_latest_download_link=$(curl -s https://api.github.com/repos/Icalingua-plus-plus/Icalingua-plus-plus/releases/latest | grep browser_download_url | grep x86_64.rpm | cut -d '"' -f 4)
mkdir -p /tmp/Icalingua
wget ${icalingua_latest_download_link} -O /tmp/Icalingua/Icalingua.rpm
sudo dnf install /tmp/Icalingua/Icalingua.rpm
rm /tmp/Icalingua -rf
@aimerneige
Copy link
Author

其他发行版可以改一下 grep x86_64.rpm 这一部分

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment