Wiki source for Pets
{{include tonguesPET}}
[[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.
~~-right clicking on the Pet file in the filer window
~~-selecting File '<filename>.PET' > 'Extract here' (which is not there if Extract-pet is not installed)
~~-
~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==
~See [[http://www.murga-linux.com/puppy/viewtopic.php?t=35507 Guide to making PET files (thread)]].
**Commands**
~[[dir2pet]] - Makes [[Pets Pet]] package from a directory
==Also on the wiki==
~[[PPM Puppy Package Management]]
~[[HowToUninstall How to Uninstall software]]
~[[UnPet]] - quick removal of Pet packages
~[[Compiling]]
~[[Tarballs]]
~[[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
==Related Webpages==
~[[http://web.archive.org/web/20150604144131/http://www.puppylinux.com/development/createpet.htm Guide Installing and Making Pets page (2007)]]
~[[http://murga-linux.com/puppy/viewtopic.php?t=90292 View contents of .pet or .deb packages thread]]
~[[http://murga-linux.com/puppy/viewtopic.php?t=78202 PET does not contain all the files in the folder thread]]
~[[http://murga-linux.com/puppy/viewtopic.php?t=83088 Extract-pet 1.7 - localised]] - tool to 'open' PET file, created by [[don570 ]]
~[[https://www.reddit.com/r/puppylinux/comments/6xvira/cant_figure_out_pet_files_and_programs/ Program won't run from menu (reddit)]]
~[[http://murga-linux.com/puppy/viewtopic.php?t=87864 UExtract-3.32 tool]]
~[[http://murga-linux.com/puppy/viewtopic.php?t=89211 Packit extraction tool.]]
~[[http://www.murga-linux.com/puppy/viewtopic.php?t=40457&start=120 Pet_Maker-2.2 ]]
----
==Categories==
CategoryInstallation
[[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.
~~-right clicking on the Pet file in the filer window
~~-selecting File '<filename>.PET' > 'Extract here' (which is not there if Extract-pet is not installed)
~~-
~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==
~See [[http://www.murga-linux.com/puppy/viewtopic.php?t=35507 Guide to making PET files (thread)]].
**Commands**
~[[dir2pet]] - Makes [[Pets Pet]] package from a directory
==Also on the wiki==
~[[PPM Puppy Package Management]]
~[[HowToUninstall How to Uninstall software]]
~[[UnPet]] - quick removal of Pet packages
~[[Compiling]]
~[[Tarballs]]
~[[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
==Related Webpages==
~[[http://web.archive.org/web/20150604144131/http://www.puppylinux.com/development/createpet.htm Guide Installing and Making Pets page (2007)]]
~[[http://murga-linux.com/puppy/viewtopic.php?t=90292 View contents of .pet or .deb packages thread]]
~[[http://murga-linux.com/puppy/viewtopic.php?t=78202 PET does not contain all the files in the folder thread]]
~[[http://murga-linux.com/puppy/viewtopic.php?t=83088 Extract-pet 1.7 - localised]] - tool to 'open' PET file, created by [[don570 ]]
~[[https://www.reddit.com/r/puppylinux/comments/6xvira/cant_figure_out_pet_files_and_programs/ Program won't run from menu (reddit)]]
~[[http://murga-linux.com/puppy/viewtopic.php?t=87864 UExtract-3.32 tool]]
~[[http://murga-linux.com/puppy/viewtopic.php?t=89211 Packit extraction tool.]]
~[[http://www.murga-linux.com/puppy/viewtopic.php?t=40457&start=120 Pet_Maker-2.2 ]]
----
==Categories==
CategoryInstallation