pystardust / ani-cli

A cli tool to browse and play anime
GNU General Public License v3.0
7.9k stars 541 forks source link

Not Installing on Fedora 40 from Repo and doesn't run from Source either #1222

Closed tegaidogun closed 11 months ago

tegaidogun commented 1 year ago

Version: [Latest] OS: Fedora Linux 40 Shell: fish Anime: N/A

Describe the bug No repository for Fedora, and setting it up on my system didn't work either way as the ani-cli ran but the episode didn't start.

Steps To Reproduce

  1. Run sudo dnf copr enable derisis13/ani-cli sudo dnf install ani-cli.

Expected behavior Installing ani-cli should work

Screenshots Screenshot from 2023-09-30 23-36-08 07557b4b29.png)

Sarvasv-0 commented 1 year ago

Short Answer

you can use this until the error is fixed

  1. Install the dependencies manually, I don't know why this step is not mentioned in the readme. Anyways you can do this by pasting the following in the terminal (assuming rpmfusion is already enabled in your distro)

    sudo dnf install grep sed curl mpv aria2 yt-dlp ffmpeg fzf
  2. download the latest ani-cli release at releases Screenshot from 2023-10-02 21-09-29

  3. navigate to the folder where you have downloaded the file

  4. open terminal app

  5. copy the file to bin folder by pasting this in the terminal

    sudo cp ./ani-cli /usr/local/bin/
  6. restart the terminal emulator/app

  7. enjoy!

Long Answer

The error is occurring because the ani-cli package Fedora 40 is not yet added in the repository. This is one of the reason I resist to Update my Distro quickly (I use fedora 38), you can fix this by installing the fedora 38 package by this method on unix stackexchange but since it is very old, I don't recommend using it.


Ending the discussion, I just want to tell you that if you want to avoid a hassle then you can use the method mentioned in the short answer


Derisis13 commented 1 year ago

Is there a Fedora 40? I don't see a download link on the website (torrent.fedoraproject.org) nor is there a chroot to it on copr. I enabled Fedora 39 as a chroot but until 40 is added to copr I can't build you a package. I think you can still get the source .rpm from the repo and build yourself a package if you wish to... Otherwise the packages should be near identical (unless dnf/yum changed between 40 and 38 significantly) it's a really simple build. But to be safe I'd recommend the source installation too.

I've submitted v4.6.1 for rebuild, it should appear in the new repos (I also added Suse 15.5) hopefully

tegaidogun commented 11 months ago

Oh, it seems to be arising from the lack of OpenH264 support on that alpha build of Fedora, Apologies for the delay i response.

I'm closing this issue.

Derisis13 commented 11 months ago

Oh, it seems to be arising from the lack of OpenH264 support on that alpha build of Fedora

Can you elaborate? Do we need an extra dependency for the Fedora 40 package?

tegaidogun commented 11 months ago

Oh no, as of the last time I check the Alpha Build of Fedora 40 has no OpenH264 support on both the free and non-free repos.

Derisis13 commented 11 months ago

Well mpv and vlc already requires you to install rpmsphere-free and I assume fedora40 will place it there just like many other "questionable" and "contravertial" software