Submit your Linux news story here.

A super simple way for extracting a .deb and .rpm file without installing on Linux

Downloaded a .deb or a .rpm file on your Linux system? Want to extract just a config file for installation? Try these tips to extract those files and save your time.

From the page:

A Debian or Ubuntu .deb package is nothing but old good Unix ar archive format. The ar command is used to keep together groups of files as a single archive and .deb includes the following three files.

To be frank, there is no direct option available for the rpm command to extract an RPM file. However, there is a small nifty utility available called rpm2cpio. It extracts cpio archive from RPM Package Manager (RPM) package. With the following hack, you will be able to extract an RPM file.

Comments on this entry are closed.