How to install Adobe Flash Player plug-in for Firefox on Ubuntu

Click here to check flash player on your browser

Adobe flash player is also a plug-in for for Mozilla Firefox to view flash videos (ex: youtube videos) and play flash on-line games, etc. Therefore flash player became essential plug-in for most of the web browsers until HTML 5 take place (because HTML 5 has new capabilities those can challenge to flash player such as video playing).

This article describe how to install Adobe Flash Player plug-in for Firefox on Ubuntu

You might be think, is this a very harder thing?

Yes, some times.

Because, Ubuntu software center and Synaptic package manager can use to install flash player plug-in for some Ubuntu versions and it will simply works. But some Ubuntu distribution such as Ubuntu 16.04 needs to follow following few steps to make it work correctly.

Step 1- Download latest Adobe Flash Player Plug-in form here.(Select download option as 'tar.gz for other Linux')

Step 2- Extract downloaded file into any directory. (extracted file should be .so format)

Step 3- Open terminal (Application --> Accessories --> Terminal or Ctrl+Alt+T)

Step 4- Type following command

sudo -i

Now it will prompt you the Password. Now enter the password and press enter  

Step 5- Goto directory that contain extracted .so file using cd command (Ex: cd Downlods)

Step 6- Copy that .so file into /usr/lib/mozilla/plugins directory. To copy that file use following command.

cp [fileName].so /usr/lib/firefox-addons/plugins

(Ex: cp libflashplayer.so /usr/lib/firefox-addons/plugins)

Step 7- Restart the system to make changes appear to Firefox.

It is better to close all the Firefox related windows before copy the .so file. Remember you should restart the system to make plug-in work correctly (Not only restart Firefox)

If this article helpful to some one please do not forget to comment about it.

See how to do this from videos!


Continue Reading...

Is flash player installed?

This page allows you to check whether your browser has flash player installed.
and detect the installed flash player version.
The check perfectly works on Firefox and Chrome.
Check how you can install flash, if it says NO!
Click here to read how to install, or watch following videos. Adobe flash player is also a plug-in for for Mozilla Firefox to view flash videos (ex: youtube videos) and play flash on-line games, etc. Therefore flash player became essential plug-in for most of the web browsers until HTML 5 take place (because HTML 5 has new capabilities those can challenge to flash player such as video playing). This article describe how to install Adobe Flash Player plug-in for Firefox on Ubuntu

YES!
Congratulations! Flash player has installed
NO!
Flash player has not installed or blocked by browser


This page allows you to check whether your browser has flash player installed. and detect the installed flash player version. The check perfectly works on Firefox and Chrome.

Check how you can install flash, if it says NO!


Click here to read how to install, or watch following videos





This page is using JavaScript Flash Detection Library (Flash Detect) by Carl S. Yestrau. So thanks for creating such a nice library!
Continue Reading...

Opencv 2.4.1 instalation libpng error

Now I am hardly working on my research project, It uses Opencv for image processing. Then I heard about opencv latest version released (2.4.1). This post is about an error that I got when I was going to install Opencv 2.4.1. This post does not explaining all about Opencv installation. If you need complete installation guide, just google it.

The error that I got when compiling the Opencv source is,

Linking CXX shared library ../../lib/libopencv_highgui.so
/usr/bin/ld: /usr/local/lib/libpng.a(
pngget.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libpng.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [lib/libopencv_highgui.so.2.4.
1] Error 1
make[1]: *** [modules/highgui/CMakeFiles/
opencv_highgui.dir/all] Error 2
make: *** [all] Error 2

When I got this error I search on google but I could not find any solution for that. Here is the solution that I suggest and it succeed  for me.

According to my point of view this can be occurred version mismatch between Opencv's libpng and libpng installed on your system. But there is a libpng already included in opencv source download. So you can use that libpng to compile opencv source.

Solution
The error saying about libpng package therefore if you get this error too, you should set a flag BUIL_PNG = on when configure the cmake make file generation process. This allow opencv to compile its source using libpng source that include in the opencv source directory. I used cmake GUI to generate make file on Ubuntu. Here you can easily set that flag on as you can see on following figure.



That's it now you can compile opencv without this error.
So happy opencv coding!

Continue Reading...