LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 10-05-2010, 07:47 PM   #1
pottzie
Member
 
Registered: Aug 2009
Posts: 150

Rep: Reputation: 15
Figuring out how to install adobe/ Understand the file sytem


OK, I've been banging around trying to get youtube to work. That means I need Adobe, or some form of a flash player. I've downloaded about every flash player I can find, and I've even got to the point that I can change to the home directory and open it/them with the tar -xzvf command, but what do I need to do to make it DO something? May (probably!) sounds dumb, but from what I've read I need to whack it into a directory that either I am supposed to create, or the tar.gz file creates. What is supposed to happen after I get to the directory where I've downloaded it to?

First time for everything, I guess.
 
Old 10-05-2010, 08:20 PM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553
install flash plugin slackware

Here's one way to do it:

Visit http://slackbuilds.org/repository/13...player-plugin/

and download these files:
Code:
 flash-player-plugin.SlackBuild
 flash-player-plugin.info
 slack-desc
and download one of the appropriate flashplayers from the link(s) given on that page. Select the one for your machine + OS, so either 32bit or 64bit. Put all files in the same directory.

Now, you need to open the slackbuild script in a text editor, and make sure the script has the correct version information so it can find the flashplayer you just downloaded. For example, I downloaded the 64bit flashplayer, and I renamed it like so:
Code:
mv flashplayer_square_p2_64bit_linux_092710.tar.gz libflashplayer-square-p2-092710.linux-x86_64.so.tar.gz
Now, in the slackbuild, I had to edit the version. Open the slackbuild in your editor and notice the following line near the beginning of the script. Note the red text, identical to how I renamed my downloaded flashplayer thing:
Code:
VERSION=${VERSION:-square-p2-092710}
Now, save the slackbuild file and exit your text editor. In your console, while inside the directory where the above files are, you're gojng to execute the slackbuild script:
Code:
# make it executable:
chmod a+x <flash-player-SlackBuild> # Note, put the correct name of the slackbuild script here!

# now execute it:
./slackbuild-script.sh # again use the correct filename.
That should, if all is well, produce some output like below:
Code:
++
|| flashplayer-plugin-square-p2-092710
++
Extracting the source archive(s) for flashplayer-plugin...
libflashplayer.so

Slackware package maker, version 3.14159.

blah blah blah ..

Creating Slackware package:  /tmp/flashplayer-plugin-square-p2-092710-x86_64-1.txz

Slackware package /tmp/flashplayer-plugin-square-p2-092710-x86_64-1.txz created.
Now, install that new package:
Code:
installpkg /tmp/flashplayer-plugin-square-p2-092710-x86_64-1.txz
Done! Restart your browser and see if that works.
 
Old 10-05-2010, 09:36 PM   #3
pottzie
Member
 
Registered: Aug 2009
Posts: 150

Original Poster
Rep: Reputation: 15
I've been to Slackbuilds, and have flash-player-plugin.SlackBuild in my home directory. When I click on the source downloads for 32 bit, it returns "URL not found."
I also have mozzilla-ns-3 in the home directory, without knowing how to install it. Also "install flashplayer 10"
The 3 flashplayer files look to me like a file that I can read, not something that would install a flash player. For instance, I can open flash-player-plugin.SlackBuild and see:"PRGNAM=flash-player-plugin
VERSION=10.2_d161
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}', etc. In fact, is it possible or prudent to just copy the text into a text editor? Crude, I know, but if it works...?
 
Old 10-05-2010, 09:44 PM   #4
pottzie
Member
 
Registered: Aug 2009
Posts: 150

Original Poster
Rep: Reputation: 15
Sorry, double post due to wireless crapping out on me. Does that a lot. Sorry.

Last edited by pottzie; 10-05-2010 at 09:48 PM. Reason: Accidental double post! Wireless issues, I'm afraid.
 
Old 10-05-2010, 10:07 PM   #5
hoodooman
Member
 
