Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » How do I completely remove Eclipse IDE from my Linux computer?(IDE Removal)
How do I completely remove Eclipse IDE from my Linux computer? [message #1866891] Mon, 10 June 2024 11:43 Go to next message
Jogn Jenson is currently offline Jogn JensonFriend
Messages: 5
Registered: June 2024
Junior Member
I want to start a fresh install of Eclipse on my Linux box; so I want to completely remove what's already installed without affecting the new install. How can I do this?

I originally installed Eclipse by unzipping the Eclipse archive to /opt directory, set up a desktop shortcut, started up Eclipse and then installed new software using the link in the help menu. I have actually did this several times using different versions of Eclipse by simply deleting the Eclipse directory in /opt and unzipping another version of Eclipse. So I need to completely wipe out everything created by Eclipse including any updates before doing a new install. How should I go about doing this?

Thanks,
JJ

Re: How do I completely remove Eclipse IDE from my Linux computer? [message #1866900 is a reply to message #1866891] Mon, 10 June 2024 14:59 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33224
Registered: July 2009
Senior Member
I assume the opt directly is read-only so that update are installed into the surrogate installation.... Have a look in ~/.eclipse which is where the surrogates are managed.

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: How do I completely remove Eclipse IDE from my Linux computer? [message #1866906 is a reply to message #1866900] Mon, 10 June 2024 15:50 Go to previous messageGo to next message
Jogn Jenson is currently offline Jogn JensonFriend
Messages: 5
Registered: June 2024
Junior Member
Ed Merks wrote on Mon, 10 June 2024 14:59
I assume the opt directly is read-only so that update are installed into the surrogate installation.... Have a look in ~/.eclipse which is where the surrogates are managed.


I have deleted the whole ~/eclipse directory before along with the /opt/eclipse directory. I think there is still some stuff remaining after deleting those because if I reinstall, I get some errors that I didn't get the first time I installed. Are there any other directories where there is stuff installed?
Re: How do I completely remove Eclipse IDE from my Linux computer? [message #1866915 is a reply to message #1866906] Mon, 10 June 2024 16:25 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33224
Registered: July 2009
Senior Member
What do you mean by install? Are you using the Eclipse Installer? There is also a ~/.p2 folder. You could give a hint about what "some errors" are...

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: How do I completely remove Eclipse IDE from my Linux computer? [message #1866927 is a reply to message #1866915] Mon, 10 June 2024 19:49 Go to previous message
Jogn Jenson is currently offline Jogn JensonFriend
Messages: 5
Registered: June 2024
Junior Member
Ed Merks wrote on Mon, 10 June 2024 16:25
What do you mean by install? Are you using the Eclipse Installer?


What I do is unzip the contents of the eclipse archive to /opt and then I run eclipse. Eclipse will start up and then I will click "install new software" and install some packages. I will also click on Espressif|ESP-IDF Manager and click the button "Add ESP-IDF". Do I need to do anything else?

Ed Merks wrote on Mon, 10 June 2024 16:25

There is also a ~/.p2 folder.


I didn't know about that one and there is a lot of stuff in there. Are there any other locations?

Ed Merks wrote on Mon, 10 June 2024 16:25

You could give a hint about what "some errors" are...


I wanted to keep things simple by not mentioning any other software packages just to stick to my topic of cleanly removing eclipse, but if you're curious......

When I try to install packages using "install new software", sometimes I get messages stating that certain packages were already installed.

I also run into errors when I do a build of my project, such as:

make all
The following Python requirements are not satisfied:
pyserial>=3.0
future>=0.15.2
cryptography>=2.1.4
pyparsing>=2.0.3,<2.4.0
pyelftools>=0.22
gdbgui>=0.13.2.0
pygdbmi<=0.9.0.2
reedsolo>=1.5.3,<=1.5.4
bitstring>=3.1.6
To install the missing packages, please run "/home/jj/esp32/esp-idf/install.sh"
Diagnostic information:
IDF_PYTHON_ENV_PATH: /usr/bin/python
Python interpreter used: /usr/bin/python
make: *** No rule to make target 'check_python_dependencies', needed by 'all'. Stop.
"make all" terminated with exit code 2. Build might be incomplete.


Then when I try to run "sudo /home/jj/esp32/esp-idf/install.sh" I get:

~/esp32/esp-idf$ sudo ./install.sh
[sudo] password for jj:
Installing ESP-IDF tools
Installing tools: xtensa-esp32-elf, xtensa-esp32s2-elf, esp32ulp-elf, esp32s2ulp-elf, openocd-esp32
Skipping xtensa-esp32-elf@esp-2020r2-8.2.0 (already installed)
Skipping xtensa-esp32s2-elf@esp-2020r2-8.2.0 (already installed)
Skipping esp32ulp-elf@2.28.51-esp-20191205 (already installed)
Skipping esp32s2ulp-elf@2.28.51-esp-20191205 (already installed)
Skipping openocd-esp32@v0.10.0-esp32-20200709 (already installed)
Installing Python environment and packages
Creating a new Python environment in /root/.espressif/python_env/idf4.3_py3.11_env
Installing virtualenv
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.

If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.

If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.

See /usr/share/doc/python3.11/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
Traceback (most recent call last):
File "/home/jj/esp32/esp-idf/tools/idf_tools.py", line 1201, in action_install_python_env
import virtualenv # noqa: F401
^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'virtualenv'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/jj/esp32/esp-idf/tools/idf_tools.py", line 1492, in <module>
main(sys.argv[1:])
File "/home/jj/esp32/esp-idf/tools/idf_tools.py", line 1488, in main
action_func(args)
File "/home/jj/esp32/esp-idf/tools/idf_tools.py", line 1204, in action_install_python_env
subprocess.check_call([sys.executable, '-m', 'pip', 'install', '--user', 'virtualenv'],
File "/usr/lib/python3.11/subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python', '-m', 'pip', 'install', '--user', 'virtualenv']' returned non-zero exit status 1.


Not sure what to do after that.....but maybe after a clean install, I won't have that problem.
Previous Topic:information about UML and eclipse IDE. Quick Tip. Single eclipse IDE
Next Topic:2024-03 useless because can no longer bring up search dialog
Goto Forum:
  


Current Time: Sun Oct 06 20:52:37 GMT 2024

Powered by FUDForum. Page generated in 0.09386 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top