Monday, April 14, 2014

Open video in Linux terminal in ASCII mode

If you want to open the video in Linux terminal, follow the steps.

They are not viewable but if you are Linux Geek, only you can understand the experience.

If you are using ubuntu / debian / mint, Install following package first.
# sudo apt-get install mplayer
Now play the video using terminal
# mplayer -vo caca "/path/of/the/video/.avi"

If you are using CentOS / RHEL / fedora, Install following package first.
# sudo yum install mplayer
Now play the song using terminal
# mplayer -vo caca "/path/of/the/video/.avi"

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"

ubuntu - E: Could not perform immediate configuration on 'util-linux'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)

If you are facing this error on your ubuntu or debian system. Run following commands.
# sudo apt-get upgrade -y

# sudo apt-get install upstart-job

# sudo apt-get dist-upgrade -y