LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-01-2010, 08:01 AM   #1
siawash
Member
 
Registered: Jun 2004
Location: Ireland
Distribution: Zorin 6
Posts: 589

Rep: Reputation: 32
installing flash on slack 13.0


Hello I downloaded flash from adobe.com into the folder "Downloads". No idea why slackware wont show my current directory...

bash-3.1$ ls -l
install_flash_player_10_linux.tar.gz

When I extract it shows only one file.

libflashplayer.so

According to the instructions I am supposed to be getting a directory called install_flash_player_10_linux

The same goes for realplayer

Can anyone help?
 
Old 04-01-2010, 08:08 AM   #2
JokerBoy
Member
 
Registered: Sep 2009
Posts: 140

Rep: Reputation: 24
why don't you use this?
 
Old 04-01-2010, 08:10 AM   #3
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

Slackware isn't your everyday Linux distro and does things in a different way. Like JokerBoy said, use the SlackBuild script and it'll work. If you don't know how the SlackBuild scripts work then read the HowTo on the site SlackBuilds HowTo.

Kind regards,

Eric
 
Old 04-01-2010, 08:14 AM   #4
trumpet_tom
Member
 
Registered: Dec 2004
Distribution: Slackware64-current
Posts: 95

Rep: Reputation: 19
If it's just for one user you can also just put the .so file you have extracted in ~/.mozilla/plugins (create the folder if it's not there already)
 
Old 04-01-2010, 09:18 AM   #5
siawash
Member
 
Registered: Jun 2004
Location: Ireland
Distribution: Zorin 6
Posts: 589

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by trumpet_tom View Post
If it's just for one user you can also just put the .so file you have extracted in ~/.mozilla/plugins (create the folder if it's not there already)

I created .mozilla/plugins within /usr/lib and copied libflashplayer.so into /usr/lib/mozilla/plugins then restarted firefox and still nothing.

Apart from that it seems version 13 is a vast change to when I last used Slackware i think it was version 10 or 11. At that time I would just unzip then untar and run the script within the resulting folder.

I could even use repositories from slacky.eu then run it with slackpkg.

I wonder if the slack book is updated to these changes.?

Last edited by siawash; 04-01-2010 at 09:40 AM.
 
Old 04-01-2010, 09:31 AM   #6
siawash
Member
 
Registered: Jun 2004
Location: Ireland
Distribution: Zorin 6
Posts: 589

Original Poster
Rep: Reputation: 32
Another thing i don't like about version 13 is the fact that the terminal prompt does not show the users current directory. No matter what directory i change in it keeps showing "bash-3.1$"
 
Old 04-01-2010, 09:46 AM   #7
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Quote:
Originally Posted by siawash View Post
Hello I downloaded flash from adobe.com into the folder "Downloads". No idea why slackware wont show my current directory...

bash-3.1$ ls -l
install_flash_player_10_linux.tar.gz

When I extract it shows only one file.

libflashplayer.so

According to the instructions I am supposed to be getting a directory called install_flash_player_10_linux

The same goes for realplayer

Can anyone help?
The preferred method as mentioned is to use the slackbuild script for flash:

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

You can also take the extracted libflashplayer.so and copy it to this directory as root

# cp libflashplayer.so /usr/lib/firefox/plugins
 
Old 04-01-2010, 10:34 AM   #8
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
Quote:
Another thing i don't like about version 13 is the fact that the terminal prompt does not show the users current directory. No matter what directory i change in it keeps showing "bash-3.1$"
I'm not sure what you mean here. If running bash in a console (from init 3) then the prompt should show user@host:current_directory. This is set in /etc/profile and will be operative for all bash login shells.

If you are talking about from an X session then konsole should act as a login shell and display the prompt as above. If you mean from Terminal in X then simply goto Edit->Preferences and check "Run command as login shell" and all Terminal sessions will honour the profile setting.
 
Old 04-01-2010, 10:56 AM   #9
trumpet_tom
Member
 
Registered: Dec 2004
Distribution: Slackware64-current
Posts: 95

