Showing posts with label play songs on linux terminal. Show all posts
Showing posts with label play songs on linux terminal. Show all posts

Monday, April 14, 2014

Play songs using Linux Terminal


If you want to play the songs using Linux command line, follow this.

If you are using ubuntu / debian / mint, Install following package first.
# sudo apt-get install mpg321
Now play the song using terminal
# mpg321 "/path/of/the/song.mp3"

If you are using CentOS / RHEL / fedora, Install following package first.
# sudo yum install mpg123
Now play the song using terminal
# mpg123 "/path/of/the/song.mp3"