Kodi Community Forum
Linux Instructions to unistall Kodi - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222)
+--- Forum: Wiki (https://forum.kodi.tv/forumdisplay.php?fid=262)
+--- Thread: Linux Instructions to unistall Kodi (/showthread.php?tid=292758)



Instructions to unistall Kodi - WelshPaul - 2016-10-01

I'm going through the learning process with Ubuntu, so please do check with someone who knows what they're talking about, but.....

In the wiki for How to install Kodi on Linux the uninstall instructions in section 1.6 says:

Code:
Then remove the settings folder to remove all settings and library data. This will not delete any videos or music, but just the settings and library data itself:

rm ~/.kodi/

When I tried this the terminal replied "cannot do this to a directory". Google says that command only works if the directory is empty and to use the following command which did work for me. So, either I've screwed up my system or the wiki could be updated?

Code:
rm -r ~/.kodi/



RE: Instructions to unistall Kodi - black_eagle - 2016-10-01

Yeah, Linux won't allow you to remove a directory that isn't empty, so the wiki is indeed wrong !!

Code:
rm -rf directoryname
will remove a directory and all its contents, including other directories and files. That's assuming that your user has the necessary rights to delete the files and directories - ie they are your users files and directories.

This can seem a bit of a pain at first, but it helps stop you deleting stuff by mistake. There's no trashcan for command line deletions Wink


RE: Instructions to unistall Kodi - Kib - 2016-10-01

moved to WIKI subforum.


RE: Instructions to unistall Kodi - ronie - 2016-10-01

thx! updated the wiki.