O'Reilly logo

Learning Raspberry Pi by Samarth Shah

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Tips and tricks

The previous section has the solution to most of the challenges that you might face while using this book. You should not limit your Raspberry Pi learning to what has been covered in this book. This section covers some interesting tips and tricks that will be useful to you.

Play MP3 files

The Raspbian OS contains the standard distribution to play .wav files. However, if you want to play MP3 files, install the mpg321 library by executing the following command in the terminal:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install mpg321

You can play MP3 files with the following command:

mpg321 "my file.mp3"

Remove boot messages

Go to the Raspberry Pi terminal and enter the following command:

cd /boot/
sudo nano cmdline.txt

At the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required