Registered: Oct 2006
Location: Stirling in Scotland
Distribution: Slackware 13.37 64 bit
Posts: 297

Rep: Reputation: 42
OK Im guessing from the other posts that you are using Slackware.Can you confirm this.If so you should install sbopkg http://www.sbopkg.org/ and install it by opening a terminal in the folder that you have downloaded sbopkg too.Become root by typing su and entering your root password.Type installpkg sbopkg.tgz.Once installed,use this to get flash plugin.Again open a terminal..become root again and type sbopkg.Once it comes up hit sync to start with.Once it is done hit search.In the search type in flash-player-plugin and choose build from the options.This will install it in the correct place.
 
Old 10-06-2010, 01:57 AM   #6
Squall90
Member
 
Registered: Oct 2009
Distribution: Currently several distros :S
Posts: 148

Rep: Reputation: 29
Wow, there's a SlackBuild for it? Until now I just downloaded the package and put the libflashplayer.so in the ~/.mozilla/plugins directory.
 
Old 10-06-2010, 05:07 AM   #7
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553
OK, if you want to try sbopkg, see hoodooman's post #5. I haven't used sbopkg, so if you do that, tell me/us how it goes.

Quote:
I've been to Slackbuilds, and have flash-player-plugin.SlackBuild in my home directory. When I click on the source downloads for 32 bit, it returns "URL not found."
If you go the other route - it probably tells you it's a bad URL because Adobe is always working on and fiddling with the plugin releases, and so the names of the files (and the URL's) change often. Here's a page to download the plugins:
http://labs.adobe.com/downloads/flashplayer10.html
Select the appropriate one. Note too, that I used an older Slackbuild script than the one currently available at slackbuilds.org. There's little difference, except you just have to still make sure the name(s) of the plugin file that you downloaded, are the same as in the script, so that the script can find your plugin file and unpack it.

Quote:
I also have mozzilla-ns-3 in the home directory, without knowing how to install it.
I'm not sure what that is that you're referring to.
Quote:
Also "install flashplayer 10"
The 3 flashplayer files look to me like a file that I can read, not something that would install a flash player. For instance, I can open flash-player-plugin.SlackBuild and see:
PRGNAM=flash-player-plugin
VERSION=10.2_d161
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
etc... In fact, is it possible or prudent to just copy the text into a text editor? Crude, I know, but if it works...?
The three files you got from slackbuild.org are indeed "files you can read" to some degree. They're supposed to be.
The Slackbuild itself is a "shell script". It contains a sequence of commands that your bash shell executes, to download and/or build the flash plugin package for Slackware. You shouldn't need to "copy text into a text editor", except if you open one of these files in a text editor (like the slackbuild script), and then you can edit the file appropriately to see that the right version and filename for the downloaded thing from Adobe, are in the script.


If you're having difficulty grasping the concept here of the slackbuild and how it works, that's OK - it will come to you sooner or later! If you want instead, go ahead and try hoodooman's suggestion of sbopkg and let us know how that goes.


@ Squall - Post #6 Yep, you can simply plop the library in place and it will work just fine - but that way doesn't provide any mechanism for removing, upgrading, etc., because the package manager is not aware that it's installed... You're left to do it manually with a copy/paste. Of course, if that's the way you want to do it, well, by all means, it's your machine.
 
Old 10-06-2010, 08:47 AM   #8
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553
Lightbulb modified slackbuild script for flash plugin

@ pottzie,

as I mentioned above I haven't used sbopkg so I don't know how it works. However, given that the filename of the download from Adobe website (and hence the URL too) seems to change sort of often, and not just the version number but the entire syntax of the filename changes, I'm not sure how using sbopkg can find the right file to download either. If it works for you, that's great! If you're still looking at the Slackbuild install method, read on:

I have here a Slackbuild script which I have modified so that it "should" work** without needing further editing, and it should work for the adobe filenames that are available as of today at the Adobe link given earlier in this thread [ ** see NOTES inside script comments ].

