Page 1 of 1

Uninstalling from a module

Posted: 04 Oct 2015, 12:37
by jano
From what I have been reading and testing so far, in order to "uninstall" a program from a module, I have to:
a) Extract the module
b) Delete the files
c) Compress the module

I want to get rid of several programs I don't use (like gimp and pigdin) and it seems a rather complicated and prone-to-error method. Is there any other method I am unaware of?

Thanks

Re: Uninstalling from a module

Posted: 04 Oct 2015, 14:34
by brokenman
mkdir /tmp/unpacked
xzm2dir /path/to/002-xorg.xzm /tmp/unpacked
ROOT=/tmp/unpacked removepkg gimp
dir2xzm /tmp/unpacked /path/to/002-xorg.xzm

Re: Uninstalling from a module

Posted: 04 Oct 2015, 15:10
by jano
Thanks ! That was a really fast reply :Yahoo!:

Worked like a charm, and I've been able to uninstall most of the programs I wanted :beer:

Only 2 comments:
the line ROOT=.... has to be run as root (so a previous su is required)
some of the programs are not in 002-xorg.xzm but in 003-mate.xzm, so I had to repeat the process accordingly

Re: Uninstalling from a module

Posted: 04 Oct 2015, 17:51
by brokenman
Excellent!

Sorry for not welcoming you aboard. I literally had about 30 seconds before having to leave so quickly spoke directly in script. So .... welcome aboard.