Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PPA install instructions to README #793

Merged
merged 14 commits into from
Aug 19, 2022
73 changes: 72 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ https://user-images.githubusercontent.com/44473782/160729779-41fe207c-b5aa-4fed-
- [New in v3](#New-in-v3)
- [Install](#Install)
- [Linux](#Linux)
- [Debian](#Debian)
- [Fedora](#Fedora)
- [Arch](#Arch)
- [From source](#Installing-from-source)
- [MacOS](#MacOS)
- [Windows](#Windows)
- [Android](#Android)
Expand Down Expand Up @@ -78,6 +82,37 @@ For more info on providers, please refer to [this](https://github.com/pystardust

### Linux

#### Debian

```
wget -qO- https://Wiener234.github.io/ani-cli-ppa/KEY.gpg | sudo tee /etc/apt/trusted.gpg.d/ani-cli.asc
wget -qO- https://Wiener234.github.io/ani-cli-ppa/ani-cli-debian.list | sudo tee /etc/apt/sources.list.d/ani-cli-debian.list
sudo apt update
Wiener234 marked this conversation as resolved.
Show resolved Hide resolved
sudo apt install ani-cli
```

#### Fedora

To install mpv (and vlc) you need _RPM Fusion free_ enabled. Simply follow the instructions here: https://rpmfusion.org/Configuration
To be able to install syncplay, you'll need to enable this copr repo (instructions included): https://copr.fedorainfracloud.org/coprs/batmanfeynman/syncplay/.

To install ani-cli:
```sh
sudo dnf copr enable derisis13/ani-cli
sudo dnf install ani-cli
```
*If for your distro uses rpm and you would like to see a native package, open an issue.*

#### Arch

Also consider ani-cli-git

```sh
yay -S ani-cli
```

#### Installing from source

Install dependencies [(See below)](#Dependencies)

```sh
Expand All @@ -88,6 +123,7 @@ cd .. && rm -rf "./ani-cli"
```
*Also note that mpv installed through flatpak is not compatible*


### MacOS

Install dependencies [(See below)](#Dependencies)
Expand All @@ -103,6 +139,8 @@ cd .. && rm -rf ./ani-cli

*To install (with Homebrew) the dependencies required on Mac OS, you can run:*

[todo]: <> (brew package instructions)

```sh
brew install curl grep axel openssl@1.1 ffmpeg git && \
brew install --cask iina
Expand All @@ -111,6 +149,8 @@ brew install --cask iina

### Windows

[todo]: <> (Scoop installation and notation of dependencies having to been installed trough scoop)

*Make sure git bash is installed [(Install)](https://git-scm.com/download/win)*

*Note that the installation instruction below must be done inside **Git Bash**, not in Command Prompt or Powershell*
Expand All @@ -128,6 +168,15 @@ cd .. && rm -rf ./ani-cli

Install termux [(Guide)](https://termux.com/)

#### Termux package

```sh
pkg up -y
pkg install ani-cli
```

#### From source

```sh
pkg up -y
rm -rf "$PREFIX/share/ani-cli" "$PREFIX/bin/ani-cli" "$PREFIX/bin/UI" "$PREFIX"/local/bin/player_* #If some of these aren't found, it's not a problem
Expand All @@ -146,6 +195,24 @@ referrer="https://animixplay.to/"

## Uninstall

* .deb:
```
sudo apt remove ani-cli
# to remove the repository from apt:
sudo rm -f /etc/apt/trusted.gpg.d/ani-cli.asc /etc/apt/sources.list.d/ani-cli-debian.list
```
* .rpm
```
sudo dnf remove ani-cli # for ani-cli
sudo dnf remove ani-cli-full # for ani-cli-full
# disable the repo in dnf
dnf copr disable derisis13/ani-cli
```
You might want to uninstall RPM fusion if you don't use it otherwise
* AUR:
```
yay -R ani-cli
```
* Linux:
```sh
sudo rm "/usr/local/bin/ani-cli"
Expand All @@ -159,7 +226,11 @@ In **Git Bash** run (as administrator):
```sh
rm "/usr/bin/ani-cli"
```
* Android:
* Termux package
```
pkg remove ani-cli
```
* Android:
```sh
rm "$PREFIX/bin/ani-cli"
```
Expand Down