-
Notifications
You must be signed in to change notification settings - Fork 401
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
[question] Instructions to bootstrap Fedora RPM repository using dnf and rpm? #2095
Comments
I'm not sure we have this documented anywhere, but I have a couple ideas how to do it:
I think no matter what, you're not going to get very far installing most packages (including installing There is also the INSTALL document in the RPM repository if you want to go the route of installing each dependency from source, without Nix or a separate system to help bootstrap. I hope that's somewhat helpful, let me know if I can clarify anything. There may be errors in these instructions since I jotted them down quickly. |
If you want to port Fedora to a new platform, you need to to be familiar with bootstrapping Linux systems (binutils, gcc, glibc) and with building Fedora (rpmbuild, Mock, Koji). For the later I recommend you contacting RISC-V people https://fedoraproject.org/wiki/Architectures/RISC-V who have the latest experience. If you want simply to install Fedora packages into a Fedora-supported platform, don't do it as the installed files will probably collide with the files from your original system. Rather use chroot/name spaces/virtual machines. For the chroot method, build RPM and DNF for your original system from sources, and then use "dnf --installroot" to populate a subdirectory with Fedora packages. Or download a container image https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Container/x86_64/images/ and unpack it. Container images are basically tar archives. Then you can simply chroot inside. |
If you need further help, feel free to reach out to us. However, since detailed answers have already been provided and this issue is not directly related to DNF, I am closing this. |
I would like to bootstrap the Fedora repository and install packages on a non-Fedora machine.
Are there instructions how to do this, when there is no dnf installed?
What are the prerequisites?
The text was updated successfully, but these errors were encountered: