LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   How do you install programs in slackware? (https://www.linuxquestions.org/questions/slackware-14/how-do-you-install-programs-in-slackware-888008/)

Vozz 06-23-2011 06:26 PM

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

SeRi@lDiE 06-23-2011 06:32 PM

Quote:

Originally Posted by Vozz (Post 4394118)
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

Please do a bit of searching :) It can come a long way!
Go to slackbuilds.org and search for flash.

Good Luck. :)

Diantre 06-23-2011 06:44 PM

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.

frankbell 06-23-2011 08:25 PM

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.

rigelan 06-23-2011 09:47 PM

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.

Diantre 06-23-2011 09:57 PM

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:

We have made this preview available so that users can test existing content and new platforms for compatibility and stability. Because this is a preview version of Flash Player, we don’t expect it to be as stable as a final release version of Flash Player. Use caution when installing Flash Player "Square" on production machines.

zrdc28 06-23-2011 10:10 PM

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

Alien Bob 06-27-2011 10:35 AM

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

unclejed613 06-27-2011 12:40 PM

tnx eric, i've been going the "long way around" for years and copying it to each user's .mozilla/firefox/plugins separately

frankbell 06-27-2011 08:34 PM

Quote:

Originally Posted by Alien Bob (Post 4396971)
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.

Opera also makes you of that directory, in addition to /usr/lib/opera/plugins.

ruario 06-27-2011 11:49 PM

Quote:

Originally Posted by Alien Bob (Post 4396971)
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

Opera will look in the mozilla plugin directory as well.

psionl0 06-28-2011 01:52 AM

src2pkg does a remarkable job of converting tarballs into packages - even if the tarball is a source that needs compiling.

Afterwards, use installpkg.

Alien Bob 06-28-2011 02:15 AM

Quote:

Originally Posted by psionl0 (Post 4397655)
src2pkg does a remarkable job of converting tarballs into packages - even if the tarball is a source that needs compiling.

Afterwards, use installpkg.

Yes probably, but why bother with src2pkg? If you want a package for the flash player plugin either get a SlackBuild script in Slackware's "/extra" directory: http://slackware.osuosl.org/slackwar...player-plugin/ - or at SlackBuilds.org, http://slackbuilds.org/repository/13...player-plugin/ .

Or get a package with SlackBuild here: http://slackware.com/~alien/slackbui...player-plugin/

Eric

psionl0 06-28-2011 04:00 AM

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).

brianL 06-28-2011 04:04 AM

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.