In the next article we will take a look at a small list of music players for the Ubuntu command line. These music players are free and available for Gnu / Linux systems.
Over time, in this blog we have seen players for the terminal such as MOC, Sox or MusikCube, among others. But in addition to these, there are other options, such as the ones we will see below. By these command line applications we will be able to navigate through arrow keys and keyboard shortcuts.
Music players for the command line
The Mpv player is one of the most popular multimedia players for Gnu / Linux, capable of playing video and audio files. For this reason we can use it to play only music from the command line by passing the option “-no video“.
It can install Mpv on Ubuntu using the command (Ctrl + Alt + T) in the terminal:
sudo apt install mpv
Too you can follow the instructions available in your Web page.
For this example we will play all files within the Music folder. This can be achieved by running the following command:
mpv --no-video ~/Música/
For learn how to use Mpv, you can check its man page or run the command:
If you want remove this program from the system, in a terminal (Ctrl + Alt + T) you just have to use the command:
sudo apt remove mpv; sudo apt autoremove
VLC is a free, open source, cross-platform graphical media player. It also includes a tool to be able to use it from the command line.
For install this player in Ubuntu, in a terminal (Ctrl + Alt + T) you just have to use the command:
sudo apt install vlc
It can download the latest version of the VLC player from your official Web site.
For play all music files in a folder, we will have to execute in the terminal (Ctrl + Alt + T) the command:
vlc -I ncurses --no-video ~/Música/
It can get information on how to use this program checking your man page or using the command:
For remove this program you just have to use the command in the terminal (Ctrl + Alt + T):
sudo apt remove vlc; sudo apt autoremove
Mplayer is a graphical media player for Gnu / Linux capable of playing audio and video files. This can also be used as a music player in the terminal.
For install Mplayer on Ubuntu, in a terminal (Ctrl + Alt + T) we will execute the command:
sudo apt install mplayer
It also can download the package for installation from your official Web site.
For play all files located in the Music folder from the terminal (Ctrl + Alt + T) we will only need to use the command:
For learn more about how to use Mplayer, we can consult its man page or use the command:
For remove this program from our team, in a terminal you just have to write:
sudo apt remove mplayer; sudo apt autoremove
Mpg123 is a music player and audio decoder for the command line in Gnu / Linux. It allows you to play and decode mp3 files in real time, mix songs, mix music and has built-in support for an equalizer.
For install mpg123 on Ubuntu, in a terminal (Ctrl + Alt + T) you just have to use the command:
sudo apt install mpg123
It can Get more information about installation and use in the project website.
If we want play all mp3 files inside Music folder using Mpg123, we will have to execute the command:
For see all possible options from the command line, we can check its man page or use the command:
This program can be uninstalled using the commands:
sudo apt remove mpg123; sudo apt autoremove
Ogg123 works similar to Mpg123, but only for ‘.ogg‘. Its feature set is also identical to that of Mpg123.
If you’re interested install Ogg123 on Ubuntu, in a terminal (Ctrl + Alt + T) we will use the command:
sudo apt install vorbis-tools
Too we can compile it from the source as indicated from its page on GitHub.
Whenever we want play all .ogg files located in the Music folder using Ogg123, we will only have to execute the command:
For see all possible options on the command line, you can run the following command:
In case of wanting remove this program from our team, you just have to use the commands:
sudo apt remove vorbis-tools
These are just some of the music players available for use on the console of Gnu / Linux systems. What has been a small selection among all the available possibilities.