[SOLVED] Trying to copy libflashplayer.so and install flash
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The copy command is cp and directory listing is ls so use the ls command to look into the /usr/lib64/mozilla/plugins directory:
Code:
ls /usr/lib64/mozilla/plugins
If the flash plugin is not there, then install the pkg and after installing, try again to see into that directory.
Why you tried to use the cat command is unknown to me. Cat is used to look into the files not directories.
bash-4.3$ cat /usr/lib/mozilla/plugins
cat: /usr/lib/mozilla/plugins: Is a directory
bash-4.3$ cat /usr/lib64/mozilla/plugins
cat: /usr/lib64/mozilla/plugins: Is a directory
Copy those files that you posted into that directory? Use Nano to do that?
I have trouble understanding. I have a disability-
The directory /usr/lib64/mozilla/plugins exists, even if you are running 32-bit Slackware, because you have installed the 64-bit flashplayer-plugin package earlier:
So this is not the correct way to determine if you are running a 32-bit or a 64-bit OS.
The better check is done by looking at the output of these commands:
Code:
uname -a
ls -la /var/log/packages/mozilla*
If you have a 64-bit OS you need to install the 64-bit flashplayer and if you are running a 32-bit OS you will need the 32-bit flashplayer.
The best thing to do is start over: remove the libflashplayer.so that you copied into /usr/lib/mozilla/plugins and "removepkg flashplayer-plugin". After that, you need to determine what exactly it is that you need, and only install that.
I also see you are showing lots of examples where you are trying to "cat" a directory. Like, "cat /usr/mozilla/plugins". You can cat a file, not a directory. If you want to display the directory content, use "ls".
I know, technically a directory in UNIX is just another form of file on disk, but try to maintain the difference.
The copy command is cp and directory listing is ls so use the ls command to look into the /usr/lib64/mozilla/plugins directory:
Code:
ls /usr/lib64/mozilla/plugins
If the flash plugin is not there, then install the pkg and after installing, try again to see into that directory.
Why you tried to use the cat command is unknown to me. Cat is used to look into the files not directories.
Using the terminal this is what I have:
Code:
bash-4.3$ ls /usr/lib64/mozilla/plugins
libflashplayer.so
bash-4.3$
The directory /usr/lib64/mozilla/plugins exists, even if you are running 32-bit Slackware, because you have installed the 64-bit flashplayer-plugin package earlier:
So this is not the correct way to determine if you are running a 32-bit or a 64-bit OS.
The better check is done by looking at the output of these commands:
Code:
uname -a
ls -la /var/log/packages/mozilla*
If you have a 64-bit OS you need to install the 64-bit flashplayer and if you are running a 32-bit OS you will need the 32-bit flashplayer.
The best thing to do is start over: remove the libflashplayer.so that you copied into /usr/lib/mozilla/plugins and "removepkg flashplayer-plugin". After that, you need to determine what exactly it is that you need, and only install that.
I also see you are showing lots of examples where you are trying to "cat" a directory. Like, "cat /usr/mozilla/plugins". You can cat a file, not a directory. If you want to display the directory content, use "ls".
I know, technically a directory in UNIX is just another form of file on disk, but try to maintain the difference.
Eric
Here's the output of uname -a and etc-
Code:
bash-4.3$ ls /usr/lib64/mozilla/plugins
libflashplayer.so
bash-4.3$ uname -a
Linux redhatcat 3.10.30-smp #2 SMP Fri Feb 14 20:54:32 CST 2014 i686 AMD Phenom(tm) 9850 Quad-Core Processor AuthenticAMD GNU/Linux
bash-4.3$ ls -la /var/log/packages/mozilla*
-rw-r--r-- 1 root root 61203 May 4 16:27 /var/log/packages/mozilla-firefox-29.0-i486-1
-rw-r--r-- 1 root root 5651 May 4 16:27 /var/log/packages/mozilla-nss-3.16-i486-1
-rw-r--r-- 1 root root 82992 May 4 16:28 /var/log/packages/mozilla-thunderbird-24.5.0-i486-1
bash-4.3$
I installed the flashplayer for 32-bit and removed the flashplayer pkg for 64-bit:-
Code:
bash-4.3$ cd Downloads
bash-4.3$ ls
flashplayer-plugin-11.2.202.356-i386-1alien.txz
flashplayer-plugin-11.2.202.356-x86_64-1alien.txz
install_flash_player_11_linux.i386.tar.gz
usr
bash-4.3$ su
Password:
bash-4.3# installpkg flashplayer-plugin-11.2.202.356-i386-1alien.txz
Verifying package flashplayer-plugin-11.2.202.356-i386-1alien.txz.
Installing package flashplayer-plugin-11.2.202.356-i386-1alien.txz:
PACKAGE DESCRIPTION:
# flashplayer-plugin (flash plugin for web browsers)
#
# Provides Adobe Flash plugin for browsers that recognize
# /usr/lib/mozilla/plugins as a valid plugin directory
#
# Plugin is subject to Adobe terms of use:
# http://www.adobe.com/go/labs_term_of_use
#
# Plugin is subject to Adobe Flash EULA:
# http://labs.adobe.com/technologies/eula/flashplayer.html
#
Executing install script for flashplayer-plugin-11.2.202.356-i386-1alien.txz.
Package flashplayer-plugin-11.2.202.356-i386-1alien.txz installed.;)
bash-4.3# removepkg flashplayer-plugin-11.2.202.356-x86_64-1alien.txz
Removing package /var/log/packages/flashplayer-plugin-11.2.202.356-x86_64-1alien...
Removing files:
--> /usr/share/pixmaps/flash-player-properties.png (symlink) was found in another package. Skipping.
--> /usr/bin/flash-player-properties was found in another package. Skipping.
--> /usr/doc/flashplayer-plugin-11.2.202.356/flashplayer-plugin.SlackBuild was found in another package. Skipping.
--> /usr/doc/flashplayer-plugin-11.2.202.356/readme.txt was found in another package. Skipping.
--> /usr/share/applications/flash-player-properties.desktop was found in another package. Skipping.
--> /usr/share/icons/hicolor/16x16/apps/flash-player-properties.png was found in another package. Skipping.
--> /usr/share/icons/hicolor/22x22/apps/flash-player-properties.png was found in another package. Skipping.
--> /usr/share/icons/hicolor/24x24/apps/flash-player-properties.png was found in another package. Skipping.
--> /usr/share/icons/hicolor/32x32/apps/flash-player-properties.png was found in another package. Skipping.
--> /usr/share/icons/hicolor/48x48/apps/flash-player-properties.png was found in another package. Skipping.
--> /usr/share/kde4/services/kcm_adobe_flash_player.desktop was found in another package. Skipping.
--> Deleting /usr/lib64/kde4/kcm_adobe_flash_player.so
--> Deleting /usr/lib64/mozilla/plugins/libflashplayer.so
--> Deleting empty directory /usr/lib64/mozilla/plugins/
--> Deleting empty directory /usr/lib64/mozilla/
--> Deleting empty directory /usr/lib64/kde4/
--> Deleting empty directory /usr/lib64/
bash-4.3#
I haven't untared the adobe flashplayer plugin to get the "libflashplayer.so" -
If that not necessary for me to do that; please say so. (as I am easily confused) I have PTSD.
My current /usr/lib/mozilla/plugins still has libflashplayer.so and skypebutton.so - From when I first started the thread.
Quote:
bash-4.3$ ls /usr/lib/mozilla/plugins
libflashplayer.so skypebuttons.so
bash-4.3$
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.