Ask Your Question
1

how to get RPM packages from fedora 21 live dvd....??

asked 2015-02-18 13:50:09 -0600

Tiger gravatar image

i m download "Fedora-Live-Electronic_Lab-x86_64-21" now how to get all the packages that are in the live dvd......?? i m not find any rpm file in this dvd :( anyone help me...? when i m run live dvd i m getting many of softwere in this live dvd like "eclips,wireshark ect." bt where is the rpm file of eclipse and wireshark and other softwere.......??

edit retag flag offensive close merge delete

Comments

Why do you want to extract the rpm files of these software's from the LIVE DVD? You can get the rpm files of these software's over the internet.

anishjp gravatar imageanishjp ( 2015-02-19 00:55:35 -0600 )edit

actuly i m download Fedora-Live-Games-x86_64-21 and Fedora-Live-Electronic_Lab-x86_64-21 and now i want to install Fedora-Live-Electronic_Lab-x86_64-21's softwere in fedora game ......that's why.....

Tiger gravatar imageTiger ( 2015-02-19 10:01:00 -0600 )edit

The repository is already present on DVD

yum --disablerepo=\* --enablerepo=fedora-media install wireshark
davidva gravatar imagedavidva ( 2015-02-23 00:10:20 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
2

answered 2015-02-22 01:50:23 -0600

hedayat gravatar image

updated 2015-02-22 01:51:32 -0600

Generally speaking, you can't, because live images doesn't contain ANY .rpm packages; but they contain pre-installed packages. In other words, they contain a fully working root filesystem (this is why they can work without installation). So, extracting .rpm packages from a live image is similar to extracting RPM packages from an already installed Fedora system. (e.g. Your own Fedora installation). Live images contain nothing but a compressed Fedora installation.

Therefore, instead of downloading Fedora Electronics live image, you'd better installing its packages in your Fedora installation using yum/dnf/etc.

However, if you REALLY want to extract packages from a live image (or any working Fedora installation), there is one possibility: creating .rpm packages from the installed package files using rpmrebuild. rpmrebuild builds an .rpm package from an installed package.

So, how to do it? You should boot the desired live image (or if it is installed somewhere, boot that), install rpmrebuild package in it (IIRC, it should be possible even when you boot live DVD, it'll be installed into RAM. If not, you might create a bootable USB from liveimage and create a small overlay for it, so that you can install rpmrebuild); and then use rpmrebuild to create the desired .rpm packages from the installed files. If you want to create .rpms for many packages, you should create an script to do it for you (probably it is easer to just try to rebuild .rpm for all installed packages using the output of rpm -qa).

edit flag offensive delete link more
2

answered 2015-02-19 17:41:14 -0600

mether gravatar image

Files in a Live dvd image are compressed and formatted in a specific way and are quite quickly outdated. You are better off using yum or GNOME Software or any other graphical interface to install the software you need from online repositories.

edit flag offensive delete link more

Comments

please clearly tell me that how to get rpm package from the live dvd

Tiger gravatar imageTiger ( 2015-02-20 12:51:16 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2015-02-18 13:50:09 -0600

Seen: 704 times

Last updated: Feb 22 '15