Recentemente, tive alguns problemas com a execução do pycharm-community, onde ele falhou completamente ao carregar, então decidi remover completamente o software e tentar novamente com uma nova instalação. Ao contrário da maioria dos softwares que eu uso atualmente, o pycharm-community foi instalado baixando um tarball do software e executando um script install.sh, então não consegui desinstalar com o apt.
Eu decidi tentar remover todos os arquivos associados a pycharm-community na esperança de removê-lo completamente. Aqui está a lista de todos os arquivos no meu sistema que tinham "pycharm" no nome:
/var/snap/pycharm-community
/var/lib/lxcfs/cgroup/devices/system.slice/snap-pycharm\x2dcommunity-51.mount
/var/lib/lxcfs/cgroup/devices/system.slice/snap-pycharm\x2dcommunity-58.mount
/var/lib/lxcfs/cgroup/devices/system.slice/snap-pycharm\x2dcommunity-56.mount
/var/lib/lxcfs/cgroup/pids/system.slice/snap-pycharm\x2dcommunity-51.mount
/var/lib/lxcfs/cgroup/pids/system.slice/snap-pycharm\x2dcommunity-58.mount
/var/lib/lxcfs/cgroup/pids/system.slice/snap-pycharm\x2dcommunity-56.mount
/var/lib/lxcfs/cgroup/blkio/system.slice/snap-pycharm\x2dcommunity-51.mount
/var/lib/lxcfs/cgroup/blkio/system.slice/snap-pycharm\x2dcommunity-58.mount
/var/lib/lxcfs/cgroup/blkio/system.slice/snap-pycharm\x2dcommunity-56.mount
/var/lib/lxcfs/cgroup/memory/system.slice/snap-pycharm\x2dcommunity-51.mount
/var/lib/lxcfs/cgroup/memory/system.slice/snap-pycharm\x2dcommunity-58.mount
/var/lib/lxcfs/cgroup/memory/system.slice/snap-pycharm\x2dcommunity-56.mount
/var/lib/lxcfs/cgroup/cpu,cpuacct/system.slice/snap-pycharm\x2dcommunity-51.mount
/var/lib/lxcfs/cgroup/cpu,cpuacct/system.slice/snap-pycharm\x2dcommunity-58.mount
/var/lib/lxcfs/cgroup/cpu,cpuacct/system.slice/snap-pycharm\x2dcommunity-56.mount
/var/lib/lxcfs/cgroup/name=systemd/system.slice/snap-pycharm\x2dcommunity-51.mount
/var/lib/lxcfs/cgroup/name=systemd/system.slice/snap-pycharm\x2dcommunity-58.mount
/var/lib/lxcfs/cgroup/name=systemd/system.slice/snap-pycharm\x2dcommunity-56.mount
/var/lib/snapd/seccomp/bpf/snap.pycharm-community.pycharm-community.bin
/var/lib/snapd/seccomp/bpf/snap.pycharm-community.pycharm-community.src
/var/lib/snapd/snaps/pycharm-community_56.snap
/var/lib/snapd/snaps/pycharm-community_58.snap
/var/lib/snapd/snaps/pycharm-community_51.snap
/var/lib/snapd/apparmor/profiles/snap-update-ns.pycharm-community
/var/lib/snapd/apparmor/profiles/snap.pycharm-community.pycharm-community
/var/lib/snapd/desktop/applications/pycharm-community_pycharm-community.desktop
/var/lib/snapd/cookie/snap.pycharm-community
/var/cache/apparmor/snap-update-ns.pycharm-community
/var/cache/apparmor/snap.pycharm-community.pycharm-community
/snap/pycharm-community
/snap/pycharm-community/51/bin/pycharm.png
/snap/pycharm-community/51/bin/pycharm.sh
/snap/pycharm-community/51/bin/pycharm.vmoptions
/snap/pycharm-community/51/bin/pycharm64.vmoptions
/snap/pycharm-community/51/command-pycharm-community.wrapper
/snap/pycharm-community/51/helpers/pycharm
/snap/pycharm-community/51/helpers/pycharm/pycharm_commands
/snap/pycharm-community/51/helpers/pycharm/pycharm_commands/pycharm_test.py
/snap/pycharm-community/51/helpers/pycharm/pycharm_load_entry_point.py
/snap/pycharm-community/51/helpers/pycharm/pycharm_run_utils.py
/snap/pycharm-community/51/helpers/pycharm/pycharm_setup_runner.py
/snap/pycharm-community/51/helpers/pycharm_generator_utils
/snap/pycharm-community/51/helpers/pycharm_matplotlib_backend
/snap/pycharm-community/51/helpers/pydev/merge_pydev_pycharm.txt
/snap/pycharm-community/51/helpers/pydev/pycharm-readme.txt
/snap/pycharm-community/51/lib/pycharm-pydev.jar
/snap/pycharm-community/51/lib/pycharm.jar
/snap/pycharm-community/51/lib/src/pycharm-openapi-src.zip
/snap/pycharm-community/51/lib/src/pycharm-pydev-src.zip
/snap/pycharm-community/51/meta/gui/pycharm-community.desktop
/snap/pycharm-community/51/snap/gui/pycharm-community.desktop
/snap/pycharm-community/58/bin/pycharm.png
/snap/pycharm-community/58/bin/pycharm.sh
/snap/pycharm-community/58/bin/pycharm.vmoptions
/snap/pycharm-community/58/bin/pycharm64.vmoptions
/snap/pycharm-community/58/command-pycharm-community.wrapper
/snap/pycharm-community/58/helpers/pycharm
/snap/pycharm-community/58/helpers/pycharm/pycharm_commands
/snap/pycharm-community/58/helpers/pycharm/pycharm_commands/pycharm_test.py
/snap/pycharm-community/58/helpers/pycharm/pycharm_load_entry_point.py
/snap/pycharm-community/58/helpers/pycharm/pycharm_run_utils.py
/snap/pycharm-community/58/helpers/pycharm/pycharm_setup_runner.py
/snap/pycharm-community/58/helpers/pycharm_generator_utils
/snap/pycharm-community/58/helpers/pycharm_matplotlib_backend
/snap/pycharm-community/58/helpers/pydev/merge_pydev_pycharm.txt
/snap/pycharm-community/58/helpers/pydev/pycharm-readme.txt
/snap/pycharm-community/58/lib/pycharm-pydev.jar
/snap/pycharm-community/58/lib/pycharm.jar
/snap/pycharm-community/58/lib/src/pycharm-openapi-src.zip
/snap/pycharm-community/58/lib/src/pycharm-pydev-src.zip
/snap/pycharm-community/58/meta/gui/pycharm-community.desktop
/snap/pycharm-community/58/snap/gui/pycharm-community.desktop
/snap/pycharm-community/56/bin/pycharm.png
/snap/pycharm-community/56/bin/pycharm.sh
/snap/pycharm-community/56/bin/pycharm.vmoptions
/snap/pycharm-community/56/bin/pycharm64.vmoptions
/snap/pycharm-community/56/command-pycharm-community.wrapper
/snap/pycharm-community/56/helpers/pycharm
/snap/pycharm-community/56/helpers/pycharm/pycharm_commands
/snap/pycharm-community/56/helpers/pycharm/pycharm_commands/pycharm_test.py
/snap/pycharm-community/56/helpers/pycharm/pycharm_load_entry_point.py
/snap/pycharm-community/56/helpers/pycharm/pycharm_run_utils.py
/snap/pycharm-community/56/helpers/pycharm/pycharm_setup_runner.py
/snap/pycharm-community/56/helpers/pycharm_generator_utils
/snap/pycharm-community/56/helpers/pycharm_matplotlib_backend
/snap/pycharm-community/56/helpers/pydev/merge_pydev_pycharm.txt
/snap/pycharm-community/56/helpers/pydev/pycharm-readme.txt
/snap/pycharm-community/56/lib/pycharm-pydev.jar
/snap/pycharm-community/56/lib/pycharm.jar
/snap/pycharm-community/56/lib/src/pycharm-openapi-src.zip
/snap/pycharm-community/56/lib/src/pycharm-pydev-src.zip
/snap/pycharm-community/56/meta/gui/pycharm-community.desktop
/snap/pycharm-community/56/snap/gui/pycharm-community.desktop
/snap/bin/pycharm-community
/sys/fs/cgroup/devices/system.slice/snap-pycharm\x2dcommunity-51.mount
/sys/fs/cgroup/devices/system.slice/snap-pycharm\x2dcommunity-58.mount
/sys/fs/cgroup/devices/system.slice/snap-pycharm\x2dcommunity-56.mount
/sys/fs/cgroup/pids/system.slice/snap-pycharm\x2dcommunity-51.mount
/sys/fs/cgroup/pids/system.slice/snap-pycharm\x2dcommunity-58.mount
/sys/fs/cgroup/pids/system.slice/snap-pycharm\x2dcommunity-56.mount
/sys/fs/cgroup/blkio/system.slice/snap-pycharm\x2dcommunity-51.mount
/sys/fs/cgroup/blkio/system.slice/snap-pycharm\x2dcommunity-58.mount
/sys/fs/cgroup/blkio/system.slice/snap-pycharm\x2dcommunity-56.mount
/sys/fs/cgroup/memory/system.slice/snap-pycharm\x2dcommunity-51.mount
/sys/fs/cgroup/memory/system.slice/snap-pycharm\x2dcommunity-58.mount
/sys/fs/cgroup/memory/system.slice/snap-pycharm\x2dcommunity-56.mount
/sys/fs/cgroup/cpu,cpuacct/system.slice/snap-pycharm\x2dcommunity-51.mount
/sys/fs/cgroup/cpu,cpuacct/system.slice/snap-pycharm\x2dcommunity-58.mount
/sys/fs/cgroup/cpu,cpuacct/system.slice/snap-pycharm\x2dcommunity-56.mount
/sys/fs/cgroup/systemd/system.slice/snap-pycharm\x2dcommunity-51.mount
/sys/fs/cgroup/systemd/system.slice/snap-pycharm\x2dcommunity-58.mount
/sys/fs/cgroup/systemd/system.slice/snap-pycharm\x2dcommunity-56.mount
/sys/kernel/security/apparmor/policy/profiles/snap-update-ns.pycharm-
community.26
/sys/kernel/security/apparmor/policy/profiles/snap.pycharm-community.pycharm-community.17
/etc/systemd/system/snap-pycharm\x2dcommunity-58.mount
/etc/systemd/system/snap-pycharm\x2dcommunity-51.mount
/etc/systemd/system/multi-user.target.wants/snap-pycharm\x2dcommunity-58.mount
/etc/systemd/system/multi-user.target.wants/snap-pycharm\x2dcommunity-51.mount
/etc/systemd/system/multi-user.target.wants/snap-pycharm\x2dcommunity-56.mount
/etc/systemd/system/snap-pycharm\x2dcommunity-56.moun
Eu dei uma olhada no diretório snap e descobri que eu poderia desinstalar pycharm-community com sudo snap remove pycharm-community
. Agora, quando eu executar find / -iname "*pycharm*"
, os arquivos a seguir ainda estarão presentes:
/var/lib/lxcfs/cgroup/devices/system.slice/snap-pycharm\x2dcommunity-51.mount
/var/lib/lxcfs/cgroup/devices/system.slice/snap-pycharm\x2dcommunity-56.mount
/var/lib/lxcfs/cgroup/pids/system.slice/snap-pycharm\x2dcommunity-51.mount
/var/lib/lxcfs/cgroup/pids/system.slice/snap-pycharm\x2dcommunity-56.mount
/var/lib/lxcfs/cgroup/blkio/system.slice/snap-pycharm\x2dcommunity-51.mount
/var/lib/lxcfs/cgroup/blkio/system.slice/snap-pycharm\x2dcommunity-56.mount
/var/lib/lxcfs/cgroup/memory/system.slice/snap-pycharm\x2dcommunity-51.mount
/var/lib/lxcfs/cgroup/memory/system.slice/snap-pycharm\x2dcommunity-56.mount
/var/lib/lxcfs/cgroup/cpu,cpuacct/system.slice/snap-pycharm\x2dcommunity- 51.mount
/var/lib/lxcfs/cgroup/cpu,cpuacct/system.slice/snap-pycharm\x2dcommunity-56.mount
/sys/fs/cgroup/devices/system.slice/snap-pycharm\x2dcommunity-51.mount
/sys/fs/cgroup/devices/system.slice/snap-pycharm\x2dcommunity-56.mount
/sys/fs/cgroup/pids/system.slice/snap-pycharm\x2dcommunity-51.mount
/sys/fs/cgroup/pids/system.slice/snap-pycharm\x2dcommunity-56.mount
/sys/fs/cgroup/blkio/system.slice/snap-pycharm\x2dcommunity-51.mount
/sys/fs/cgroup/blkio/system.slice/snap-pycharm\x2dcommunity-56.mount
/sys/fs/cgroup/memory/system.slice/snap-pycharm\x2dcommunity-51.mount
/sys/fs/cgroup/memory/system.slice/snap-pycharm\x2dcommunity-56.mount
/sys/fs/cgroup/cpu,cpuacct/system.slice/snap-pycharm\x2dcommunity-51.mount
/sys/fs/cgroup/cpu,cpuacct/system.slice/snap-pycharm\x2dcommunity-56.mount
/sys/kernel/security/apparmor/policy/profiles/snap-update-ns.pycharm-community.26
/sys/kernel/security/apparmor/policy/profiles/snap.pycharm-community.pycharm-community.17
Eu queria saber quais são esses arquivos; se eu precisar removê-los para começar com uma instalação completamente nova; e se sim, como removê-los?