Linux - Instructions to unistall Kodi

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
WelshPaul Offline
Posts: 388
Joined: Mar 2013
Reputation: 7
Location: English Countryside
Post: #1
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:

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?

rm -r ~/.kodi/
find quote
black_eagle Offline
Posting Freak
Posts: 1,815
Joined: Sep 2013
Reputation: 79
Location: East Yorkshire, UK
Post: #2
Yeah, Linux won't allow you to remove a directory that isn't empty, so the wiki is indeed wrong !!

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

Learning Linux the hard way !!
find quote
Kib Offline
Team Kodi 🐤 Member
Posts: 4,996
Joined: Jan 2010
Reputation: 85
Location: The Hague
Post: #3
moved to WIKI subforum.
find quote
ronie Offline
Team-Kodi Member
Posts: 13,148
Joined: Jan 2009
Reputation: 390
Post: #4
thx! updated the wiki.

Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ and Search the forum before posting.
For troubleshooting and bug reporting please make sure you read this first.
find quote