Here's a copy + paste of me using the script:
Code:
root@reactor: sh flashplayer-plugin.SlackBuild

(y/n) Is libflashplayer-square-p2-092710.linux-x86-64.so.tar.gz the correct file to repackage? y
++
|| flashplayer-plugin-square-p2-092710
++
Extracting the source archive(s) for flashplayer-plugin...
libflashplayer.so

Slackware package maker, version 3.14159.

Searching for symbolic links:

No symbolic links were found, so we won't make an installation script.
You can make your own later in ./install/doinst.sh and rebuild the
package if you like.

This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!

Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n

Creating Slackware package:  /home/sasha/Downloads/FLASH-PLUGIN/flashplayer-plugin-square-p2-092710-x86_64-1.txz

./
install/
install/slack-desc
usr/
usr/lib64/
usr/lib64/mozilla/
usr/lib64/mozilla/plugins/
usr/lib64/mozilla/plugins/libflashplayer.so
usr/doc/
usr/doc/flashplayer-plugin-square-p2-092710/
usr/doc/flashplayer-plugin-square-p2-092710/flashplayer-plugin.SlackBuild

Slackware package /home/sasha/Downloads/FLASH-PLUGIN/flashplayer-plugin-square-p2-092710-x86_64-1.txz created.

root@reactor:
So it's kind of automatic. BUT: it doesn't download the thing from Adobe (due to the changing filenames mentioned, too hassle-y), you have to download it yourself. Also download the slack-desc file from slackbuilds.org. Put both of those files in the same location as my Slackbuild script, and execute the script as I have shown above, like this:
Code:
root# sh flashplayer-plugin.SlackBuild
It should ask you if it has identified the correct file for processing. See the red text above. If the filename is that which you just download from Adobe, hit "y" and the script should do its thing; a moment later, you'll see the output location and name of your new package, like:
Code:
Slackware package /home/sasha/Downloads/FLASH-PLUGIN/flashplayer-plugin-square-p2-092710-x86_64-1.txz created.
So you now use `installpkg` to install it:
Code:
root# installpkg /home/sasha/Downloads/FLASH-PLUGIN/flashplayer-plugin-square-p2-092710-x86_64-1.txz
Here's the Slackbuild script I used for this process:
Code:
#!/bin/sh
# Copyright (c) 2008, 2009  Eric Hameleers, Eindhoven, NL
# All rights reserved.
#
#   Permission to use, copy, modify, and distribute this software for
#   any purpose with or without fee is hereby granted, provided that
#   the above copyright notice and this permission notice appear in all
#   copies.
#
#   THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
#   WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
#   MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
#   IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
#   CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
#   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
#   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
#   USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
#   ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
#   OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
#   OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
#   SUCH DAMAGE.
# -----------------------------------------------------------------------------
#
# Slackware SlackBuild script
# ===========================
# By:           Eric Hameleers <alien@slackware.com>
# For:          flashplayer-plugin
# Descr:        Adobe flash player plugin for mozilla
# URL:          http://labs.adobe.com/
# Needs:
# Changelog:
# 10.0.d20.7-1: 16/Dec/2008 by Eric Hameleers <alien@slackware.com>
#               * Initial build.
# 10.0.d21.1-1: 20/Dec/2008 by Eric Hameleers <alien@slackware.com>
#               * Update.
# 10.0.22.87-1: 26/feb/2009 by Eric Hameleers <alien@slackware.com>
#               * Update (plugs vulnerability).
# 10.0.32.18-1: 10/aug/2009 by Patrick J. Volkerding <volkerdi@slackware.com>
#               * Update (plugs vulnerability).
#
# Oct 6 2010  : Mods by Sasha. Script has been altered to:
#               --not bother trying to download files; filenames change too much.
#               --asks user to select *flash* file in $CWD to build pkg from.
#               --converts filename underscores to dashes.
#               --drops final package in $CWD instead of /tmp
# SASHA'S NOTES:
#       Due to the various formats of the filenames given to the archives that
#       Adobe puts for download, the $VERSION string can be non-conformant with
#       what the Slackware packagetools understands. Therefore, The final package
#       name may not adhere to Slackware package naming conventions. While this
#       poses no functional problem, it does cause the slack-desc description to
#       not be shown when package is installed/removed/etc.. This doesn't bother
#       me any, but if it bothers you, you'll need to hack this script up a little
#       bit more, to _really_ process & fix the incoming filename.
#
# SASHA'S HOW TO USE:
# -- Download the Adobe flashplayer-plugin archive from adobe.com making sure
#    to get the correct $ARCH for your machine + OS.
# -- Download or create an appropriate slack-desc file.
# -- Place those two things in a directory alongside this script.
# -- Run this script like: sh flashplayer-plugin.SlackBuild
# -- The package (.txz) and .txt file will appear in $CWD/FLASH-PLUGIN
# -- Install it using `installpkg`
#
# -----------------------------------------------------------------------------

