LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-28-2010, 05:41 PM   #1
ash_zz_00
Member
 
Registered: Aug 2009
Distribution: Slackware 13.0
Posts: 66

Rep: Reputation: 17
Trouble extracting and installing Adobe flash player


Hi,
I'm on Slackware 13.0.
I downloaded the tar file for Adobe flash player (install_flash_player_10_linux.tar.gz) to my /tmp.

But when I invoke "tar -xzvf install_flash_player_10_linux.tar.gz" all I get is a file libflashplayer.so in the same /tmp directory.

I was expecting a folder with the same name and more than the one file in it. What am I doing wrong?

Thanks in advance,

Ash.
 
Old 01-28-2010, 06:27 PM   #2
gsker
LQ Newbie
 
Registered: Jul 2004
Location: Twin Cities, MN
Posts: 5
Blog Entries: 1

Rep: Reputation: 0
From
http://www.basicconfig.com/install_a...lackware_linux

-- quote --
Update!

The new 'install_flash_player_10_linux.tar.gz' file contains only 'libflashplayer.so' file when you extract it. What you need to do is just copy the libflashplayer.so file to the /firefox/plugins directory (and other web browser as well). Here's the complete 'howto' steps:

1. Download 'install_flash_player_10_linux.tar.gz' from adobe website.
2. Extract it when the download is finished. The command is tar zxvf /path-to/install_flash_player_10_linux.tar.gz.
3. Copy 'libflashplayer.so' to /usr/lib/firefox-3.X.XX/plugins directory. Here is the command example: cp /path-to/libflashplayer.so /usr/lib/firefox-3.0.13/plugins.
4. Open Firefox web browser. Type aboutlugins to verify flash player.

That's all.
-- end quote --

hope that helps.
 
Old 01-28-2010, 06:28 PM   #3
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,696
Blog Entries: 33

Rep: Reputation: 290Reputation: 290Reputation: 290
Hi, generally, I copy the .so file to my users plugins directory.

And then link it to where The other programs might look for it.

Code:
cd /usr/lib64/mozilla/plugins
# sudo wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz
sudo tar xvf install_flash_player_10_linux.tar.gz
# rm install_flash_player_10_linux.tar.gz
ls
sudo ln -s /usr/lib64/mozilla/plugins/libflashplayer.so /home/glenn/.mozilla/plugins/libflashplayer.so
sudo ln -s /usr/lib64/mozilla/plugins/libflashplayer.so /root/.mozilla/plugins/libflashplayer.so
sudo ln -s /usr/lib64/mozilla/plugins/libflashplayer.so /usr/lib/mozilla/plugins/libflashplayer.so
sudo ln -s /usr/lib64/mozilla/plugins/libflashplayer.so /usr/lib/netscape/plugins/libflashplayer.so
sudo ln -s /usr/lib64/mozilla/plugins/libflashplayer.so /usr/lib64/netscape/plugins/libflashplayer.so
sudo ln -s /usr/lib64/mozilla/plugins/libflashplayer.so /usr/lib/browser-plugins/libflashplayer.so
sudo ln -s /usr/lib64/mozilla/plugins/libflashplayer.so /usr/lib64/browser-plugins/libflashplayer.so
sudo ln -s /usr/lib64/mozilla/plugins/libflashplayer.so /usr/lib64/flash-plugin/libflashplayer.so
sudo ln -s /usr/lib64/mozilla/plugins/libflashplayer.so /usr/lib/flash-plugin/libflashplayer.so

sudo ln -s /usr/lib/nspluginwrapper/x86_64/npconfig /usr/bin/nspluginwrapper
HTH, Glenn
 
Old 01-28-2010, 06:34 PM   #4
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,696
Blog Entries: 33

Rep: Reputation: 290Reputation: 290Reputation: 290
I also have an install script (bash) that came with one of the earlier packages.
~/bin/setup-flash.sh
Code:
#!/bin/bash
#/usr/lib/flash-plugin/setup
# These are the standard browser locations as found within Red Hat, Mandrake
# and SuSE Linux, and the tarball installers.
LOCATIONS="/usr/lib64/mozilla /usr/lib64/mozilla-* /usr/lib64/firefox-* /usr/lib64/seamonkey-* /usr/lib64/netscape /usr/lib64/opera /usr/lib64/firefox /usr/lib/mozilla /usr/lib/mozilla-* /usr/lib/firefox-* /usr/lib/seamonkey-* /usr/lib/netscape /usr/lib/opera /usr/lib/firefox /usr/local/netscape /usr/local/mozilla /usr/local/firefox /usr/local/seamonkey /opt/mozilla /opt/netscape /opt/firefox /opt/seamonkey" 

