LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing Flash Player 11 in BackTrack5 R2 (https://www.linuxquestions.org/questions/linux-newbie-8/installing-flash-player-11-in-backtrack5-r2-4175421289/)

B00Mshesaid 08-09-2012 05:01 PM

Installing Flash Player 11 in BackTrack5 R2
 
I am trying to install Adobe Flash Player 11 but everywhere I've looked says you need Adobe Flash Player 10 to complete the install. I don't have and can't find Adobe Flash Player 10. Below I'll paste the backtrack wiki instructions. Not really sure what to try next. Please help.

root@bt:~# apt-get purge flashplugin-nonfree flashplugin-installer gnash gnash-common mozilla-plugin-gnash swfdec-mozilla
root@bt:~# rm -f /usr/lib/firefox/plugins/*flash*
root@bt:~# rm -f /usr/lib/firefox-addons/plugins/*flash*
root@bt:~# rm -f /usr/lib/mozilla/plugins/*flash*
root@bt:~# rm -f ~/.mozilla/plugins/*flash*so
root@bt:~# rm -rfd /usr/lib/nspluginwrapper
root@bt:~# tar xvfz flashplayer10_2_p3_64bit_linux_111710.tar.gz
root@bt:~# chown root:root libflashplayer.so
root@bt:~# chmod 644 libflashplayer.so
root@bt:~# cp -f libflashplayer.so /usr/lib/mozilla/plugins/
root@bt:~# rm -rf libflashplayer.so
root@bt:~# ln -s /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/firefox/plugins/
root@bt:~# tar xvfz install_flash_player_10_linux.tar.gz
root@bt:~# mkdir ~/.mozilla/plugins
root@bt:~# mv -f libflashplayer.so ~/.mozilla/plugins/
root@bt:~# ln -s /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/firefox-addons/plugins/
root@bt:~# ln -s /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/xulrunner-addons/plugins/

John VV 08-09-2012 08:14 PM

Quote:

I am trying to install Adobe Flash Player 11 but everywhere I've looked says you need Adobe Flash Player 10 to complete the install
? by "everywhere" do you mean the very old BT4 guide and tutorials on the BT web site


if so
Backtrack ASSUMES that YOU can port the old "guides" to the NEW BT5 all on your own
because it Assumes that YOU ARE A computer SECURITY and network EXPERT

if you can not install Flash on BT5 ... Then maybe you should not be using BT 5 yet

the above are( basically) the normal everyday instructions

BUT they ARE FOR 10 and NOT for 11 -- those are the wrong instructions

remove the old flash
unpack the tarball
install the new


PS. -- just a guess here and i might be wrong
BUT most "script kiddies" will spend some time in front of a judge for "criminal computer trespass "
and BT is used FOR THAT

B00Mshesaid 08-10-2012 10:22 AM

Thank you for your condescension Johnathon but I did not use the old guide verbatim. I removed the old flash player, used the new tarball, and created and linked the folders as instructed. The flash player still does not work. I understand that backtrack is for advanced users, and it's really nice that you'd rather be critical than supportive, but some classes require using backtrack. I'd been using Linux for three years before I started using backtrack and while that doesn't make me an expert, I think I can figure out unpacking a tarball. Recently, I reinstalled backtrack and the flash player is giving me trouble. I haven't done this in years, so I'm a little rusty.

To be more specific about my question; I've unpacked the new tarball, created and linked the folders as per these instructions, and my flash player still does not work. I've retried the process more than six times, there has to be something I am missing. Would a user who is more knowledgeable than I please help me or at least point me in the right direction? One part of this process which seems weird to me is that in the old guide there seem to be two different tarballs on lines 7 and 13. In the process of downloading the tarball from adobe, I only have one tarball.

273 08-10-2012 10:36 AM

If you're just using it with Firefox then download, unzip, drop the flashplugin.so in your plugins directory, launch Firefox and enable the plugin if necessary (sometimes they're recognised but not enabled). If you drop it into /usr/lib/mozilla/plugins it ought, theoretically, to be available to Opera and others also but I've had limited success.

B00Mshesaid 08-10-2012 10:56 AM

