Extracting files from packages

The easy way to extract files from packages is with mc (midnight commander), a text-based file manager that has the nice feature that explores inside various types of archives and packages, including RPM packages. So if you start mc in a directory in which there is an RPM package, as shown in Figure 2-1, you can examine the package using mc as shown in Figure 2-2 and copy or read a text file from within mc.

Figure 2-1: A directory containing an RPM in mc
Figure 2-2: Looking inside an RPM with mc

Was this article helpful?

0 0

Post a comment