deleteold() {
# Detect, Backup and Delete old global Flash plugins
# Old plugin files are saved in /root/oldflashplugins.tar.gz
# tar and gzip must be installed
if [ ! -f /root/oldflashplugins.tar.gz ]; then
    FILES="libflashplayer.so ShockwaveFlash.class flashplayer.xpt libgnashplugin.so"
    for DIR in $LOCATIONS
    do
        # Skip symlinks
        if [ -h $DIR ]; then continue; fi

        for F in $FILES
        do
            # Add old plugin files to backup and delete lists
            if [ -f $DIR/plugins/$F ]
            then
                BACKUPLIST="$BACKUPLIST $DIR/plugins/$F"
                DELETELIST="$DELETELIST $DIR/plugins/$F"
            fi
            # Add symbolic links to the delete list
            if [ -h $DIR/plugins/$F ]
            then
                DELETELIST="$DELETELIST $DIR/plugins/$F"
            fi
        done
    done

    # Backup and Delete files if delete list contains files.
    if [ "x$DELETELIST" != "x" ]
    then
        # If tar is available, backup files
        tar --version >& /dev/null
        if [ $? -eq 0 ]; then
            tar cfz /root/oldflashplugins.tar.gz $BACKUPLIST >& /dev/null
            rm -f $DELETELIST
            echo 
            echo "NOTICE:"
            echo "Files belonging to older Flash plugins have been removed from the filesystem.  For your safety these files have been saved in /root/oldflashplugins.tar.gz.  You may remove this tarball if these files are no longer required."
        else
            echo
            echo "Error: tar is unavailable."
            echo "Unable to backup old Flash plugin files.  They were deleted in order to prevent conflicts." 
        fi
    fi
fi


# Remove /etc/flash.license as it is not used anymore
[ -f /etc/flash.license ] && rm -f /etc/flash.license
}

detectbrowsers() {
# Detect Mozilla plugin compatible browsers
for DIR in $LOCATIONS
do
    # Skip symlinks
    if [ -h $DIR ]; then continue; fi
    if [ -d $DIR/plugins ]; then export LIST="$LIST $DIR"; fi
done
}

link() {
# Link Mozilla plugin compatible browsers
for DIR in $LIST
do
    ln -sf /usr/lib/flash-plugin/libflashplayer.so $DIR/plugins/libflashplayer.so
    ln -sf /usr/lib64/flash-plugin/libflashplayer.so $DIR/plugins/libflashplayer.so
done
}

deletelinks() {
# Delete symlinks
# Remove Mozilla plugin compatible browsers
for DIR in $LIST
do
    rm -f $DIR/plugins/libflashplayer.so
done
}

#=======================
# Main Section
#=======================
# Pre-Uninstall
if [ "$1" = "preun" ]; then
    detectbrowsers
    deletelinks
    exit 0
fi

# Installation
if [ "$1" = "install" ]; then
    deleteold
    detectbrowsers
    link
    exit 0
fi

# Upgrade
if [ "$1" = "upgrade" ]; then
    detectbrowsers
    link
    exit 0
fi

# Manual Setup

detectbrowsers
link
Regards Glenn

Last edited by GlennsPref; 01-28-2010 at 06:38 PM. Reason: spelling
 
Old 01-28-2010, 06:59 PM   #5
ash_zz_00
Member
 
Registered: Aug 2009
Distribution: Slackware 13.0
Posts: 66

Original Poster
Rep: Reputation: 17
Thank you all. I got it to work.
 
Old 01-28-2010, 09:33 PM   #6
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Rep: Reputation: 110Reputation: 110
There is also a flashplayer package on the Slackware mirrors in the /extra directory.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Adobe Flash Player with YUM Novatian Linux - Software 5 01-20-2010 10:51 AM
installing adobe flash player in RHEL version 5 nithya.r Red Hat 8 01-01-2010 06:39 AM
Installing Adobe Flash Player rashid.bioinfo Fedora - Installation 1 06-29-2009 11:35 AM
installing of driver and adobe flash player (fedora10) trade Linux - Newbie 10 03-15-2009 02:27 PM
difficulty with installing Adobe Flash Player in RHEL 4 saak.stepi Linux - Software 36 01-07-2008 09:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration