Tiny Core Linux

Tiny Core Base => TCB Tips & Tricks => Topic started by: plug on October 12, 2014, 12:31:28 PM

Title: [SOLVED] How to uninstall applications TCZ?
Post by: plug on October 12, 2014, 12:31:28 PM
Hello everyone,

When your applications are unused or already tested how do you delete them? And in which parts are stored?

thanks
Title: Re: How to uninstall applications TCZ?
Post by: gerald_clark on October 12, 2014, 01:49:36 PM
They are stored in tce/optional.
Once loaded by ondemand, onboot, or tce-load, thay can only be properly unloaded by a reboot.
To remove them from your persistent storage, you use Apps to delete them.
Title: Re: How to uninstall applications TCZ?
Post by: plug on October 12, 2014, 02:01:40 PM
and what app remove these?
Title: Re: How to uninstall applications TCZ?
Post by: Rich on October 12, 2014, 02:08:18 PM
Hi plug
Use the  Apps  utility to remove unwanted apps.
Title: Re: How to uninstall applications TCZ?
Post by: bmarkus on October 12, 2014, 02:16:16 PM
Or

1) remove from /tce/onboot.list
2) reboot
3) delete from /tce/optional
4) reboot

Please note, if it is a dependency of other apps removel will break them too.
Title: Re: How to uninstall applications TCZ?
Post by: gerald_clark on October 12, 2014, 02:30:41 PM
Or

1) remove from /tce/onboot.list
2) reboot
3) delete from /tce/optional
4) reboot

Please note, if it is a dependency of other apps removel will break them too.

That is why you should use the Apps utility.
It will not remove a package that is a dependency of another package.
It also removes any packages it depends upon if no other packages also depend upon them.
There is no need to remove them from onboot, as Apps does that for you.
Title: Re: How to uninstall applications TCZ?
Post by: plug on October 14, 2014, 11:18:38 AM
ok, Thanks to everyone for the tips
Title: Re: How to uninstall applications TCZ?
Post by: plug on October 17, 2014, 11:01:30 AM
hi,

unfortunately I can not use the program indicated 'Apps audit' but the program 'Apps' to uninstall app that I want to remove, but i thinks it's the same.

And I followed also the example 'the delete flash video' work but they are still stopped.

Will you help me?

I have tiny core version 5.2

Hi I'm still here for the reason that I can not uninstall the app 'xfe' and does not give me a way to use the file manage 'flwm' I prefer.

I followed the steps that you mentioned but nothing.

When I run tc @ box: ~ $ flwm from the terminal I get the answer:
  - Another window manager is running. You must exit it before running flwm.

How do I? I have to remove them one by one from the folder ?:

/mnt/sda1//tce/optional/xfe-common.tcz
/mnt/sda1//tce/optional/xfe-common.tcz.dep
/mnt/sda1//tce/optional/xfe-common.md5.txt
/mnt/sda1//tce/optional/xfe-locale.tcz
/mnt/sda1//tce/optional/xfe-locale.tcz.dep
/mnt/sda1//tce/optional/xfe-locale.md5.txt
/mnt/sda1//tce/optional/xfe.tcz
/mnt/sda1//tce/optional/xfe.tcz.dep
/mnt/sda1//tce/optional/xfe.tcz.md5.txt
Title: Re: How to uninstall applications TCZ?
Post by: bmarkus on October 17, 2014, 11:03:18 AM
Just remove xfe.tcz from /tce/onboot.list
Title: Re: How to uninstall applications TCZ?
Post by: plug on October 17, 2014, 11:12:42 AM
It seems a strange thing, but the name xfe.tcz does not exist inside /tce/onboot.lst
Title: Re: How to uninstall applications TCZ?
Post by: gerald_clark on October 17, 2014, 01:00:51 PM
Your onboot.lst is found in /etc/sysconfig/tcedir/
Title: Re: How to uninstall applications TCZ?
Post by: plug on October 17, 2014, 01:15:28 PM
yes, but what means it.

There is two file onboot.lst, the first in /etc/sysconfig/tcedir/, and the second in /tce/onboot.lst, they are equal

Title: Re: How to uninstall applications TCZ?
Post by: bmarkus on October 17, 2014, 01:32:00 PM
They are physically the same.
Title: Re: How to uninstall applications TCZ?
Post by: gerald_clark on October 17, 2014, 04:46:51 PM
If your tce directory in in '/' you have not have a persistent tce directory, and cannot remove packages or edit onboot.lst.
Please read the book.
Title: Re: How to uninstall applications TCZ?
Post by: plug on October 18, 2014, 11:07:20 AM
Hi Gerald,

I gave up. I had messed up the whole system and I preferred to continue reinstall the partition sda1.

I also installed a very simple file manager like Fluff finding none other currently.

My tce directory is not directly in '/' but in / mnt / sda1 / tce / .....

You mean like this?

Title: Re: How to uninstall applications TCZ?
Post by: coreplayer2 on October 18, 2014, 03:08:52 PM
 /mnt /sda1/tce/  is a common and correct location.

Simply use Apps   to remove programs

Open Apps, select  Apps button > Maintenance >  Dependencies and Deletions, wait for the list of installed extensions to be built, then,
Select the Extension you wish to remove, while highlighted go up to the Dependencies button and choose "Mark for deletion"  the extension will be listed in the right window along with any errors messages regarding dependencies..
Next select the Dependencies button > Exit Dependency check> close Apps, Apps button > Quit, then reboot

Sounds a little complex when is written but is actually quite easy when you get the routine down.

Hope that helps
Title: Re: How to uninstall applications TCZ?
Post by: plug on October 19, 2014, 11:29:02 AM
Hello coreplayer2,

Your summary is exactly what I wanted.
I will follow your instructions no doubt when I'll need it. thanks
Title: Re: How to uninstall applications TCZ?
Post by: pan on September 20, 2015, 07:47:20 PM
Or

1) remove from /tce/onboot.list
2) reboot
3) delete from /tce/optional
4) reboot

Please note, if it is a dependency of other apps removel will break them too.
Why do you have to reboot twice?
Title: Re: [SOLVED] How to uninstall applications TCZ?
Post by: Rich on September 20, 2015, 07:56:40 PM
Hi pan
Quote
Why do you have to reboot twice?
Because until you reboot the first time, the extensions are still mounted, and you cannot delete a mounted extension.
Title: Re: [SOLVED] How to uninstall applications TCZ?
Post by: gerald_clark on September 20, 2015, 08:59:50 PM
Use the uninstall options in apps or tce-audit.  They will also uninstall no longer needed dependencies.
Title: Re: [SOLVED] How to uninstall applications TCZ?
Post by: Greg Erskine on September 20, 2015, 09:36:07 PM
hi pan,

In addition to gerald_clark's advice, this works for me from the command line.

Code: [Select]
$ tce-audit builddb
$ tce-audit delete xxxxx

regards
Greg
Title: Re: [SOLVED] How to uninstall applications TCZ?
Post by: ttz on September 30, 2015, 10:25:01 PM
Quote
Why do you have to reboot twice?

i use: copy2fs.flg - always in ram.

i've removed apps easily in term because of that w/ one reboot.

the above is my effort to help, but makes me ask why it was assumed the setup was not in ram to begin with.