Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: Guy on November 27, 2010, 04:38:59 PM

Title: Removing Applications
Post by: Guy on November 27, 2010, 04:38:59 PM
Let's say a user wants to remove an application from Tiny Core.

Is there a simple way to remove an an application, including dependencies from Tiny Core?


If not:

They remove the extension for that application from the /tce/optional directory, but do not remove dependencies.

Is there a way to automatically remove dependencies?
Title: Re: Removing Applications
Post by: gerald_clark on November 27, 2010, 04:48:25 PM
AppsAudit will remove an application and all otherwise unused dependencies.
Title: Re: Removing Applications
Post by: Guy on November 27, 2010, 06:15:02 PM
Quote
AppsAudit will remove an application and all otherwise unused dependencies.

Which version are you using?

I am using 3.3.

Is there something I have missed?

I am talking about removing the extensions. Not removing them from On Boot or On Demand.
Title: Re: Removing Applications
Post by: gerald_clark on November 27, 2010, 06:25:13 PM
Please look at the dependencies tab.
Build Reporting Database
Mark for Deletion

Then shutdown.
Marked applications will be deleted.
Title: Re: Removing Applications
Post by: justauser on November 27, 2010, 07:26:16 PM
Thanks.  I've been looking for this but also couldn't find it.  Can you add to the FAQ, because a new user can't find this on their own.
Title: Re: Removing Applications
Post by: tinypoodle on November 27, 2010, 08:23:04 PM
Thanks.  I've been looking for this but also couldn't find it.  Can you add to the FAQ, because a new user can't find this on their own.

I'd second that, to the FAQ or in some other more prominent point that it is now, wherever a new user could more easily find it.

While in my experience this method works quite well and has the benefit of dealing with dependencies, I find it a weakness that - at least if I have understood right, someone correct me if not - a reboot is required in order to uninstall software.
From my personal experience of all Linux distros I have ever tried, never would a reboot be mandatory in order just to uninstall software packages.
My hope would be that this somewhen could be improved in the future.
Title: Re: Removing Applications
Post by: gerald_clark on November 27, 2010, 10:52:25 PM
On the fly package removal has been debated to death here.
Title: Re: Removing Applications
Post by: tinypoodle on November 28, 2010, 06:08:32 AM
On the fly package removal has been debated to death here.

I guess I must have missed some episodes then, and declare guilty if the necessary info could have been found by an indepth forum search.

However, it would be an improvement if the subject of package removal could be pointed out clearly in a prominent space in summary, preferably in the official documentation pages.

Not really a biggie when mounting from a PPR on persistent storage, but a most crucial issue when running in "internet/cloud" mode, where no longer used extensions could waste valuable RAM, and total progressing according to increasing uptime.
Title: Re: Removing Applications
Post by: gerald_clark on November 28, 2010, 11:17:58 AM
It is not documented because it was deemed too fraught with problems and therefore not supported.
Title: Re: Removing Applications
Post by: roberts on November 28, 2010, 12:05:57 PM
Thanks.  I've been looking for this but also couldn't find it.  Can you add to the FAQ, because a new user can't find this on their own.

Really?
http://forum.tinycorelinux.net/index.php?topic=7495.0
and specifically even a video is available.
http://www.tinycorelinux.com/videos/opera-flash-delete.html

Title: Re: Removing Applications
Post by: tinypoodle on November 29, 2010, 03:37:52 AM
It is not documented because it was deemed too fraught with problems and therefore not supported.

I have removed extensions while running in cloud mode many times manually. Just that it is a lot of work to find all the files that have been created by installing an extension and manually deleting them one by one (after having umount'ed the extension).

If I would be any better at scripting that I am, I would attempt to reduce the manual intervention needed.
Title: Re: Removing Applications
Post by: jur on November 29, 2010, 03:50:16 AM
A script to unload apps does exist - I  use it from time to time. Have a look in the scripting section.