First Command to Run After Installing Ubuntu

Ubuntu is a great operating system. It fast, secured and easy to use when compared to most of other operating Systems. But Ubuntu is not complete without some additional packages. One command make Ubuntu useful for everyday use.

To get started, press Ctrl – Alt – T on your keyboard to open Terminal.

When Terminal opens, type the command below and press Enter to install.

sudo apt-get install ubuntu-restricted-extras

Programs that will get installed after running the above command are:

  • MP3, DVD Playback support
  • Microsoft Fonts
  • Java Runtime
  • Flash Player
  • and many codecs that are required to play MP3 and DVDs.(OR)

install Ubuntu restricted extras

Ubuntu by default, doesn’t allow you to play MP3, DVD, Flash or most media formats for legal reasons. You must always install additional programs that will allow you to play those media

To install Ubuntu restricted extras

go to Ubuntu Software Center from the application launcher. Then search for “Ubuntu Restricted Extras” and Install . It will install commonly used applications with restricted copyright (mp3,avi,mpeg,True Type,java,Flash,Codecs).

Allu John Sudhakar
System/Network Administrator
to see my Blogger (for Ubuntu)
any help mail to me
[email protected]

Sponsored Link

You may also like...

16 Responses

  1. phanindra says:

    I think better run this command first

    sudo passwd root

    this may not be necessary but good for security
    then adding restricted extras

  2. Orphen says:

    Very useful! Thanks for posting this. I was not aware of the shell command to take care of this easily. This will save lots of time when I’m helping others install Ubuntu!

  3. Daeng Bo says:


    Why would you want to create a hackable password where none exists? That doesn’t seem secure at all!

  4. HairyFoot says:

    re: installing a hackable password…

    The suggestion poised by the article is: the first shell command AFTER installing Ubuntu. Every distro of Ubuntu I’ve ever installed had the root password and user creation BEFORE the installation is completed and I really don’t see the use in changing your password after it’s already been encrypted and stored in a fairly secure spot. I think I’d apt-get me some clam first before building fwalls & sniffers & tarpits & such (i mean, if’n i were to have security issues) & including the non-free repos would be… somewhere further down the list. 😉

  5. Danny Filth says:

    Actually, in the latest iterations of ubiquity, ubuntu’s installer, you get a radio-button, prompting you to check it if you wish to install restricted extras (mp3, flash, etc.), rendering this article pointless.

  6. darent says:

    sudo apt-get install aptitude && sudo aptitude install ubuntu-restricted-extras


  7. Floyd says:

    The first command I run is

    sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade

    And I don’t run this until I have edited the sources.list file to enable all or the repositories except backports.

  8. praveenp says:

    Why is so?

  9. RawShark says:

    Floyd is right,

    sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade

    before you do ANYTHING else. Then

    sudo apt-get install ubuntu-restricted-extras

    after a possible reboot to install latest kernel.

  10. mrhhug says:

    i would beg to differ.

    “sudo apt-get install aptitude”

  11. Dowd says:

    Just a heads up guys, I dont know if it was changed or im typing the command wrong, doubled checked several times, but it is reading unable to locate package in the terminal. I would understand if its me (likely) or may be the fact im only running a live cd as of now. Anyway thought i would let you know.

  12. Dowd says:

    Sorry about previous comment all. That was on me please belay my last.

  13. socialflea says:

    Don’t change your root password. It’s already set to an impossible length for security.

  14. Daniel says:

    Very bad idea to immediately instruct users to run commands after install. Scares people away. Only necessary for advanced users.

  15. cyber poohbear says:


  16. Geni says:

    How to know whetehr ubuntu is perfectly installed or not?? which command to use?

Leave a Reply

Your email address will not be published. Required fields are marked *