Client: How to uninstall the OSX client?

Created on 8 Sep 2016  ·  28Comments  ·  Source: keybase/client

Trying to generate a gpg key to use with git, but seems the new GUI keybase client just isn't ready yet. I wish to uninstall it. How can I do so?

Most helpful comment

To uninstall keybase and KBFS:

keybase uninstall

and then remove /Applications/Keybase.app

On older versions, you may need to do extra cleanup.

# Uninstall services and unmount
keybase uninstall
# Remove placeholder dir
sudo rmdir /keybase
# Unload kext
sudo kextunload -b com.github.kbfuse.filesystems.kbfuse
# Remove kext
sudo rm -rf /Library/Filesystems/kbfuse.fs
# Remove helper
sudo rm /Library/PrivilegedHelperTools/keybase.Helper

All 28 comments

To uninstall keybase and KBFS:

keybase uninstall

and then remove /Applications/Keybase.app

On older versions, you may need to do extra cleanup.

# Uninstall services and unmount
keybase uninstall
# Remove placeholder dir
sudo rmdir /keybase
# Unload kext
sudo kextunload -b com.github.kbfuse.filesystems.kbfuse
# Remove kext
sudo rm -rf /Library/Filesystems/kbfuse.fs
# Remove helper
sudo rm /Library/PrivilegedHelperTools/keybase.Helper

Cool cheers

It also needs to be mentioned that you must remove /Applications/Keybase.app https://github.com/keybase/client/issues/4247

Thanks guys

Related, and also on OSX (Sierra), I want to keep the CLI tools, but I'd like to get rid of just the GUI bits — how can I do that? There doesn't seem to be any mention of this in the documentation.

keybase uninstall will leave the symlink around...

You can use standalone mode, or install service manually:

keybase --standalone id

or

keybase install --components=service
keybase id

In the future, we want to be able to support custom (minimal) installs, but it's currently easier for us to have everyone running the app the same way.

Thank you @gabriel for the clear and complete instructions and thank you @balupton for raising this question. 🍻

I've tried everything on this page, and still get this on every reboot:

screen shot 2016-10-25 at 6 57 11 pm

@mooreniemi you are trying to uninstall, correct? @gabriel any further ideas? Thanks

edit: install -> uninstall

@maxtaco I am trying to _uninstall_.

That's what I meant to write, sorry!!! OK, pinging @gabriel for more ideas. Sorry about any inconvenience.

Oops sorry for the late reply.

You can remove Keybase from startup via System Preferences | Users & Groups | Login Items.
Or you can delete the app /Applications/Keybase.app (and it will be removed from startup automatically).

We have an issue to have keybase uninstall do this (via https://keybase.atlassian.net/browse/DESKTOP-1277).

Unfortunately, brew just moved to using keybase within a cask, and installed this extra stuff in a manner that was somewhat unexpected...

I realize this was not really your doing, but it was unfortunate. I hope that keybase will release a CLI version soon, at which point I'll be happy to install it again. Until then...

@weingart Thanks for feedback... we are aware we have users who want the minimal keybase command line only version and is something we want to support in the future

cc @malgorithms

Any ideas on how to uninstall on ubuntu? keybase uninstall is not working for me :-1:

keybase uninstall only works for macOS.. I think you uninstall via the package manager otherwise? @oconnor663

apt remove keybase works. I closed it in #7897

on macOS 10.13.2 I executed the key base uninstall command and deleted the app.
When I restarted the machine - it hung on boot up. Spent a couple of hours diagnosing the problem and it was an incomplete keybase uninstall. (Had to boot with non system kexts disabled.)

Basically, since SIP was introduced to macOS, trusted privileged kernels are loaded into /Library/StagedExtensions.

On my system I found the following Keybase components (after I ran the key base uninstall):

/Library/StagedExtensions/Library/Filesystems/kbfuse.fs
/Library/StagedExtensions/Library/Filesystems/kbfuse.fs/Contents/Extensions/10.10/kbfuse.kext
/Library/StagedExtensions/Library/Filesystems/kbfuse.fs/Contents/Extensions/10.10/kbfuse.kext/Contents/MacOS/kbfuse

Manually deleting these and restarting the machine fully solved the problem.
I suggest the key base uninstall script check for and remove these components in StagedExtensions.

cheers
rgds Dave

Sorry about this @davemurphy, we'll investigate....

no problem @maxtaco hopefully the description is specific enough to help fix the problem.

I cannot even run keybase from my console. What is the uninstalling procedure on macOS?

I uninstalled the app and reinstalled it. Then I had keybase available and I ran keybase uninstall. Next, I removed the app.

Now, after restarting the box, I still see ~/Library/Application Support/Keybase (3.6GB). Is it safe to delete it?

I would save the config.json and the secrets.you.mpack files, they have
your irreplaceable crypto credentials that you can use in the future to
access your encrypted data.

On Mon, Apr 9, 2018 at 5:45 AM, Dror Atariah notifications@github.com
wrote:

I uninstalled the app and reinstalled it. Then I had keybase available
and I ran keybase uninstall. Next, I removed the app.

Now, after restarting the box, I still see ~/Library/Application
Support/Keybase (3.6GB). Is it safe to delete it?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/keybase/client/issues/4226#issuecomment-379695914,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA05_70rGNir0Q8at9Ml0nN8fg4SYvMJks5tmy2ngaJpZM4J4Rb5
.

@maxtaco and otherwise safely remove the folder?

Out of curiosity which folders are taking up the most space?

On Mon, Apr 9, 2018 at 9:14 AM, Dror Atariah notifications@github.com
wrote:

@maxtaco https://github.com/maxtaco and otherwise safely remove the
folder?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/keybase/client/issues/4226#issuecomment-379747350,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA05_16vT1DxaRZSxtlyYbAABXNObg-lks5tm16_gaJpZM4J4Rb5
.

Running du -h -d 1 . | sort -h inside ~/Library/Application Support/Keybase yields:

4.0K    ./Local Storage
4.0K    ./kbfs_journal
 16K    ./synced_tlf_config
 40K    ./GPUCache
 52K    ./kbfs_sync_cache
568K    ./keybase.chat.leveldb
9.5M    ./Cache
 14M    ./keybase.leveldb
3.5G    ./kbfs_block_cache
3.6G    .

Is it safe to remove (keeping the files mentioned above)?

Ah, OK. Feel free to blast away kbfs_block_cache, for sure. Thanks

@maxtaco what about the whole directory?

Personally I'd retain config.json and secretkeys.you.mpack, if you ever
plan to use keybase again.... but everything else is disposable.

On Mon, Apr 9, 2018 at 12:34 PM, Dror Atariah notifications@github.com
wrote:

@maxtaco https://github.com/maxtaco what about the whole directory?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/keybase/client/issues/4226#issuecomment-379814120,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA05_wM1-BKkyrN14CBm9SGtZlwIHuDPks5tm42FgaJpZM4J4Rb5
.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

eki picture eki  ·  4Comments

kurianjacob picture kurianjacob  ·  4Comments

veddermatic picture veddermatic  ·  3Comments

pipermerriam picture pipermerriam  ·  4Comments

qntmpkts picture qntmpkts  ·  3Comments