Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info

READ-ONLY-MODE: PLEASE DO NOT POST NEW STUFF!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile       

The time now is Tue 11 Aug 2020, 09:14
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
What are .pet files?
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
atrent

Joined: 10 Nov 2009
Posts: 1

PostPosted: Tue 10 Nov 2009, 21:35    Post subject:  What are .pet files?  

I successfully installed Puppy (full to HD, dual boot with WinXP). I've programmed for decades on Windows and have bit the bullet to look at Linux. I know nothing about it. I've seen the .PET files and have even downloaded one. What do I do with it? How do I load or install it as an add-on to Puppy? Spent several hours reading a lot of posts and must have missed this ground zero topic.

Thanks for any replies.
Back to top
View user's profile Send private message 
gposil


Joined: 06 Apr 2009
Posts: 1305
Location: Stanthorpe (The Granite Belt), QLD, Australia

PostPosted: Tue 10 Nov 2009, 22:03    Post subject:  

A PET file is basically what Setup.exe or Install.exe is in M$Windows, click on PET file in ROX or whichever FileManager you are using and Puppy will install the PET file.

Cheers

_________________
Dpup Home
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
ITAmember

Joined: 13 Sep 2009
Posts: 168
Location: The middle of a cornfield

PostPosted: Tue 10 Nov 2009, 22:24    Post subject:  

Install the files by clicking on them.

Adding on what gposil said

A .pet file is just a .tar.gz archive with a MD5 checksum appended to the end. If you want to analyze the contents of the file you can change the .pet extension to a .tar.gz extension and extract it with XArchive. It will complain that the wrapper exited with an error but that's just from the appended MD5 checksum, the file will extract fine.

Here's a step by step of how the pet installer (petget) works

1. Petget strips the MD5 sum off the file to make a nice new *.tar.gz file.
2. A new MD5 is calculated from the new *.tar.gz file.
3. The new and old MD5s are compared to verify file integrity.
4. Petget makes a list of files in the *.tar.gz archive and stores this list in /root/.packages [1]
5. The *.tar.gz file is extracted in /root/.packages
6. The extracted files are then moved to / [2]

Hope this helps. Smile

Footnotes:

[1] .packages is a hidden directory. In linux all directories or files that begin with a period are hidden. You can view hidden files by pressing the eye icon in Rox Filer. (the default file manager in puppy)

[2] / is the linux base directory, similar to C:\ in windows. /root also corresponds to C:\Documents and Settings in XP or C:\Users in Vista/7.
Back to top
View user's profile Send private message 
alienjeff


Joined: 08 Jul 2006
Posts: 2291
Location: Winsted, CT - USA

PostPosted: Tue 10 Nov 2009, 22:33    Post subject:  

Barry explains PET packages
_________________
hangout: ##b0rked on irc.freenode.net
diversion: http://alienjeff.net - visit The Fringe
quote: "The foundation of authority is based upon the consent of the people." - Thomas Hooker

Back to top
View user's profile Send private message 
dejan555


Joined: 30 Nov 2008
Posts: 2817
Location: Montenegro

PostPosted: Wed 11 Nov 2009, 10:22    Post subject:  

Good explanation ITAmember!

Also:

ITAmember wrote:

[2] / is the linux base directory, similar to C:\ in windows. /root also corresponds to C:\Documents and Settings in XP or C:\Users in Vista/7.


/ being the base, top level directory or "root" directory (not to be confused with /root/ ) it contains every other directory so any other drive that would have separate label in windows (e.g. D:\ G:\ ) will be mounted in some folder under / ( usually /mnt/)

You will see that drive naming is a bit different then in windows.

Also, /root corresponding "Documents and Settings" is common for puppy linux, but most other distros have /home/username directory and /root is intended for admin only (...hmm... wait... Oh, yes! In puppy you are admin = root = superuser!)

_________________
puppy.b0x.me stuff mirrored HERE or HERE
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0619s ][ Queries: 11 (0.0259s) ][ GZIP on ]