If this is your first visit, be sure to
check out the Forum Rules by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Installing java and flash

HP Compaq 6715b laptop with dual boot win7 and Backtrack 5r3,
I have been all over the wiki and other posts trying to get these installed but have no idea what I am doing wrong. I have the package:
jre-7u10-linux-i586.rpm
and
flash-plugin-11.2.202.258-release.x86_64.rpm
both sitting on my desktop, I would like to get some help configuring/installing these so Firefox can use them, can anyone help. I am very new to command line, very limited in ability but I want to learn, I have tried so many different things I think I screwed up any dir these might need to go into. I have no idea where to go from here. I also have the:
jre-7u10-linux-i586.tar.gz
Sitting on my desktop. Can anyone help me?

Re: Installing java and flash

First : rpm packages are for red Hat distros or Red Hat based distros (who uses the rpm packages)..This BT5 is based on Debian packages (.deb)..

Second: If you try to use any rmp package, you need to alien them..Use command alien..Ex. alien --to-deb jre-7u10-linux-i586.rpm

Third: Limited on command line?..That is a major problem, and consider it "Major"..This is not windows or a "mouse and click OS"..All linux OS are powerfull due to the Command line (CLI) and not the GUI. I strongly recommend you to read about CLI for linux.

Fourth: To install any package with .tar.gz you need to unpack and expand the file: Use command tar: tar xzvf jre-7u10-linux-i586.tar.gz.

Fifth: If file is .deb you have to install using dpkg command : dpkg -i "my file".
if file is rmp, need to alienize it first and then once in .deb, install it.

Installing using the plugin tar.gz:
o Unpack the plugin tar.gz and copy the files to the appropriate location.
o Save the plugin tar.gz locally and note the location the file was saved to.
o Launch terminal and change directories to the location the file was saved to.
o Unpack the tar.gz file. Once unpacked you will see the following:
+ libflashplayer.so
+ /usr
o Identify the location of the browser plugins directory, based on your Linux distribution and Firefox version
o Copy libflashplayer.so to the appropriate browser plugins directory. At the prompt type:
+ cp libflashlayer.so <BrowserPluginsLocation>
o Copy the Flash Player Local Settings configurations files to the /usr directory. At the prompt type:
+ sudo cp -r usr/* /usr

Re: Installing java and flash

Hello,
I managed to get flash and java applets working on my Backtrack 5 R2 KDE 64bit on Thinkpad T420 laptop I'll describe what I did:

1) For firefox flash plugin, go to http://get.adobe.com/flashplayer/otherversions/ and choose Linux(32 bit) as operating system, tar.gz version of the installation package, and download the tar.gz file. Download it to a temporary folder that you create (eg /root/flash_install_kit), unpack it and copy the libflashplayer.so file to a location where firefox looks for plugins. Here's how the commands sequence should be (commands executed as root or with sudo):

Now restart firefox and your flash should be working, check in Tools -> Addons -> Plugins and ... check youtube.
NOTE: choose 32 bit version of the Flash Player even if your BT is 64bit, I noticed that at least Firefox 14 cannot use the 64bit version of the flash..

Now, a note on Java: Firefox on BT5 comes with NoScript extension enabled and configured to block Java applets. To workaround this, you have some options: either find a way to configure NoScript to allow Java (I couldn't figure it out), or disable NoScript (not recommended, in my opinion), or...install a second browser(I installed Chromium, so I'll just write my approach).

Now start Chromium (btw, to run the Chromium the BT-way, ie as root, call it from terminal like this "chromium-browser --user-data-dir /opt/chrom/"), and your Java applet plugin should be loaded and working. You can test if Java works for you at this link: http://www.java.com/en/download/testjava.jsp