Installation in Linux

In Linux, there is a tool called disk dump (dd). This tool helps to copy the content of the image to the SD card. dd is a command line tool which is available in all the Ubuntu/Linux-based OSes. Insert the micro SD card, format to the FAT32 filesystem, and use the command mentioned later to write an image to the micro SD card.

In the dd tool, there is no progress bar to indicate the copy progress. To get the progress bar, we can install a pipe viewer tool called pv:

$ sudo apt-get install pv  

After installing pv, we can use the following command to install the image file to the micro SD card. Note that you should have the OS image in the same path of the Terminal, and note the micro SD card device name; for example, ...

Get Mastering ROS for Robotics Programming - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.