How to play mp3 through linux command line.

To get the app :
You will have to make this package available about any linux distribution. Ubuntu users can find it in Software Center or from the command line with

sudo apt-get install mpg123

During installation you may get the following resolution error:


Run following command in console window to solve the problem:

sudo apt-get update

After running this command, your installation will get completed and audio files are ready to run through command line.

To play mp3 file use command:

mpg123 file_name.mp3

Your are now able to listen desired song through CLI


enjoy 🙂


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s