ani-cli icon indicating copy to clipboard operation
ani-cli copied to clipboard

having issues installing and running ani-cli

Open saberab019-cloud opened this issue 4 months ago • 15 comments

Version: 4.10.0 OS: Linux Ubuntu Shell: dash

I'm new and I'm trying to install ani-cli installed everything thats needed but still it's not working

Image

saberab019-cloud avatar Jul 23 '26 18:07 saberab019-cloud

You need botan library for decryption: sudo apt-get install botan.

Also, update your ani-cli: ani-cli --update (always update to latest version when possible).

krisu5 avatar Jul 23 '26 18:07 krisu5

but why is there only mp4upload?

candrapersada avatar Jul 23 '26 23:07 candrapersada

@candrapersada Because 4.15 is really a stopgap, also that is unrelated to this issue

port19x avatar Jul 24 '26 06:07 port19x

if your using a mac and have iina installed already:

sudo nano "$(command -v ani-cli)"

then find this part: dep_ch_failover "iina,/Applications/IINA.app/Contents/MacOS/iina-cli,mpv,vlc"

Then Replace it with this:

dep_ch_failover "/Applications/IINA.app/Contents/MacOS/iina-cli,iina,mpv,vlc"

By the next update they have for ani-cli will probably overwrite the line edit

LeftfaceKing avatar Jul 24 '26 07:07 LeftfaceKing

if your using a mac and have iina installed already:

sudo nano "$(command -v ani-cli)"

then find this part: dep_ch_failover "iina,/Applications/IINA.app/Contents/MacOS/iina-cli,mpv,vlc"

Then Replace it with this:

dep_ch_failover "/Applications/IINA.app/Contents/MacOS/iina-cli,iina,mpv,vlc"

By the next update they have for ani-cli will probably overwrite the line edit

This is ... wrong? The whole point of dep_ch_failover is to allow multiple dependencies to fullfill the same role, in this case the role of video player. If you have iina installed as a homebrew cask, that is just iina. If you install it "out of band", it lives under /Applications/. Should this for whatever reason not work, open an issue, don't comment it under a random Ubuntu User seeking support.

port19x avatar Jul 24 '26 07:07 port19x

my bad I was just trying to help you're right I just thought I could put notes out for the current issue because I had the same one, and had to install botan through "brew install botan"

LeftfaceKing avatar Jul 24 '26 07:07 LeftfaceKing

You need botan library for decryption: sudo apt-get install botan.

Also, update your ani-cli: ani-cli --update (always update to latest version when possible).

Hey,

How can i downlod botan on windows? I cant find instructions anywhere.

lauri2882 avatar Jul 24 '26 16:07 lauri2882

easiest way would be directly from us @lauri2882 https://github.com/pystardust/ani-cli/releases/tag/v4.15

port19x avatar Jul 24 '26 16:07 port19x

easiest way would be directly from us @lauri2882 https://github.com/pystardust/ani-cli/releases/tag/v4.15

I tried to run botan-cli.exe and only a black window window popped up on my screen for a few seconds. After doing that, ani-cli still said that botan is not installed. Did I do something wrong?

Thanks to you guys for keeping such consistent support to this project :)

lauri2882 avatar Jul 24 '26 16:07 lauri2882

I tried to run botan-cli.exe and only a black window window popped up on my screen for a few seconds. After doing that, ani-cli still said that botan is not installed. Did I do something wrong?

You are not meant to run it.

Here is the install guide from the fix branch.

It assumes that you used scoop at some point. Otherwise put it in Git/bin folder, it should be somewhere in program files iirc


Botan is required to decrypt video sources. Download botan-cli.exe and its SHA-256 checksum from the v4.15 release. From the download directory, verify the executable in Git Bash:

cd ~/Downloads
sha256sum -c botan-cli.exe.sha256

Move botan-cli.exe into Scoop's shims directory, which is already in your Path:

mv botan-cli.exe "$HOME/scoop/shims/"

Restart Windows Terminal, then verify the installation from the Git Bash profile:

which botan-cli
botan-cli --version

vorlie avatar Jul 24 '26 16:07 vorlie

Thank you for this :)

Im really a noob in this so this field helped alot.

lauri2882 avatar Jul 24 '26 16:07 lauri2882

Hi, I am on Fedora KDE. I am facing the same issue. First updated ani-cli using

sudo ani-cli -U

since I haven't been watching for some weeks now. Currently ani-cli -V shows I am on version 4.15.0. After updating, I tried to use ani-cli as normal, but it keeps giving the same red error that Program "botan" not found. Then, I searched and then installed botan using

sudo dnf install botan

After that, tried to run ani-cli again, but it failed again. Then ran the update again, it says I am on latest branch. Fine all right. I re-open the terminal, then run ani-cli again, still same error. Now I am stuck.

Immediate edit: I updated the system using sudo dnf upgrade before updating ani-cli, and there was no changelog about botan or anything.

BulkTornado avatar Jul 25 '26 08:07 BulkTornado

The botan package on fedora refers to botan v1. We need a minimum of v2 to work with v3 being the ideal. If you are on Fedora 44, install botan3 from dnf. On 43 and lower install botan2 .

71zenith avatar Jul 25 '26 13:07 71zenith

@71zenith thank you. Now it works. I guess a little note suggesting what version of botan is needed will help future people. Does the owner accept pull requests? It would be my first attempt at PR on github. kinda nervous :)

BulkTornado avatar Jul 25 '26 22:07 BulkTornado

Closing since v5 is now fully released and working on all platforms.

port19x avatar Aug 01 '26 19:08 port19x