Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 31 Mar 2020, 15:53
All times are UTC - 4
 Forum index » Taking the Puppy out for a walk » Suggestions
Built-in package remover should remove application folders
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [11 Posts]  
Author Message
johnywhy


Joined: 20 Aug 2011
Posts: 882

PostPosted: Fri 20 Mar 2015, 15:12    Post subject:  Built-in package remover should remove application folders  

i've used puppy for years, but not an expert. this suggestion might not make sense to experts.

suggestion: the 'built-in package uninstaller' should remove application folders, to free up space.

I think this means removing them from the squash files?

i've been told this does not currently happen.

example, i used the 'built-in package uninstaller' in Carolina 1.3 to uninstall LibreOffice and Skype. But, gdmap shows there's still a skype app folder of about 30 Mb, and several libreoffice folders, total about 100 Mb.

my goal is of course a smaller puppy.


Regarding risk of deleting user-files:

-- imo, applications SHOULD (and probably DO, mostly) separate app folders from user-data folders. IMO, puppy should enforce this-- maybe already does?

-- Users SHOULD (and probably DO, mostly) store personal files in a Documents folder, or a drive that is separate from application and system folders.


thx!

_________________
Now: X-Tahr 2.0! StretchDog! DevuanDog!
Tops: TarhNOP Vlina-R2 Racy
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
i ♥ Puppy
Back to top
View user's profile Send private message 
666philb


Joined: 07 Feb 2010
Posts: 3536
Location: wales

PostPosted: Fri 20 Mar 2015, 15:41    Post subject:  

after using the 'remove builtin packages' feature on a frugal puppy you will then need to use 'remaster puppy live CD' to actually remove the packages from the puppy.sfs.

just using 'remove builtin packages' without then re-mastering actually adds files to puppy making it a tiny bit bigger Very Happy

on a full install the packages would actually be removed without having to remaster

_________________
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331
Back to top
View user's profile Send private message 
johnywhy


Joined: 20 Aug 2011
Posts: 882

PostPosted: Fri 20 Mar 2015, 16:06    Post subject:  

thx, that's very helpful!

i'm guessing to manually remove the folders from a frugal, i woud have to edit the sfs files? i cannot figure out how to do that. Convert/extract froze on me Sad
http://www.murga-linux.com/puppy/viewtopic.php?p=834935#834935

remastering would be great! but having problems with remastering
http://www.murga-linux.com/puppy/viewtopic.php?p=834750#834750

and i cannot do a full hard disk installation for some reason.
http://www.murga-linux.com/puppy/viewtopic.php?t=98271

_________________
Now: X-Tahr 2.0! StretchDog! DevuanDog!
Tops: TarhNOP Vlina-R2 Racy
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
i ♥ Puppy
Back to top
View user's profile Send private message 
nic007


Joined: 13 Nov 2011
Posts: 3332
Location: Cradle of Humankind

PostPosted: Wed 25 Mar 2015, 02:00    Post subject:  

If you have a frugal install, you will probably also have a save file. So use the remove builtin packages from menu for the applications you want to remove. These changes will be "recorded" in your save file and next time you reboot those applications will be removed from your menu (but it will still be part of the ISO and thus part of the operating system). To remove it permanently, you will have to do a remaster (you can use remaster puppy live cd from menu). Your new remastered iso (and new base SFS) will then have all the permanent changes.

If you want to edit an SFS yourself, you can use the EditSFS utility.
Back to top
View user's profile Send private message 
johnywhy


Joined: 20 Aug 2011
Posts: 882

PostPosted: Wed 25 Mar 2015, 02:31    Post subject:  

Thx for that!

Have recently done some leana Lina-Lite remasters. Excited about that.

But still have not braved the part about modifying the innards of puppy, just accepted the defaults, mostly. Pretty whimpy of me :/

Will following the defaults in remaster slim down the pupsave, and clear out uninstalled detritus?

Thx!

_________________
Now: X-Tahr 2.0! StretchDog! DevuanDog!
Tops: TarhNOP Vlina-R2 Racy
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
i ♥ Puppy
Back to top
View user's profile Send private message 
nic007


Joined: 13 Nov 2011
Posts: 3332
Location: Cradle of Humankind

PostPosted: Wed 25 Mar 2015, 03:43    Post subject:  

The built-in programmes are part of the base SFS and not your savefile (your savefile will record configuration changes to these programmes though). To get rid of them you need to run the remove built-in programmes utility before doing a remaster.

Programmes that you install yourself will be saved in the savefile as well as anything else you save in / or /root will be recorded/saved in the savefile. So, if you want to get rid of programmes you have installed yourself or things you have saved as mentioned above, you will need to uninstall them first running the package manager (ie. For the programmes you have installed yourself and want to uninstall) or delete them (if it is other data you have stored). After that you do your remaster.

Last edited by nic007 on Wed 25 Mar 2015, 03:47; edited 1 time in total
Back to top
View user's profile Send private message 
johnywhy


Joined: 20 Aug 2011
Posts: 882

PostPosted: Wed 25 Mar 2015, 03:45    Post subject:  

Thx for info about removing files i installed.

But how do i remove built-in programs, and remove their leftover remnant folders and files?

thank you.

_________________
Now: X-Tahr 2.0! StretchDog! DevuanDog!
Tops: TarhNOP Vlina-R2 Racy
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
i ♥ Puppy
Back to top
View user's profile Send private message 
nic007


Joined: 13 Nov 2011
Posts: 3332
Location: Cradle of Humankind

PostPosted: Wed 25 Mar 2015, 03:48    Post subject:  

Check my edited post above
Back to top
View user's profile Send private message 
johnywhy


Joined: 20 Aug 2011
Posts: 882

PostPosted: Wed 25 Mar 2015, 03:50    Post subject:  

ok, thx
_________________
Now: X-Tahr 2.0! StretchDog! DevuanDog!
Tops: TarhNOP Vlina-R2 Racy
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
i ♥ Puppy
Back to top
View user's profile Send private message 
nic007


Joined: 13 Nov 2011
Posts: 3332
Location: Cradle of Humankind

PostPosted: Wed 25 Mar 2015, 04:06    Post subject:  

Just for clarification - the remove built-in utiliy does not remove the programmes you want to remove but records this in your savefile (by a process called "white-out" of files). After doing this, you can reboot and then your remaster. The remaster process will then exclude all of these white-out files/directories resulting in a new base SFS file.
Back to top
View user's profile Send private message 
johnywhy


Joined: 20 Aug 2011
Posts: 882

PostPosted: Wed 25 Mar 2015, 04:07    Post subject:  

appreciate the clarification. bit by bit, i'll understand more.
_________________
Now: X-Tahr 2.0! StretchDog! DevuanDog!
Tops: TarhNOP Vlina-R2 Racy
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
i ♥ Puppy
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [11 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Taking the Puppy out for a walk » Suggestions
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.0554s ][ Queries: 12 (0.0122s) ][ GZIP on ]