5

I'm new to Ubuntu. I tried installing it with Windows 8.1, but failed I lost all my files.

I have successfully formatted my PC and installed Ubuntu, but how do I install codecs to play audio and videos files ?

3
  • Videos codecs ? Audio codecs ?
    – hg8
    Aug 5, 2015 at 8:49
  • Both I cant play audio cant play video even installed Mplayer with Software center i got response of skin problem..... its frustrating Aug 5, 2015 at 8:51
  • possible duplicate of Install media codecs
    – karel
    Aug 5, 2015 at 9:25

1 Answer 1

5

Open a terminal (Ctrl + Alt + T) and paste the following code :

sudo apt-get install ubuntu-restricted-extras 

Or install using Ubuntu Software center :

Install via the software center

It will install proprietary codecs needed for reading audio and video files.


Alternatively you can use VLC Media Player which can play most of the audio/video formats :

sudo apt-get install vlc
9
  • 1
    Got response Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? Aug 5, 2015 at 8:53
  • Do you have Ubuntu Software Center or another terminal open ?
    – hg8
    Aug 5, 2015 at 8:54
  • Yes Since Mplayer isnt working i'm trying vlc Aug 5, 2015 at 8:54
  • Vlc will work but will not install codecs on your system.
    – hg8
    Aug 5, 2015 at 8:59
  • And how do i install other codecs Aug 5, 2015 at 9:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .