Re: how to install "4K Video Downloader"?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/11/20 3:19 PM, Samuel Sieb wrote:

I use "youtube-dl" from the command line, it gives you a lot of control over exactly what formats you want.  "youtube-dl -F url" will give you the list of available formats and then you can use "youtube-dl -f {n} url" to get it.  See the man page for details.  Btw, even though it's called "youtube"-dl, it can download from many other sites as well.

I use both 4kVideoDownloader and youtube-dl because neither of them handles all videos.

Installing 4kVideoDownloader on Fedora isn't all that difficult:

1)  Use the "alien" tool to convert the deb package to an rpm package:

sudo alien --to-rpm --scripts 4kvideodownloader_4.13.5-1_amd64.deb

2)  Fix the rpm package so that it doesn't try to "own" the "/usr" and "/usr/bin" directories.

rpmrebuild --edit-spec 4kvideodownloader-4.13-6.x86_64.rpm

When the VI editor session opens, scroll down to the "%files" section of the file and delete the first eight lines:

%dir %attr(0755, root, root) "/"
%dir %attr(0755, root, root) "/usr"
%dir %attr(0755, root, root) "/usr/lib"
%dir %attr(0755, root, root) "/usr/lib/.build-id"
%dir %attr(0755, root, root) "/usr/lib/.build-id/a4"
%attr(0777, root, root) "/usr/lib/.build-id/a4/0b64ce7d0c022c77cd85ad6f405b529dc8004c"
%dir %attr(0755, root, root) "/usr/lib/.build-id/f7"
%attr(0777, root, root) "/usr/lib/.build-id/f7/997df8fab1b5db8950848b227407154e389688"

Save the file and let the rebuild complete.

3) Insrall the rpm package using dnf as usual:

sudo dnf install ~/rpmbuild/RPMS/x86_64/4kvideodownloader-4.13-6.x86_64.rpm

--
David King
dave at daveking dot com
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux