How to install Minicom on Linux / Ubuntu

Minicom is a text-based serial port communications program. It is used to talk to external RS-232 devices such as mobile phones, routers, and serial console ports.

We can install minicom using below command,

$ sudo apt-get install minicom 

Once you install minicom successfully, Connect Serial to USB cable to ubuntu laptop/desktop and type “dmesg” command on terminal as,

 $ dmesg
[15249.916424] usb 6-2: new full-speed USB device number 2 using uhci_hcd
[15250.073727] usb 6-2: New USB device found, idVendor=067b, idProduct=2303
[15250.073740] usb 6-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[15250.073748] usb 6-2: Product: USB-Serial Controller
[15250.073754] usb 6-2: Manufacturer: Prolific Technology Inc.
[15251.849594] usbcore: registered new interface driver usbserial
[15251.849614] usbcore: registered new interface driver usbserial_generic
[15251.849629] usbserial: USB Serial support registered for generic
[15251.861018] usbcore: registered new interface driver pl2303
[15251.861038] usbserial: USB Serial support registered for pl2303
[15251.861063] pl2303 6-2:1.0: pl2303 converter detected
[15251.872688] usb 6-2: pl2303 converter now attached to ttyUSB0

This shows now that Serial to USB cable detected and created /dev/ttyUSB0 as device node. Now, lets start minicom on terminal as,

 $ sudo minicom -s /dev/ttyUSB0

One opened windows, goto “Serial Port Setup” and make the settings as below,

Once thats done, go to “Exit” and hit “Enter” key, so it will start minicom on /dev/ttyUSB0 port and will be ready to receive strings with below message,

Welcome to minicom 2.7

OPTIONS: I18n                                                                
Compiled on Feb  7 2016, 13:37:32.                                           
Port /dev/ttyUSB0, 22:42:28                                                  
                                                                             
Press CTRL-A Z for help on special keys                                      

Now connect the Power Cable to your hardware, and you should see the booting messages flowing on minicom terminal. Enjoy !

Leave a Comment