Skip to content

Can you build binaries for Linux OSes? #97

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

Open
2 tasks
Lirk88 opened this issue Sep 18, 2022 · 3 comments
Open
2 tasks

Can you build binaries for Linux OSes? #97

Lirk88 opened this issue Sep 18, 2022 · 3 comments
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers packaging Software Packaging

Comments

@Lirk88
Copy link

Lirk88 commented Sep 18, 2022

  • [ x ] I think my problem is NOT with youtube-dl
  • [ x ] I've verified and i assure that I'm running yt-dlg 1.X.Y
  • [ x ] I assure that i am using the latest version of youtube-dl
  • [ x ] Searched bugtracker
  • [ x ] I've read the FAQs file

What is the purpose of your issue?

  • Bug report
  • [ x ] Feature request (request for a new functionality)
  • [ x ] Question
  • Other

Question

Can you build binaries for Linux OSes? M.B. Snap/AppImage/Archived Package/DEB/RPM? Binary from this repository doesn't work on Ubuntu 22.04 with installed required python modules.

@oleksis oleksis added the documentation Improvements or additions to documentation label Sep 18, 2022
@oleksis
Copy link
Owner

oleksis commented Sep 18, 2022

Check the Releases section the yt-dlg asset or the Downloads section in the yt-dlg site

@DraconicNEO
Copy link

DraconicNEO commented Oct 18, 2022

Check the Releases section the yt-dlg asset or the Downloads section in the yt-dlg site

Do you think it would be possible for this to support flatpak or appimage I think it will be better and easier if this app supported these distribution methods since they are significantly less convoluted and broken than the current install method for Linux.

@Gr3q
Copy link

Gr3q commented Mar 13, 2023

I don't have time to test, but here is some help for Flatpak

Relevant flatpak docs:

You probably need to build the requirements:
python3 flatpak-pip-generator --requirements-file=requirements.txt, it will output extra modules to python3-yt-dlg.json. I know you don't have a requirements.txt but I'm sure flatpak-pip-generator has something alternative.

Flatpak manifest that might work excluding the extra work that the dependencies might need (like wxpython...I'm sure you'll have issues with that).

app-id: org.flatpak.yt-dlg
runtime: org.freedesktop.Platform
runtime-version: '22.08'
sdk: org.freedesktop.Sdk
command: yt-dlg
modules:
   # this file is generated with flatpak-pip-generator
   - python3-yt-dlg.json
   name: yt-dlg
   buildsystem: simple
   build-commands:
     - pip3 install --prefix=/app --no-deps .
   sources:
     - type: archive
       url: https://github.com/oleksis/youtube-dl-gui/archive/refs/tags/v1.8.5.tar.gz
       sha256: 8b1f9815857228a002680e2f64fc421055098c6dcfed6f6be17274b0cf45ca4a

@oleksis oleksis added packaging Software Packaging good first issue Good for newcomers labels Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers packaging Software Packaging
Projects
None yet
Development

No branches or pull requests

4 participants