Thanks 273, but it didn't work. It's odd that there's a firefox plugin folder, a mozilla plugin folder, and a firefox-addons plugin folder. I've put the file in all of them without success.

273 08-10-2012 11:00 AM

Personally I tend to drop it in ~./mozilla/plugins because I use Firefox rather than Iceweasel. You could try that if it's only your one user who needs it.

B00Mshesaid 08-10-2012 11:03 AM

Backtrack is always logged in as root because so many of the programs need to run under root anyway. I also tried putting it there to no avail.

273 08-10-2012 11:12 AM

It's even possible that Flash doesn't like being run as root. Not sure what else I can suggest.

B00Mshesaid 08-10-2012 11:30 AM

It worked when I installed flash player 10 but that was a while ago. I just read on the backtrack 5 forums that I need a Flash square, http://www.backtrack-linux.org/forum...d.php?t=40353&. Still trying to find it.

273 08-10-2012 11:37 AM

I don't know where your file comes from, I get a differently named file served if I select 64bit .tar.gz from here:
http://get.adobe.com/flashplayer/otherversions/
I think "Square" was the code name for Flash Player 11 64 bit before they decided to drop it's development in favour of a Chrome plugin.

John VV 08-10-2012 01:52 PM

those OLD backtrack4 guides are also for the OLD firefox 2 and ff3
-- firefox is now 14 ---

that bt page is also for the 64 bit flash on a 64 bit OS

and not for the CURRENT flash 32 bit plugin
the 64 bit flash plugin was alpha testing for a long time


the current firefox
DOSE NOT have a /plugins folder in it
the tarbal for ff 14 uses YOUR plugin folder in
/usr/lib/plugins
or
/usr/lib64/plugins


bt dose not document that much
they ASSUME that you ARE an expert already
and that you can write the documentation on your own


so
are you using the 64 bit Backtrack5 ? or the 32 bit BT5 ?

--- for the 32 bit BT5 and 32 bit flash

the normal everyday install instructions on the First post
will install the 32 bit flash on a 32 bit BT5
-- the 32 bit flash 11.2
http://get.adobe.com/flashplayer/com...r.gz%29_32-bit