# find any/all *flash* files in the current dir and ask user to identify the
# one to unpack and make package of:
files=$(find . -maxdepth 1 -type f -name "*flash*tar.gz" -printf "%f\n")

if [ ! "$files" ]; then
    echo "No files in current directory appear to be flashplayer plugins. Exiting."
    exit 1
fi
echo
for each in $files; do
#    echo
    read -n1 -p "(y/n) Is $each the correct file to repackage? " selection
    [ "$selection" = "y" ] && echo && break || unset each && echo
done

if [ ! "$each" ]; then
    echo "No flash plugin download is present or selected for packaging. Exiting."
    exit 1
fi

# replace any underscores in the name, with dashes instead, and isolate the version string:
[ "${each//_/-}" != "$each" ] && mv -fb "$each" "${each//_/-}"
input_filename="${each//_/-}"; version="${input_filename#*-}"; version="${version%%.linux*}"

# Set initial variables:

PRGNAM=flashplayer-plugin
VERSION=${VERSION:-$version}
ARCH=${ARCH:-x86_64}
BUILD=${BUILD:-1}

if [ "$ARCH" = "x86_64" ]; then
  LIBDIRSUFFIX="64"
else
  LIBDIRSUFFIX=""
fi

# Where do we look for sources?
SRCDIR=$(cd $(dirname $0); pwd)

# Place to build (TMP) package (PKG) and output (OUTPUT) the program:
TMP=${TMP:-/tmp/build}
PKG=$TMP/package-$PRGNAM
OUTPUT="$(pwd)/FLASH-PLUGIN"

SOURCE="$SRCDIR/$input_filename"

##
## --- with a little luck, you won't have to edit below this point --- ##
##

# Exit the script on errors:
set -e
trap 'echo "$0 FAILED at line ${LINENO}" | tee $OUTPUT/error-${PRGNAM}.log' ERR
# Catch unitialized variables:
set -u
P1=${1:-1}

