To install Flash Player on Linux Slackware might sound like an easy task to do but it’s not quite as simple as it looks like.
The message you usually encounter when you don’t have Adobe Flash Player installed on your computer will say something like this: “Additional plugins are required to display all the media on this page. Click Install Missing Plugins”. When checking the plugin “wizard” installer from the graphical user interface, you will find out the name of the missing plugins.
In Windows, you can install Flash Player if you follow the instructions of the plugin installer “wizard”, of course, if not blocked by security settings, proxies, firewalls, and so on, but in Linux it won’t work. If we exclude the elements that might block this, mentioned earlier and the settings that can be done in the Internet Web Browsers, in Linux we have more restricted permissions, so the installation won’t be done automatically. You can try and follow the steps of the plugin installer wizard on Linux too, but you will just end up with a process that reports Adobe Flash Player not being installed with no specific error, all this being caused by the limited permissions I was speaking about. There will also be a link for manual install.
How to install Flash Player on Linux Slackware
For Linux you have two options to get the package for the actual installation:
1. Use Adobe Flash Player download website for Linux: http://get.adobe.com/flashplayer/
Save the file to the desired location.
Now login with root account in a terminal session by using “su –“ without the quotes.
I should also mention that there is a difference between older Adobe Flash Player versions and the new ones: the new archives with Flash Player 10 and 11 for Linux contain only a file when extracted, called libflashplayer.so while the older versions have an installer too that has to be executed for the actual installation to happen. I’m not sure which exact version for Adobe Flash Player 10 brought this change as the difference is not only in files but also in the numbers in the name, but you can pick the right installation for you, depending on what version of Flash Player you install:
For older Adobe Flash Player 10 versions, if by any reason you still want to use it you will have to use below steps and commands:
1. Change the current dir to one where you will store the extracted files and you will start the installation, for example: cd /usr/local/src
This will bring you to a prompt message depending on your system name, looking something like: root@slck:/usr/local/src#
2. Extract (untar) the downloaded file using this command:
tar zxvf /home/psycho/install_flash_player_10_linux.tar.gz
3. Use “ls” without the quotes in the current prompt to see newly extracted folder containing the files for flash player installation. The name should be the same as the name of the archive. Then change current dir to this newly created one:
root@slck:/usr/local/src# cd install_flash_player_10_linux/
4. This Folder should contain two files: flashplayer-installer* and libflashplayer.so*. You will have to use below command to run the installer, after you use “ls” to display the two files, just to make sure they are in your new current dir:
5. As soon as you confirm above command, the installation will being and you will be prompted for a few questions asking you the path of the Internet Web Browser which in Slackware is by default /usr/lib . Depending on what browser you are actually using you will have to add the name of the browser after the default path, for example firefox users will write “/usr/lib/firefox” at the prompt, without the quotes .
This is not all, it will also ask for a confirmation if to proceed with the installation, type “y” as in yes, without the quotes, and you will see a confirmation message in a few seconds, when the installation is complete. A new set of questions will come that will ask you if you want to perform another installation, for example if you want flash player for other Internet Web Browser, if using another one except Firefox. If you answer with “y” you will have to repeat the steps with the path of the browser and the confirmation for installation so you will have to answer with a “n” if you don’t need it for anything else.
6. Open the Internet Browser and test on YouTube for a video, and you will see everything is OK.
For newer Adobe Flash Player 10 and 11 versions you will have to follow below steps and commands:
1. Download the archive using above methods: install_flash_player_10_linux.tar.gz .
2. Extract it when the download is finished using this command:
tar zxvf /path-to/install_flash_player_10_linux.tar.gz
You can use some of the steps in the older version of Adobe Flash Player guide above so you can see what are the usual directories to work with.
3. Copy “libflashplayer.so” to your Internet Web Browser path, in the plugins directory (if you don’t have such a directory, called plugins, create it). For example it could be /usr/lib/firefox-16.0.2/plugins. The command to do this if you are a terminal freak is:
cp /location-where-you-extracted/libflashplayer.so /usr/lib/firefox-16.0.2/plugins
Change 16.0.2 with your version after you verify.
4. To verify it after copying the file, you can type in Firefox Web Browser, after you opened it (re-opened if by any chance you did all this with it opened): about:plugins
It should display what Flash Player version you have installed among the rest of the plugins, if any.
One more thing to know: for 64 bit Slackware versions this is done faster and better, especially for newbies with the help of the slackbuild scripts from Slackware, for example from:
Download both files, open terminal session and login as root, change the current directory to where you saved the files, and run this command to create the package that can be found in /tmp dir: sh flashplayer-plugin.SlackBuild
After this, run this command to install the package:
Note: Might be better if before installing the package with above last command you copy it to another location and change the current directory to this one.
This installation guide will also work if you are using different Internet Web Browser but on a Slackware distribution, whether we are talking about Mozilla Firefox, Opera Browser, or SeaMonkey. The only difference would be in the name and the path asked in above steps.
As you already saw we have as default path to Internet Web Browser /usr/lib and the rest should be is as it follows:
Mozilla Firefox: /usr/lib/firefox
Opera Browser: /usr/lib/opera
Sea Monkey: /usr/lib/seamonkey
One more thing to mention: it is better to check before using these paths for different actions you plan to do, as some software might use the full path name which can contain the version too, for example: firefox-16.0.2 and the same applies to the rest. Some software or programs will read by default this actual path because they can apply a wildmask (*) after the last character of the path while some other won’t and you will have to provide the full path.
That was all about how to install Flash Player on Linux Slackware, if you have any problems following this guide feel free to contact me. If not, enjoy watching videos!