1)remove the old "libflash"
extract the tarbal
( there IS more that one file in there !
flash NOW has configure tools in/usr
Code:

.
├── libflashplayer.so
├── readme.txt
├── tree
└── usr
    ├── bin
    │** └── flash-player-properties
    ├── lib
    │** └── kde4
    │**    └── kcm_adobe_flash_player.so
    └── share
        ├── applications
        │** └── flash-player-properties.desktop
        ├── icons
        │** └── hicolor
        │**    ├── 16x16
        │**    │** └── apps
        │**    │**    └── flash-player-properties.png
        │**    ├── 22x22
        │**    │** └── apps
        │**    │**    └── flash-player-properties.png
        │**    ├── 24x24
        │**    │** └── apps
        │**    │**    └── flash-player-properties.png
        │**    ├── 32x32
        │**    │** └── apps
        │**    │**    └── flash-player-properties.png
        │**    └── 48x48
        │**        └── apps
        │**            └── flash-player-properties.png
        ├── kde4
        │** └── services
        │**    └── kcm_adobe_flash_player.desktop
        └── pixmaps
            └── flash-player-properties.png -> ../icons/hicolor/48x48/apps/flash-player-properties.png

and READ the README.txt

also if this IS an older Firefox say the now dead FF 3.6
install firefox 14 FIRST
a manual install
also the 32 bit VS 64 bit issues are here also

for the 32 bit firefox for a 32 bit OS
use the firefox web site
but again BT assumes that YOU already know this
and already know how to switch a 32 bit ff for the 64 bit ff on a 64 bit OS

B00Mshesaid 08-10-2012 03:25 PM

I am using BT 64 bit. I have firefox 14.0.1. I read the README file and it says,
"Identify the location of the browser plugins directory, based on your Linux distribution and Firefox version."
I was unclear on this step so I kinda tried different locations without success at which point I sought help elsewhere.

B00Mshesaid 08-10-2012 03:35 PM

I got it. I put libflashplayer.so and /usr in the /usr/lib64 folder. I previously had them in /usr/lib64/firefox/plugins/. Thank you both for your help.

John VV 08-10-2012 03:43 PM

Quote:

I put libflashplayer.so and /usr in the /usr/lib64
that is the wrong place
/usr ( folder in the tarball) dose NOT get put in /usr/lib64/usr

it gets copied to /
nor does "libflashplayer.so" get put in /usr/lib64

B00Mshesaid 08-10-2012 03:56 PM

Where should I put them? Currently, some videos play and others do not.

John VV 08-10-2012 04:21 PM

in the corrent location

the 32 bit flash on a 64 bit OS using the 32 bit firefox
libflash goes in the 32 bit folder
/usr/lib/plugins ( or mozilla-plugins)

that uses the 32 bit wrapper to run the 32 bit ff on a 64 bit OS


so
is this a 32 bit OR 64 bit install of Firefox ?

the ff 14 on the mozilla web site IS 32 BIT
the 64 bit flash will not work on a 32 bit FF


for the 32 bit FF ON a 64 bit OS
put the 32 bit flash in the 32 bit /usr/lib/??? plugin folder

however if this is NOT the ff that came with BT5 .If is is a manually installed ff14
you might need to add a "plugin" folder to the ff14 install folder


this is a 100% by hand install
it is NOT going to be easy



but why are you not using the bt repos and " apt-get"

273 08-10-2012 04:28 PM

I'm actually surprised it's this hard. My Firefox and Flash install consists of the Nightly build slapped into /opt and libflashplayer.so in ~./mozilla/plugins.
I do suspect a mismatch of 32 and 64 bit versions or similar.

B00Mshesaid 08-10-2012 04:34 PM

FF is 64 bit. It is the firefox that came with BT. When I used apt-get it came up 404 not found.

John VV 08-10-2012 04:36 PM

i simplifide mine down
BUT
i am using the 64 bit build of ff14 on a 64 bit OS using the 64 bit flash

the "fun" starts with
a 64 bit os and a 32 bit ff and a 32 bit plugin
or
a 64 bit os a 64 bit ff and a 32 bit plugin

but i am using the 64 bit FF from the ftp page
http://releases.mozilla.org/pub/mozi...leases/latest/

there is a wrapper for the 32 bit plugins on a 64 bit os

mixing the 64 and 32 bit causes things to get very complex very fast

B00Mshesaid 08-10-2012 04:39 PM

Ok. I have the 64 bit OS, 64 bit plugin, and i'm pretty sure it's the 64 bit ff. Should I still install this new ff?

273 08-10-2012 04:49 PM

Quote:

Originally Posted by 273 (Post 4751204)
I'm actually surprised it's this hard. My Firefox and Flash install consists of the Nightly build slapped into /opt and libflashplayer.so in ~./mozilla/plugins.
I do suspect a mismatch of 32 and 64 bit versions or similar.

Sorry this was perhaps wrong.
When you say that some videos work, are you sure they are Flash videos? If so then yes it may be you need a newer version.
That said, Flash should just work or not for most sites or come up with a message telling you to upgrade.

B00Mshesaid 08-10-2012 04:52 PM

Perhaps they weren't flash. I still got the messages telling me to upgrade. I guess the videos that worked were not flash.

273 08-10-2012 04:56 PM

Quote:

Originally Posted by B00Mshesaid (Post 4751232)
Perhaps they weren't flash. I still got the messages telling me to upgrade. I guess the videos that worked were not flash.

If you got the message to upgrade they were Flash. If you didn't then you can check whether they were Flash by looking at the right-click menu.
Easier to update to the newest then go from there.

B00Mshesaid 08-10-2012 05:00 PM

John, to be clear, if I have the 64 bit OS, 64 bit flash, and 64 bit firefox, then the /usr folder (from the tarball) is put in / and the libflashplayer.so is put where?

John VV 08-11-2012 12:17 AM

in the lib64/plugins folder

but
you will need to remove any link to the 32 bit and the alternatives and the npwrapper.so
for using the 32 bit version on a 64 bit firefox and OS

B00Mshesaid 08-11-2012 05:05 PM

Solved. Finally and for sure this time. I needed to install the new firefox (64bit) from the ftp and it worked immediately. Thank you John for your help and patience.


All times are GMT -5. The time now is 05:34 AM.