Robotics StackExchange | Archived questions

[TB3] Reinstall ROS on the remote

I badly broke my TB3 install on my remote laptop. How do I remove ROS so I can start from the beginning. I want to start again by executing installroskinetic.sh. I hope not to have to reinstall Ubuntu. Can I remove /opt/ros/kinetic, ~/catkin_ws, etc?

Asked by Ed C. on 2018-08-21 23:03:34 UTC

Comments

Answers

Is the install bash script you refer to this one here? If so this uses apt-get to install ros so you will be able to use the following commands to remove and re-install a fresh ROS installation.

sudo apt-get remove ros-kinetic-desktop-full

Then

sudo apt-get install ros-kinetic-desktop-full

Asked by PeteBlackerThe3rd on 2018-08-22 04:03:04 UTC

Comments

Thank you. However, it did not give me the results I was hoping for. It does not remove /opt/ros/kinetic.

In the process I discovered that my problem was deeper. libopencv-dev remains broken. It is not stored in /opt/ros/kinetic.

Asked by Ed C. on 2018-08-22 12:25:27 UTC

I'm going to reinstall Ubuntu to get to a known state. I've broken opencv and removing and reinstalling packages has not fixed it.

BTW: TB3 does not follow the classic kinetic install procedure. It uses the install_ros_kinetic.sh script found at https://github.com/ROBOTIS-GIT/robotis_tools. I didn't find a remove script there.

Asked by Ed C. on 2018-08-22 12:46:10 UTC

Comments