SFS Install 0.1.2 [updated 16.10.2009.]

Miscellaneous tools
Message
Author
User avatar
8-bit
Posts: 3406
Joined: Wed 04 Apr 2007, 03:37
Location: Oregon

#16 Post by 8-bit »

dejan555 wrote:Yeah, that's the catch, I coud make uninstall script straight away, but I need to figure out how to uninstall only files that are new and leave the old ones in place.
In the same link I gave above is a method of installing SFS by converting them to PETs.
The poster said he used that method for install and it worked just fine.
But here is the part that I wonder about.
If I convert an SFS into a pet, can I also uninstall it just by selecting the installed pet from the installed pets???
His install method was to make a new directory in / with the filename of the SFS file. Then mount the SFS file and copy the contents to the New directory.
Then run Dir2pet to convert it into a pet file. Click then on the pet file to install it.
But I still wonder if you could then select it in the install window of installed PETs to uninstall it?

Food for thought!?

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#17 Post by dejan555 »

8-bit, when petget asks you do you want pet to be registered with petget say yes and you will be able to uninstall it. But there are issues with that also. If you try to install some larger pet (sfs's are huge packs in most cases) it will tell you that you don't have space to expand it even if you have <-- this happend to me in many cases.
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
Colonel Panic
Posts: 2171
Joined: Sat 16 Sep 2006, 11:09

Re: SFS install 0.1.1 [UPDATED 20.04.2009.]

#18 Post by Colonel Panic »

dejan555 wrote:This is script for users with full puppy install who can't load sfs files at bootup and have trouble understanding and following steps to do it manually. And for those who know how but want it easy way like me. ;)
I repeated it too much times, now it's time to automate it!

Usage:
Right click on sfs file in ROX Filer -> Install
or:
sfsinstall name-of-file.sfs

UPDATE:
Added option to not overwrite existing files so there shouldn't be any conflicts
You can use this for devx installation now too ;)
Thanks for this one! I've just used to to install the Lighthouse 301 sfs file in Icepup.

Cheers,

Colonel Panic.

User avatar
droope
Posts: 801
Joined: Fri 01 Aug 2008, 00:17
Location: Uruguay, Mercedes

#19 Post by droope »

