How do you install programs in slackware?
hi i have a little problem i was going to download flash player so i can watch youtube videos but i cant install the file i downloaded, can you please help me the file is in a tar.gz format
|
Quote:
Go to slackbuilds.org and search for flash. Good Luck. :) |
You use pkgtool or installpkg to install packages in Slackware.
It would be easier if you follow SeRi@lDiE suggestion and get a SlackBuild script from http://www.slackbuilds.org. Or even better, go to http://www.sbopkg.org and get sbopkg, install the package using pkgtool or installpkg. sbopkg will automate the process of downloading source code and SlackBuild scripts from http://www.slackbuilds.org, it will download, build and install packages for you. A great tool IMHO. On the other hand, you can just put libflashplayer.so in $HOME/.mozilla/firefox/plugins if you use FF. But I would recommend using sbopkg. |
The flash *.tar.gz is not an installable package. It's simply a tarball.
As root, copy libflashplayer.so to /usr/lib/mozilla/plugins or to the plugin folder that fits your needs. You may need to shutdown and restart your browser for it to see the plugin. It used to come with an install_flashplayer.sh script that did the copying, but I just looked at the *.tar.gz file and the script seems to be no longer there. |
One thing that is not straightforward:
You can not directly use a 32-bit flashplayer on a 64-bit browser. Either you need a compatibility layer in between, or you need to use a 32-bit browser. I don't know what you have - but I suspect many people will be running 64-bit slackware. |
Adobe has a preview release of a 64-bit version of flash player for linux:
http://labs.adobe.com/technologies/f...ayer10/square/ From their website: Quote:
|
Go to adobe flash player web page
http://get.adobe.com/flashplayer/ click go to different operating systems choose linux as operating system choose .tar.gz for linux a screen will come up install_flash_player_10_linux.tar.gz click ok it should download to Downloads folder go to terminal, konsole or cmd line. "cd" /Downloads then "ls" and you should see the following install_flash_player_10_linux.tar.gz tar zxvf install_flash_player_10_linux.tar.gz it will create a file libflashplayer.so move that file to /usr/lib/firefox-?.?.?/plugins ? being your version of firefox A real easy way to copy it is from the Downloads folder! "cp libflashplayer.so /usr/lib/firefox-your version/plugins restart firefox and you will have it |
If you copy the file to /usr/lib/mozilla/plugins instead, then all Mozilla based browsers as well as Konqueror will be able to use the plugin, not just firefox.
On 64bit Slackware, it would be the /usr/lib64/mozilla/plugins directory. Eric |
tnx eric, i've been going the "long way around" for years and copying it to each user's .mozilla/firefox/plugins separately
|
Quote:
|
Quote:
|
src2pkg does a remarkable job of converting tarballs into packages - even if the tarball is a source that needs compiling.
Afterwards, use installpkg. |
Quote:
Or get a package with SlackBuild here: http://slackware.com/~alien/slackbui...player-plugin/ Eric |
A package from the slackware installation disk or something from slackbuilds (or equivalent) are preferable when available. However, if all you can get your hands on is a tarball (or a package from some other distro) then you should convert it into a slackware package before installation. (I make it a rule to never install something that isn't a slackware package).
|
Why mess about like that, when all that's needed is copying one file to one directory?
|
All times are GMT -5. The time now is 10:37 AM. |