WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Uninstall extension and his dependances  (Read 3944 times)

Offline julcar

  • Jr. Member
  • **
  • Posts: 77
Uninstall extension and his dependances
« on: May 28, 2018, 03:00:35 AM »
Hi again, I am very glad now with TCL on my laptop  :D but some doubts I have about how to unistall extensions (I know, just delete it from onboot.lst and delete the .tcz file) but altough that works for no-deps extensions, with extensions which have a lot of dependences, it is a bit of work reading every .dep file and erasing manually every file.

I wonder if there is already a tutorial to delete an extension and his dependences in one step, just like installing.

For example, recently I installed Skype and Tightvnc, only for one use, and now I want to unistall both, but they have a lot of dependences, I do not wanna take the risk  :-[

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Uninstall extension and his dependances
« Reply #1 on: May 28, 2018, 07:56:26 AM »
Using Apps GUI:
Click on Apps -> Maintenance -> Dependencies And Deletions
Then select the extension you want to remove
Click on Dependencies -> Mark for Deletion
Download a copy and keep it handy: Core book ;)

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Uninstall extension and his dependances
« Reply #2 on: May 28, 2018, 08:14:17 AM »
Hello julcar

Use the extension management application “APPS” 

Manually uninstalling extensions may remove dependencies required by other extensions which will prevent those extensions from loading, sometimes that means critical system dependencies.

Run from APPS; Update dep files and then fetch missing deps

APPS > dependencies and deletions


Sent from my iPhone using Tapatalk
« Last Edit: May 28, 2018, 08:24:06 AM by coreplayer2 »

Offline puppybyte!

  • Jr. Member
  • **
  • Posts: 91
Re: Uninstall extension and his dependances
« Reply #3 on: August 14, 2023, 09:27:53 PM »
Using Apps GUI:
Click on Apps -> Maintenance -> Dependencies And Deletions
Then select the extension you want to remove
Click on Dependencies -> Mark for Deletion

when does it actually delete, I marked it for deletion but no actual delete button...

aus9

  • Guest
Re: Uninstall extension and his dependances
« Reply #4 on: August 14, 2023, 10:34:12 PM »
Hi

The missing step is to do a reboot.

2) Before you get excited and start deleting stuff. Is there a reason to delete stuff?
If you are short of space, maybe you need to address concern first?

If you have poor internet and do not want to have unnecessary updates.....fair enough

3) Lets pretend you want to know if deleting something that ITSELF is a dependency of something else
Lets call it X.tcz
as a local user run
Code: [Select]
depends-on.sh X.tcz
example on RPi arm7....Note none of these results may be installed. The script does not check if they are installed.

Code: [Select]
depends-on.sh gtk1.tcz
beaver.tcz
emelfm.tcz
gtk1-dev.tcz
gtkfind.tcz
xmms.tcz

If you want to check for things only installed, I use a private script,  called
$HOME/.local/bin/searchtce that looks  like this
Quote
#!/bin/sh
read -p "input TCE without dot tcz please
"
INPUT
grep -l $INPUT.tcz /etc/sysconfig/tcedir/optional/*.dep | cut -d/ -f6

borrowed from Rich.

test it like this
Code: [Select]
searchtce
input TCE without dot tcz please
gtk1
gtk1-dev.tcz.dep


so in that last codebox I input gtk1 and the only thing I had installed that had gtk1 as a dependency was gtk1-dev
Most likely you will have in this example gtk1 also installed.....but that is thing, in example, I was going to delete.
« Last Edit: August 14, 2023, 10:39:37 PM by aus9 »