apt-get vs git clone
Hello everyone
Im new to ROS platform and im about to build my first real world robot using ROS. M question might sound bad or something but i have to ask since im only a beginner.
which is the best practice for installing ROS packages, apt-get or git clone. For example if i want to install the gmapping package for my robot, should i:
Install the gmapping package using sudo apt-get command and as far as i know if i use this command, the gmapping package will be available for all workspaces and packages.
Install the gmapping package using git clone command.
@miura: why did you add the
ros2
tag?@gvdhoorn , from your answer and comment, I decided that the question applies to ROS2 as well.
Thank you very much, sir, the answer was veryy helpful