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

[Bug]: Can't install ffmpeg on Fedora #781

Closed
kro-ai opened this issue Oct 4, 2024 · 14 comments
Closed

[Bug]: Can't install ffmpeg on Fedora #781

kro-ai opened this issue Oct 4, 2024 · 14 comments
Labels
bug Something isn't working

Comments

@kro-ai
Copy link

kro-ai commented Oct 4, 2024

Project Version

Latest version

Platform and OS Version

Nobara 40 (Fedora)

Affected Devices

Linux

Existing Issues

No response

What happened?

I've been using Applio on Linux with no issues, but I recently updated my machine and decided to re-install Applio, but right after clicking install-applio.sh, but almost immediately it gives an error "Unsupported distribution for FFmpeg installation." I'm not sure If you guys updated ffmpeg to another version or what, but It has broken the install on Linux.

Steps to reproduce

  1. Try to install
  2. Error

Expected behavior

I expect it to install properly.

Attachments

No response

Screenshots or Videos

No response

Additional Information

No response

@kro-ai kro-ai added the bug Something isn't working label Oct 4, 2024
@arisdev-git
Copy link
Contributor

I will fix it, this happens because in Fedora there is no package manager like “apt” or “pacman”, it is fixed by adding zipper and dnf.

@arisdev-git
Copy link
Contributor

Of course, if I remove the package managers, ffmpeg would not install or some audio formats would fail.

@kro-ai
Copy link
Author

kro-ai commented Oct 4, 2024

@aris-py Ah okay! that makes sense

@arisdev-git
Copy link
Contributor

I saw what the problem is, it's the Fedora repositories which don't have the FFmpeg package, I have a solution for you:

  • Enable RPM Fusion: Run these commands to enable the RPM Fusion repositories (both free and non-free version):
    sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm sudo dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
  • Then install ffmpeg with this command: sudo dnf install ffmpeg ffmpeg-libs
  • And finally verify the installation of ffmpeg with ffmpeg --version.

@kro-ai
Copy link
Author

kro-ai commented Oct 4, 2024

I'm on Nobara, and It already has ffmpeg pre-installed, I tried "sudo dnf install ffmpeg ffmpeg-libs" and it gave an error because of that. Which is why It's really strange that Applio won't install. It's ffmpeg-free.

@arisdev-git
Copy link
Contributor

I'm testing my fix in Fedora and I see that it works, if everything goes well I'll make a pr to fix it.

@kro-ai
Copy link
Author

kro-ai commented Oct 4, 2024

@aris-py I appreciate it!

@arisdev-git
Copy link
Contributor

You can test my fix through my Applio fork where I test to see if everything works correctly.
https://github.com/aris-py/ApplioLinux

@kro-ai
Copy link
Author

kro-ai commented Oct 4, 2024

Unfortunately It didn't work, now It says "Unsupported package manager for installing ffmpeg."

@arisdev-git
Copy link
Contributor

I will try FlatPack

@kro-ai
Copy link
Author

kro-ai commented Oct 4, 2024

Alright

@arisdev-git
Copy link
Contributor

I just installed Nobara Linux for better testing

@kro-ai
Copy link
Author

kro-ai commented Oct 5, 2024

I'm just wondering what has changed, because I've used Applio on Nobara without issue before.. Really strange

@kro-ai
Copy link
Author

kro-ai commented Oct 5, 2024

@aris-py I saw you had pushed a few updates so I gave your repo another try, and It looks like It's working! So whatever change you pushed seems to have fixed it.

EDIT: Can confirm it is working, I've even tried training a model.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants