We have moved to a new Sailfish OS Forum. Please start new discussions there.
0

Deleting in terminal an app and its configuration files [answered]

asked 2014-02-01 01:24:24 +0300

updated 2014-02-01 02:11:40 +0300

Hi! I need to completely delete in terminal an app and all iits configuration files. I looked for them in $HOME/.config and $HOME/.local but didn't find where they are stored. So I need to know what is the command on Jolla for totally purge an app. Thanks.


I found this manpage but it doesn't mention the command I look for...

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by juju_des_highlands
close date 2014-02-01 23:03:25.182473

Comments

For Android apps, I discovered they're are stored into three different locations:

Apk /data/app Config /data/dalvik-cache App data (I mean, not user saved files) /data/data Some apps may store configuration file or cache into /data/sdcard

Unluckly I can't be more precise as I don't know how Android app packaging works.

fravaccaro ( 2014-02-01 03:59:18 +0300 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2014-02-01 03:08:28 +0300

ovekaaven gravatar image

updated 2014-02-01 03:10:57 +0300

For Harbour apps, it should be $HOME/.local/share/harbour-appname. If your app is not from Harbour, there are no guarantees about where it might store data, though most of the time it's in the same place (i.e., $HOME/.local/share).

"pkcon remove packagename" would remove the installed package from your system, but I don't think it removes config files the app might have created under $HOME, so you may still have to remove them manually if you really want them gone.

edit flag offensive delete publish link more

Comments

I found config files where you told me. Fine thanks :-)

juju_des_highlands ( 2014-02-01 04:01:56 +0300 )edit

Stats

Asked: 2014-02-01 01:24:24 +0300

Seen: 646 times

Last updated: Feb 01 '14