Rep: Reputation: 19
Quote:
Originally Posted by siawash View Post
I created .mozilla/plugins within /usr/lib and copied libflashplayer.so into /usr/lib/mozilla/plugins then restarted firefox and still nothing.
I wasn't saying about putting anything in /usr/lib, I meant to put the file in your home directory, (so "/home/[your user name]/.mozilla/plugins", that's what "~/" means). Apologies for any confusion. The slackbuild is the "better" option anyway I guess.

@siawash: do you have a terminal window automatically loading when you login to your window manager/desktop environment? This has happened to me before in kde, if you open a new terminal (konsole in my case) it restores the normal behaviour
 
Old 04-01-2010, 11:52 AM   #10
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,223

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Quote:
Originally Posted by siawash View Post
Another thing i don't like about version 13 is the fact that the terminal prompt does not show the users current directory. No matter what directory i change in it keeps showing "bash-3.1$"
http://www.linuxquestions.org/questi...prompt-798622/
 
Old 04-02-2010, 03:41 PM   #11
siawash
Member
 
Registered: Jun 2004
Location: Ireland
Distribution: Zorin 6
Posts: 589

Original Poster
Rep: Reputation: 32
Thank bgeddy, I just checked "Run as command as login shell" under terminal preferences and now am getting the typical terminal promt I am used to with other distros.

I now am left with three more important tasks. Namely learn about and use slack build to install

Flash player
Real player

And how to configure KDE to display a mounted CD Rom under the "Places" menu as was the case with earlier versions of KDE. My keyboard is also staying on the US configuration which means shift 2 is giving me an @ symbols as apposed ". I will leave these for a separate post.

Going back to the flash issue I have downloaded the slack.build which according to the tutorial, when extracted is supposed to show a tree thus:

Code:
./chemtool
  |-- README
  |-- chemtool.info
  |-- chemtool.SlackBuild
  |-- chemtool.desktop
  |-- chemtool.png
  |-- slack-desc
But what I end up with is;

Code:
ls -l
total 12
drwxr-xr-x 3 siawacsh users 4096 2010-04-02 21:26 flash-player-plugin/
-rw-r--r-- 1 siawacsh users 2068 2010-04-02 21:25 flash-player-plugin.tar.gz
drwxr-xr-x 2 siawacsh users 4096 2010-04-02 21:28 source_downloads/
Note, I am seperating the Source Downloads (64bit) and Download SlackBuild for clarity.

the contents of flash-player-plugin are

Code:
siawacsh@slackware:~/Downloads/flash_env/flash-player-plugin$ ls -l
total 20
-rw-r--r-- 1 siawacsh users   52 2009-07-03 03:59 README
drwxr-xr-x 2 siawacsh users 4096 2010-04-02 21:26 Source_download/
-rwxr-xr-x 1 siawacsh users 2503 2010-02-16 23:27 flash-player-plugin.SlackBuild*
-rw-r--r-- 1 siawacsh users  492 2010-02-16 23:54 flash-player-plugin.info
-rw-r--r-- 1 siawacsh users 1034 2009-12-09 17:18 slack-desc
siawacsh@slackware:~/Downloads/flash_env/flash-player-plugin$
Nowhere have i seen the file chemtools. Can anyone tell me if I am on the right track? Has the slackbook a comprehensive tutorial on slackbuild? If so, I will try to obtain it.
Can anyone confirm?

Last edited by siawash; 04-02-2010 at 03:47 PM.
 
Old 04-02-2010, 04:08 PM   #12
trumpet_tom
Member
 
Registered: Dec 2004
Distribution: Slackware64-current
Posts: 95

Rep: Reputation: 19
The method for using a slackbuild is as follows:
1) download the slackbuild .tar.gz
2) download the source tarball
3) extract the slackbuild
4) move the source tarball into the newly created directory
5) review the slackbuild
6) execute the slackbuild and install the created package with installpkg

So, in the case of the flash plugin go onto http://slackbuilds.org/repository/13...player-plugin/
1) download flash-player-plugin.tar.gz
2) download either the 32- or 64-bit package, depending on which one you are using
3) extract flash-player-plugin.tar.gz
4) put the package from step 2) in the new directory along with the extracted files
5) edit the slackbuild to your preferences - just change the ARCH variable to "x86_64" if you want to install the 64 bit plugin, everything else should be fine
6) run the slackbuild script and installpkg /tmp/"package name"

good luck
 
Old 04-03-2010, 03:56 PM   #13
siawash
Member
 
Registered: Jun 2004
Location: Ireland
Distribution: Zorin 6
Posts: 589

Original Poster
Rep: Reputation: 32
Thanks for that last tutorial. I think I followed your instructions as intended as you can see below. Maybe the my misunderstanding was that I did not extract
"libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz" before placing it into the extracted slack.build. But this was not clear in your insturctions. Accordingly I amended the
executable "flash-player-plugin.SlackBuild" ARCH variable. I still don't have flash working.


Code:
PRGNAM=flash-player-plugin
VERSION=10.0_r45
ARCH=${ARCH:-x86_64}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
Code:
siawacsh@slackware:~/Downloads/slack.build/flash-player-plugin$ ls -l
total 3668
-rw-r--r-- 1 siawacsh users      52 2009-07-03 03:59 README
-rwxr-xr-x 1 siawacsh users    2505 2010-04-03 21:29 flash-player-plugin.SlackBuild*
-rwxr-xr-x 1 siawacsh users    2503 2010-02-16 23:27 flash-player-plugin.SlackBuild~*
-rw-r--r-- 1 siawacsh users     492 2010-02-16 23:54 flash-player-plugin.info
-rw-r--r-- 1 siawacsh users 3731155 2010-04-03 21:23 libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz
-rw-r--r-- 1 siawacsh users    1034 2009-12-09 17:18 slack-desc
Execution

Code:
siawacsh@slackware:~/Downloads/slack.build/flash-player-plugin$ ./flash-player-plugin.SlackBuild
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:  /tmp/flash-player-plugin-10.0_r45-x86_64-1_SBo.tgz

./
install/
install/slack-desc
usr/
usr/lib64/
usr/lib64/mozilla/
usr/lib64/mozilla/plugins/
usr/lib64/mozilla/plugins/libflashplayer.so
usr/doc/
usr/doc/flash-player-plugin-10.0_r45/
usr/doc/flash-player-plugin-10.0_r45/flash-player-plugin.SlackBuild

Slackware package /tmp/flash-player-plugin-10.0_r45-x86_64-1_SBo.tgz created.

siawacsh@slackware:~/Downloads/slack.build/flash-player-plugin$
 
Old 04-03-2010, 04:07 PM   #14
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Quote:
Originally Posted by siawash View Post
I still don't have flash working.
Code:
Slackware package /tmp/flash-player-plugin-10.0_r45-x86_64-1_SBo.tgz created.
The package is there, in /tmp. As root, run:
Code:
cd /tmp
installpkg flash-player-plugin-10.0_r45-x86_64-1_SBo.tgz
 
1 members found this post helpful.
Old 04-03-2010, 04:38 PM   #15
siawash
Member
 
Registered: Jun 2004
Location: Ireland
Distribution: Zorin 6
Posts: 589

Original Poster
Rep: Reputation: 32
Thanks ever so much. Flash is working now. Phew...so long winded..!!!

Would you be kind enough to inform about real player. I suppose slack build wont install it. Do I use the bin or the rpm version?

Once again thanks.
 
  


Reply



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
flash sticks not recognized in Slack 13 svar Slackware 10 10-30-2009 10:29 AM
Install Flash Player 10 on Slack 12.2 Sztuli Linux - Software 2 05-26-2009 11:49 PM
i can not access my flash memory after installing ubuntu from flash eramax Ubuntu 2 10-27-2008 11:11 AM
flash and firefox? slack 11 slackb0t Slackware 5 10-14-2006 02:00 PM
Firefox, Flash, and 2 CD-ROMs Under Slack 10.2 BrianEWilliams Slackware 10 06-06-2006 11:02 PM

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

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