How to Install Flash Player on Ubuntu

How to Install Flash Player on Ubuntu


After installing Ubuntu 16.04 LTS the first thing you would want to do is install media codecs. Media codecs help you play media’s such as mp3, mp4, mkv, mov, flv and DVDs. Without media codecs, Ubuntu can’t play any type of Medias.

 There is a reason why Ubuntu doesn’t ship media codecs by default. Due to legal constraints in many countries, Ubuntu can’t ship media codecs. Ubuntu would love to include them if they could. But don’t worry about it. Installing media codecs on Ubuntu is not hard at all.

It’s the same as installing any other software on Ubuntu. It’s a matter of going to the software center and installing a package or firing the terminal and running several commands.

Ubuntu doesn’t include Flash Player either. This tutorial is about installing flash player and other media codecs on Ubuntu.

This is a step-by-step tutorial on how to install flash player on Ubuntu. To follow this tutorial, you need to have the following requirements:

  • A computer with Ubuntu operating system installed.
  • Good internet connection to download the required software packages from the internet.
  • Basic knowledge of Ubuntu terminal. With basic I mean, how to open a terminal on Ubuntu and how to execute commands.

Let’s get started. 

Step 1: First open the terminal of your Ubuntu operating system. You can open your terminal by pressing Control, Alt and T at the same time. You can also go to the Unity dashboard and search by the keyword “Terminal” and click on the terminal. Or you can right click on the Desktop and click on “Open Terminal”.

Step 2: Now it’s time to update the repository information of your Ubuntu operating system. The repository is updated frequently, so if you have an old repository database on your Ubuntu system, you will end up installing an old version of VLC media player.

Because your Ubuntu operating system won’t have any idea that there is new VLC media player packages available. Run the following command and press enter,

“sudo apt-get update”


It will prompt you for your password. Type in your user password and press Enter.


Package repository update will start automatically. Wait for it to finish, it will take some time if it’s the first time you’re running this command.

Step 3: Once it’s complete. Run the following command.
“sudo apt-get install ubuntu-restricted-extras”


Type in your user password and press Enter.


On the prompt, press y and press Enter. Ubuntu media codecs along with flash player installation should start.


It will take several minutes depending on your internet speed. Wait and let it finish.

After a while, you will see a notice like this,


select “Ok” and press Enter.


Then select “Yes” and press Enter. The installation will continue.


Step 4: Once it’s finished you can go to any website that has flash videos or programs and play them.

That’s how you install flash player and other codecs on Ubuntu.