Redirected from PET files.
cn::de::es::fr::gr::hu::it::ja::kr::nl::pl::pt::ru::se::us::vn::

HomePage > ComponentHowTo Components and HowTos > FileTypes / CompilingIndex Compiling

Pet files

PET (Puppy's Extra Treats) files are used in Puppy 2.14 and later. They are packages that add extra software. Pets are available from the PPM Puppy Package Management system. Click on a downloaded Pet file to install the software.

Compatibility Across Different Puppy Versions
PET files should never be assumed interchangeable between versions. Sometimes it works - sometimes not.

An older pet is more likely to work on a newer puppy than the reverse.

When you compile a package, it looks at all the specifics of your OS and builds the program customized for that OS. Simpler programs need fewer specifics than complex ones - so simple stuff tends to be more portable.

Also, if your using a derivative its useful to find out which 'mainstream' PuppyVersionIndex version of Puppy its based on.

File Contents
Pets are tarballs, just like '.tar.gz' files, with a MD5sum MD5sum appended on the end. The in-built MD5sum MD5sum is handy, as the file can be checked for integrity after being downloaded. They are used for packaging programs designed or compiled for Puppy and provide desktop icons, menu info etc specific to Puppy. Tarball files have a .tar extension. Or tar.gz if compressed with gzip. Pet files on the other hand have a .pet extension.

Also, two script files may be present-
pinstall.sh that executes immediately after the package files are installed
puninstall.sh that executes immediately after the files are uninstalled.

Extract Pet file contents
It can sometimes be useful to extract the contents of a Pet file, do this by first installing Extract-pet which can be found in the link below in the related web pages section.
uextract-3.32.pet is another good tool. The link to it is in the related web pages section below. It can also extract .rpm files and a number of other compressed files. It adds a desktop icon if wanted, and a menu entry in the utilities menu listing. Has a Gui for you to navigate to files you want to extract, and then destination where you want to extract it to.

Packit is also another good tool for extracting different compressed files. The link to where to get it on Puppy Discussion Forum is below in the related web pages section. It adds a desktop icon if wanted, and a menu entry in the utilities menu listing. Has a Gui also.

Creating Pets

Commands
dir2pet - Makes Pets Pet package from a directory

Also on the wiki
UnPet - quick removal of Pet packages
GnewPet - extracts pets and sfs from current installation
PetMaker - simple tools for making pets and sfs
EasyPackage is a cli tool for combining PETs into a PET or SFS
SFS - sfs format packages

Extract-pet 1.7 - localised - tool to 'open' PET file, created by don570



Categories
CategoryInstallation
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki