Skip to content

Instantly share code, notes, and snippets.

@danilogco
Created September 12, 2024 01:44
Show Gist options
  • Save danilogco/760503dbd6c3fd5c47fde16bcd88575d to your computer and use it in GitHub Desktop.
Save danilogco/760503dbd6c3fd5c47fde16bcd88575d to your computer and use it in GitHub Desktop.
Uninstall completely Lens K8s - Manjaro
To completely remove **Lens** (Kubernetes IDE) from **Manjaro**, follow these steps:
1. **Uninstall Lens:**
If you installed Lens via a package manager like `yay` or `pamac`, you can remove it using the following commands:
- For `pamac`:
```bash
sudo pamac remove lens-bin
```
- For `yay`:
```bash
yay -Rns lens-bin
```
Make sure to replace `lens-bin` with the correct package name if you installed it under a different name.
2. **Remove Lens Configuration and Cache Files:**
To delete any remaining configuration or cache files for Lens, remove the following directories:
```bash
rm -rf ~/.config/Lens
rm -rf ~/.cache/Lens
rm -rf ~/.k8slens
```
3. **Verify the Removal:**
Check if Lens is still installed by running the following command:
```bash
which lens
```
If it returns no output, Lens has been successfully removed.
This should completely remove Lens from your Manjaro system.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment