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 ?

share|improve this question
    
Videos codecs ? Audio codecs ? – hg8 Aug 5 '15 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 – olanipekun caleb Aug 5 '15 at 8:51
    
possible duplicate of Install media codecs – karel Aug 5 '15 at 9:25
up vote 4 down vote accepted

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
share|improve this answer
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? – olanipekun caleb Aug 5 '15 at 8:53
    
Do you have Ubuntu Software Center or another terminal open ? – hg8 Aug 5 '15 at 8:54
    
Yes Since Mplayer isnt working i'm trying vlc – olanipekun caleb Aug 5 '15 at 8:54
    
Vlc will work but will not install codecs on your system. – hg8 Aug 5 '15 at 8:59
    
And how do i install other codecs – olanipekun caleb Aug 5 '15 at 9:03

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.