Uninstalling from a module

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
jano
White ninja
White ninja
Posts: 6
Joined: 04 Oct 2015, 11:33
Distribution: Porteus !!
Location: Madrid - Spain

Uninstalling from a module

Post#1 by jano » 04 Oct 2015, 12:37

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

User avatar
brokenman
Site Admin
Site Admin
Posts: 5571
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Uninstalling from a module

Post#2 by brokenman » 04 Oct 2015, 14:34

mkdir /tmp/unpacked
xzm2dir /path/to/002-xorg.xzm /tmp/unpacked
ROOT=/tmp/unpacked removepkg gimp
dir2xzm /tmp/unpacked /path/to/002-xorg.xzm
How do i become super user?
Wear your underpants on the outside and put on a cape.

jano
White ninja
White ninja
Posts: 6
Joined: 04 Oct 2015, 11:33
Distribution: Porteus !!
Location: Madrid - Spain

Re: Uninstalling from a module

Post#3 by jano » 04 Oct 2015, 15:10

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
Last edited by jano on 06 Oct 2015, 10:58, edited 1 time in total.

User avatar
brokenman
Site Admin
Site Admin
Posts: 5571
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Uninstalling from a module

Post#4 by brokenman » 04 Oct 2015, 17:51

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.
How do i become super user?
Wear your underpants on the outside and put on a cape.

Post Reply