You are not logged in.

#1 2015-03-05 12:50:07

JJK
Member
Registered: 2013-10-24
Posts: 56

Delete manually installed program

Hey arch users,

I recently installed a game (sonicthehedgehog 3d) by extracting a .deb package. I extracted the data.tar.gz file over my / filesystem. This worked and the game works fine.

Here is my question:

Can I delete those files at once with a simple command, something like the reverse of the command I used to extract the data.tar.gz package (tar xvzf data.tar.gz /).

I mean somthing like: #tar xvzf --delete data.tar.gz

It's hard for met to explain this clearly, I hope you get me.

JJK

edit:
I found something that works for deleting the files, but not the folders:
sudo rm $(tar tzf data.tar.gz)

I definitely dont want to do rm -r cause that would probably delete my /usr folder too including all its contents.

Last edited by JJK (2015-03-05 13:12:58)

Offline

#2 2015-03-05 13:31:08

GloW_on_dub
Member
Registered: 2013-03-13
Posts: 391
Website

Re: Delete manually installed program

If this is a one time problem, i would delete the empty folders manually one by one to avoid any disaster.

PS: you should have created a PKGBUILD instead of extracting manually.

Offline

#3 2015-03-07 07:35:23

JJK
Member
Registered: 2013-10-24
Posts: 56

Re: Delete manually installed program

Thank you, I have indeed created a pkgbuild now.

Offline

#4 2015-03-07 11:31:10

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Delete manually installed program

Don't .debs include a file list?

Offline

Board footer

Powered by FluxBB