dejan555 wrote:8-bit, when petget asks you do you want pet to be registered with petget say yes and you will be able to uninstall it. But there are issues with that also. If you try to install some larger pet (sfs's are huge packs in most cases) it will tell you that you don't have space to expand it even if you have <-- this happend to me in many cases.
Hey dejan, it shouldn't be that hard. Create a folder called backup(Filexxx.sfs) that has a complete subsystem in it... with that i mean that if a file /root/geany.sh was replaced, you could place it in /mnt/home/backup/backup(geany6.0.sfs)/root/geany.sh.

Then, uninstalling would be easy, because all you have to do is to put the /backup(geany6.0)/'s contents in /

Hope this helps, if you can't do it, i think i will, its kinda of an exciting project, isn't it ? :P

It could also be implemented to fix te pet uninstalling system, that just deletes things. :(

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#20 Post by dejan555 »

Uninstall can be done, just have to work out the code, still, I have a different idea, I don't like copying files then copying them back, if you know which files should be kept then simply tell uninstall not to erase those, that's my point of view. Now what I wanted to do is create list of files that are in sfs (like Sunburnt did in his script), then substract files that already exist in system from that list. I was close to do that, when I have time I'll probably work it out. ;)
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

bones01
Posts: 371
Joined: Mon 11 Aug 2008, 07:47
Location: Melbourne, Aus

#21 Post by bones01 »

dejan555, thanks for putting this together. I spent ages yesterday trying to get open office working after doing a full install of Deep Thought 4.2.1

I now have it working, which will please my son greatly, but I can't work out how to put an icon on the desktop. I expect it's pretty simple, so any guidance would be really appreciated.

Thanks

Bones

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#22 Post by dejan555 »

bones01, I think your open office is installed somewhere in /opt so look at /opt/openoffice3.org/program, drag programs to desktop, then you can right click -> set icon.

Hope this helps.
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

bones01
Posts: 371
Joined: Mon 11 Aug 2008, 07:47
Location: Melbourne, Aus

#23 Post by bones01 »

Thanks Dejan. It worked

Bones

Kenny-M

#24 Post by Kenny-M »

dejan555,

I used your sfsinstaller to install devx_421.sfs on a Puppy 4.2.1 machine running in PUPMODE of 6. Full install without a pup_save file. Changes saved directly to the Puppy partition.

It worked fine! C and FreeBasic work fine.

My next attempt will be Open Office. I suspect I have to find an Open Office compiled specifically for Puppy 4.2.1. is that correct?

Thanks

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#25 Post by dejan555 »

Thanks for reporting Kenny! Open Office can be found as sfs too, try this links:
http://puppylover.netsons.org/dokupuppy ... fice_suite

BTW, trio recently made some GTK sfs installer, haven't tried it, dunno how it installs exactly, but it has uninstall option too, check out who wants:

http://murga-linux.com/puppy/viewtopic. ... f8677e2a77
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

Kenny-M

#26 Post by Kenny-M »

dejan555,

I downloaded unzipped and sfs installed OpenOffice 3.1.

At Office startup it is asking me for JRE runtime environment?

Any help?

Again, thanks for sfs installer.

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#27 Post by dejan555 »

Maybe this pet:
http://www.murga-linux.com/puppy/viewtopic.php?t=27341

Open office sfs I installed had java already I think
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

sidders
Posts: 464
Joined: Wed 23 Jul 2008, 18:47
Location: Bolton, uk

#28 Post by sidders »

I have incorporated this in Hansamben. It works great. To make it easier for the not-interested-how-it-works, i have used Trio's Gui and then done another script that will grep pupstate and if its 2 the SFS_installer, if 12 etc then Bootmanager will pop up. The script if Pupmode=2 will copy the sfs's to /.

To use SFS_installer on a ful install, do the SFS's have to be in a certain directory, or can they be installed directly from the CD?.

Full post and script on Trio's thread:
http://www.murga-linux.com/puppy/viewto ... 953#350953

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#29 Post by dejan555 »

sidders, don't know about trio's installer, but mine needs a writable folder for sfs to mount, I hope I'm gonna change that to mount on /mnt instead same dir where sfs is.
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#30 Post by dejan555 »

Updated script, now it can install sfs's from cd.
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

sidders
Posts: 464
Joined: Wed 23 Jul 2008, 18:47
Location: Bolton, uk

#31 Post by sidders »

Wow, thanks Dejan. You dont hang around. I will get it downloaded.
:D

User avatar
enhu
Posts: 302
Joined: Wed 27 May 2009, 02:13
Contact:

#32 Post by enhu »

does this pet work on puppy431?
i'm very careful installing software as i don't want to get this mess up again and again.

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#33 Post by dejan555 »

Yes, as long as you use sfs version 4, sfs 3 needs to be converted first.
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

unclejack3
Posts: 7
Joined: Sun 15 Mar 2009, 00:31

amarok install

#34 Post by unclejack3 »

hi,all

i followed this instruction to install amarok
---http://www.murga-linux.com/puppy/viewtopic.php?t=40779

pressed right button to install,,as it did ..then rebooted ,,,,found it in multimedia,,,,but when i open it ,,,,it flickers quickly on the screen and disappears ....


its amarok 430sfs4

any ideas...
Last edited by unclejack3 on Thu 04 Mar 2010, 13:07, edited 1 time in total.

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#35 Post by dejan555 »

Can't find how to open amarok?
Did you refresh menus? It should show in Multimedia menu.
Also try to run it from terminal: type: amarok and hit enter

To refresh menus in jwm:

Code: Select all

fixmenus && jwm -restart
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

Post Reply