# Create working directories:
mkdir -p $OUTPUT          # place for the package to be saved
mkdir -p $TMP/tmp-$PRGNAM # location to build the source
mkdir -p $PKG             # place for the package to be built
rm -rf $PKG/*             # always erase old package's contents
rm -rf $TMP/tmp-$PRGNAM/* # remove the remnants of previous build
rm -rf $OUTPUT/{configure,make,install,error,makepkg}-$PRGNAM.log
                          # remove old log files

# --- PACKAGE BUILDING ---

echo "++"
echo "|| $PRGNAM-$VERSION"
echo "++"

cd $TMP/tmp-$PRGNAM
echo "Extracting the source archive(s) for $PRGNAM..."
tar -xvf ${SOURCE}
chown -R root:root *
chmod -R u+w,go+r-w,a-s .

if [ "$ARCH" = "x86_64" ]; then
  if ! file libflashplayer.so | grep -q "ELF 64-bit" ; then
    echo "The downloaded plugin is not for the '$ARCH' architecture!"; exit 1
  fi
elif [[ "$ARCH" =~ "i?86" ]]; then
  if ! file libflashplayer.so | grep -q "ELF 32-bit" ; then
    echo "The downloaded plugin is not for the '$ARCH' architecture!"; exit 1
  fi
fi

# Install the plugin to the package dir:
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/mozilla/plugins
install -m 0755 libflashplayer.so \
  $PKG/usr/lib${LIBDIRSUFFIX}/mozilla/plugins/libflashplayer.so

# Add documentation:
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $SRCDIR/$(basename $0) $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION
find $PKG/usr/doc -type f -exec chmod 644 {} \;

# Add a package description:
mkdir -p $PKG/install
cat $SRCDIR/slack-desc > $PKG/install/slack-desc

# Build the package:
cd $PKG
makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}.txz 2>&1 | tee $OUTPUT/makepkg-${PRGNAM}.log
cd $OUTPUT
md5sum ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}.txz > ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}.txz.md5

# End of file.
Hopefully it doesn't give you grief.
If it does give you a hard time, don't fret; show us the output you see and/or error messages and we'll get you flashed up yet.

Last edited by GrapefruiTgirl; 10-06-2010 at 11:29 AM. Reason: Fixed missing \newline in output of script
 
Old 10-06-2010, 10:36 AM   #9
pottzie
Member
 
Registered: Aug 2009
Posts: 150

Original Poster
Rep: Reputation: 15
A quick thanks to everybody. I'm checking this out during my lunch hour, and will try this later. For now let me say how much I appreciate everyone's input. What I want to learn from this is how packages are installed and what has to happen to make files work. Even deciphering what files have to be included with Slackbuids is "strange", at least to me now. For instance, it makes sense to get the script telling bash to install, but the "read me" files are needed too?
I tinkered around with Arch Linux for a bit. I decided to replace it with Slackware, and now realize that the problems I had with Arch were probably caused by a conflict between newer kernel and my older Intel motherboard. I'm using 12.2 because of that now on this machine. But Arch used a lot of BSD framework, and I see that Slack (and maybe Gentoo?) does too. Sounds like a great way to learn, if I don't try the patience of everyone who has helped. I'm slow to learn sometimes.
 
Old 10-06-2010, 03:39 PM   #10
pottzie
Member
 
Registered: Aug 2009
Posts: 150

Original Poster
Rep: Reputation: 15
I tried the sbopkg option, but when I entered "installpkg sbopkg.tgz" it said that it couldn't open it since it wasn't a .tgz file. I've seen that several times, and it seems odd. Although it does have a cng.tgz ending. as I said, installpkg hasn't actually installed anything yet for me! And everything I've tried has been a .tgz file.

I was able to open it by cd'ing to the Desktop directory and tar -xzvf, but I don't know where it went, and typing sbopkg in the terminal isn't recognized. Too bad,I'd like to see what it does!
 
Old 10-06-2010, 04:23 PM   #11
pottzie
Member
 
Registered: Aug 2009
Posts: 150

Original Poster
Rep: Reputation: 15
Tried "sh flashplayer-plugin.SlackBuild" and while that didn't work, I saw that I had "flash-player-plugin", and when I did "sh", it said that "flash-player-plugin: flash-player-plugin: is a directory" Interesting!
I can cd into it, but didn't make anything happen. Just surprised to find that it's a directory. And wondering how I do anything with it.
 
Old 10-06-2010, 04:59 PM   #12
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553
For trying to diagnose what's going on in your above posts #10 and #11, please copy + paste for us, right from your terminal, the commands you're running and the output or errors they produce. Also, please show us the output of these two commands:
Code:
ls -l
pwd
so that we can see the full filenames of whatever files you're trying to work with, and your current directory name/path.
 
Old 10-06-2010, 05:24 PM   #13
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553
install flash plugin slackware

And, for the heck of it, here's a(nother) step-by-step for flash plugin, using the procedure I've outlined above:

1)
Download either 32bit plugin or 64bit plugin.

2)
Download or copy+save from your browser, the slack-desc file from sbo.

3)
copy the slackbuild script I posted above, into a text editor. Save the file. Exit the text editor.

4)
Observe below, I put the mentioned 3 items in a folder:
Code:
root@reactor: pwd
/home/sasha/Downloads/BUILD
root@reactor: ls -l
total 4236
drwxr-xr-x 2 root root    4096 Oct  6 19:03 FLASH-PLUGIN
-rwxr-xr-- 1 root root    6786 Oct  6 19:04 flashplayer-plugin.SlackBuild
-rw-r--r-- 1 root root 4307850 Oct  6 19:04 flashplayer_square_p2_64bit_linux_092710.tar.gz
-rw-r--r-- 1 root root    1017 Oct  6 18:57 slack-desc

# So, you see the 3 files in the above directory.
# Now I'll execute the slackbuild:

root@reactor: sh flashplayer-plugin.SlackBuild

(y/n) Is flashplayer_square_p2_64bit_linux_092710.tar.gz the correct file to repackage? y
++
|| flashplayer-plugin-square-p2-64bit-linux-092710.tar.gz
++
Extracting the source archive(s) for flashplayer-plugin...
libflashplayer.so

Slackware package maker, version 3.14159.

Searching for symbolic links:

No symbolic links were found, so we won't make an installation script.
You can make your own later in ./install/doinst.sh and rebuild the
package if you like.

This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!

Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n

Creating Slackware package:  /home/sasha/Downloads/BUILD/FLASH-PLUGIN/flashplayer-plugin-square-p2-64bit-linux-092710.tar.gz-x86_64-1.txz

./
install/
install/slack-desc
usr/
usr/lib64/
usr/lib64/mozilla/
usr/lib64/mozilla/plugins/
usr/lib64/mozilla/plugins/libflashplayer.so
usr/doc/
usr/doc/flashplayer-plugin-square-p2-64bit-linux-092710.tar.gz/
usr/doc/flashplayer-plugin-square-p2-64bit-linux-092710.tar.gz/flashplayer-plugin.SlackBuild

Slackware package /home/sasha/Downloads/BUILD/FLASH-PLUGIN/flashplayer-plugin-square-p2-64bit-linux-092710.tar.gz-x86_64-1.txz created.


# Now, package has been made and put in a directory in my current directory. Look:

root@reactor: ls -l      
total 4236
drwxr-xr-x 2 root root    4096 Oct  6 19:06 FLASH-PLUGIN
-rwxr-xr-- 1 root root    6786 Oct  6 19:04 flashplayer-plugin.SlackBuild
-rw-r--r-- 1 root root 4307850 Oct  6 19:04 flashplayer-square-p2-64bit-linux-092710.tar.gz
-rw-r--r-- 1 root root    1017 Oct  6 18:57 slack-desc

root@reactor: ls -l FLASH-PLUGIN/*
-rw-r--r-- 1 root root 3347932 Oct  6 19:06 FLASH-PLUGIN/flashplayer-plugin-square-p2-64bit-linux-092710.tar.gz-x86_64-1.txz
-rw-r--r-- 1 root root     102 Oct  6 19:06 FLASH-PLUGIN/flashplayer-plugin-square-p2-64bit-linux-092710.tar.gz-x86_64-1.txz.md5
-rw-r--r-- 1 root root    1138 Oct  6 19:06 FLASH-PLUGIN/makepkg-flashplayer-plugin.log


# I will install it:

root@reactor: installpkg FLASH-PLUGIN/flashplayer-plugin-square-p2-64bit-linux-092710.tar.gz-x86_64-1.txz
Verifying package flashplayer-plugin-square-p2-64bit-linux-092710.tar.gz-x86_64-1.txz.
Installing package flashplayer-plugin-square-p2-64bit-linux-092710.tar.gz-x86_64-1.txz:
PACKAGE DESCRIPTION:
Package flashplayer-plugin-square-p2-64bit-linux-092710.tar.gz-x86_64-1.txz installed.
So, if you run the exact commands as I show above, you should see the same output as I show above. The commands I ran are in red text. If all went as above, your flash plugin is installed.
If it didn;t go as above, paste for us the entire procedure you ran.
 
Old 10-06-2010, 05:39 PM   #14
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,133

Rep: Reputation: 6994Reputation: 6994Reputation: 6994Reputation: 6994Reputation: 6994Reputation: 6994Reputation: 6994Reputation: 6994Reputation: 6994Reputation: 6994Reputation: 6994
Or get a package plus SlackBuild for the latest version of the flashplayer-plugin at http://slackware.com/~alien/slackbui...player-plugin/

By the way, VLC is perfectly capable of playing youtube videos directly without requiring a flash player to be installed at all; a command like this will play the video while omitting all the other stuff on the web page.
Code:
vlc http://www.youtube.com/watch?v=ts_YrkaWlU8
Eric
 
1 members found this post helpful.
Old 10-06-2010, 07:22 PM   #15
pottzie
Member
 
Registered: Aug 2009
Posts: 150

Original Poster
Rep: Reputation: 15
All good choices. First (you asked for it!):
Code:
 bash-3.1# ls -l
total 16
-rw-r--r-- 1 1000 users  347 2008-06-04 21:37 README
-rwxr-xr-x 1 1000 users 2315 2009-08-10 01:54 flash-player-plugin.SlackBuild
-rw-r--r-- 1 1000 users  323 2009-08-10 01:54 flash-player-plugin.info
-rw-r--r-- 1 1000 users 1009 2008-04-11 00:05 slack-desc
bash-3.1# pwd
/root/Desktop/flash-player-plugin
and
Code:
bash-3.1# cd /root/Desktop
bash-3.1# sh flashplayer-plugin.SlackBuild
sh: flashplayer-plugin.SlackBuild: No such file or directory
bash-3.1# sh flash-player-plugin
flash-player-plugin: flash-player-plugin: is a directory
bash-3.1# cd flash-player-plugin
bash-3.1# installpkg flash-player-plugin
Cannot install flash-player-plugin: package does not end in .tgz
bash-3.1# installpkg flashplayer_square_p2_33bit_linux_092710.tar.gz
Cannot install flashplayer_square_p2_33bit_linux_092710.tar.gz: package does not end in .tgz
bash-3.1# tar -xzvf flashplayer_square_p2_32bit_linux_092710.tar.gz
tar: flashplayer_square_p2_32bit_linux_092710.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
bash-3.1# nano /root/Desktop/flash-player-plugin
bash-3.1# flash-player-plugin
bash: flash-player-plugin: command not found
bash-3.1# sh flash-player-plugin.Slackbuild
sh: flash-player-plugin.Slackbuild: No such file or directory
bash-3.1# sh flash-player-plugin.SlackBuild
tar: /root/Desktop/flash-player-plugin/install_flash_player_10_linux.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
 
  


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
[SOLVED] NTFS File Sytem Recovery after mke2fs Mandarim Linux - Newbie 10 05-09-2011 06:17 AM
shell script to move files from one system to another sytem with file names in a txt coral_km Linux - Newbie 3 02-13-2008 10:23 PM
Memory Card performance, and file-sytem qwijibow Linux - General 1 10-09-2005 08:15 PM
figuring out 'file system' and 'swap file system' types TrulyTessa Linux - Newbie 3 09-26-2005 06:46 PM
file sytem question stickygreen Linux - Newbie 3 02-02-2005 10:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 11:21 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