Product SiteDocumentation Site

19.2.2. Extracting the software

If the system you plan to port RPM doesn’t have the tar and gzip commands available, or something that supports these formats, then you need to find a way to extract the software.
Programs such as WinZip on Windows support extracting .tar.gz files. Your platform may have a similar program.
One way is to port the gzip and tar commands to your platform.
Cross Reference
You can download the sources for tar and gzip from
Another way is to extract the sources on a platform with these commands available, such as a Linux platform. Then, create a file using a format supported by your operating system and transfer the files to the other system.
Once you have the RPM source code available on your target system, and all the files are extracted, you are ready to start porting. The first step is really simple: read.