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. |
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 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 Code:
VERSION=${VERSION:-square-p2-092710} Code:
# make it executable: Code:
++ Code:
installpkg /tmp/flashplayer-plugin-square-p2-092710-x86_64-1.txz |
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...? |
Sorry, double post due to wireless crapping out on me. Does that a lot. Sorry.
|
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.
|
Wow, there's a SlackBuild for it? Until now I just downloaded the package and put the libflashplayer.so in the ~/.mozilla/plugins directory.
|
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:
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:
Quote:
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. ;) |
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 Code:
root# sh flashplayer-plugin.SlackBuild Code:
Slackware package /home/sasha/Downloads/FLASH-PLUGIN/flashplayer-plugin-square-p2-092710-x86_64-1.txz created. Code:
root# installpkg /home/sasha/Downloads/FLASH-PLUGIN/flashplayer-plugin-square-p2-092710-x86_64-1.txz Code:
#!/bin/sh 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. |
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. |
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! |
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. |
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 |
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 If it didn;t go as above, paste for us the entire procedure you ran. |
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 |
All good choices. First (you asked for it!):
Code:
bash-3.1# ls -l Code:
bash-3.1# cd /root/Desktop |
All times are GMT -5. The time now is 09:37 PM. |