# Deleted Folders in ROS2 Basics in 5 Days. How do I install all the directories back?

**URL:** <https://get-help.theconstruct.ai/t/deleted-folders-in-ros2-basics-in-5-days-how-do-i-install-all-the-directories-back/38834>\
**Category:** ROS2 Basics in 5 Days Humble (Python)\
**Created:** [November 10, 2025, 2:51am UTC](https://get-help.theconstruct.ai/t/deleted-folders-in-ros2-basics-in-5-days-how-do-i-install-all-the-directories-back/38834 "2025-11-10T02:51:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![daquan](https://get-help.theconstruct.ai/letter_avatar_proxy/v4/letter/d/a183cd/32.png) [@daquan](https://get-help.theconstruct.ai/u/daquan)\
**Post date:** [November 10, 2025, 2:51am UTC](https://get-help.theconstruct.ai/t/deleted-folders-in-ros2-basics-in-5-days-how-do-i-install-all-the-directories-back/38834/1 "2025-11-10T02:51:19Z")

</div>

Hello, I restarted my ROS2 Basics course using a (now closed) forum where I entered the commands cd ~/ros2\_ws and rm -rf build/ install/ src/. However, when I tried cd ~/catkin\_ws,  
mkdir src, catkin\_make I recieved errors. Is there any way I can fix this and restate the original course back to sqaure 1? Currently the attached image is what my directories look like.

 ![Screenshot 2025-11-09 at 6.50.13 PM](https://get-help.theconstruct.ai/uploads/default/original/2X/b/b9ebb825c851540445bb3a980d4c93124b47b1b1.png)

---

<div class="post-metadata">

**Author:** ![bayodesegun](https://get-help.theconstruct.ai/user_avatar/get-help.theconstruct.ai/bayodesegun/32/10684_2.png) [@bayodesegun](https://get-help.theconstruct.ai/u/bayodesegun)\
**Post date:** [November 10, 2025, 12:52pm UTC](https://get-help.theconstruct.ai/t/deleted-folders-in-ros2-basics-in-5-days-how-do-i-install-all-the-directories-back/38834/2 "2025-11-10T12:52:39Z")

</div>

@daquan  
You cannot use `catkin_ws` and `catkin_make` in a ROS2 environment.

That said, your ros2\_ws directory should have been automatically recreated by now. If you are following a ROS1 tutorial, please open a ROS1 course like ROS Basics in 5 Days.

---

<div class="post-metadata">

**Author:** ![system](https://get-help.theconstruct.ai/uploads/default/original/2X/9/9d3ce8305cc0d0d9b6e07d15767a6f245c526f1b.jpeg) [@system](https://get-help.theconstruct.ai/u/system)\
**Post date:** [November 15, 2025, 12:53pm UTC](https://get-help.theconstruct.ai/t/deleted-folders-in-ros2-basics-in-5-days-how-do-i-install-all-the-directories-back/38834/3 "2025-11-15T12:53:16Z")

</div>

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.
