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

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

 



On 12/13/20 8:31 AM, David King wrote:
On 12/12/20 1:58 PM, home user wrote:
On 12/12/20 8:41 AM, David King wrote:

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

I had to install alien.  This seemed to work.


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.

I had to install rpmrebuild.
rpmrebuild gave me a mere (almost) 1300 error messages.
I pasted them into a text file and put it on the google drive here:
"https://drive.google.com/file/d/1frF621bRMbZSIvIVnKffCF5DW_YujOnM/view?usp=sharing";

What now?

Might be that I forgot to give you instructions to create the RPM build directory tree that the rpm tools use.  Do you have this tree structure in your home directory?

~/rpmbuild
├── BUILD
├── RPMS
├── SOURCES
├── SPECS
└── SRPMS

If not, this command will create it:

mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}

Once that structure exists, try running the rpmrebuild again.

Another, better, way to set up the rpm build tree is to install the rpmdevtools package and run the "rpmdev-setuptree" script that it provides.  That adds a hidden ~/.rpmmacros config file that is used by the rpm builder tools.

--
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