LinuxQuestions.org
Review your favorite Linux distribution.
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 06-23-2011, 06:26 PM   #1
Vozz
LQ Newbie
 
Registered: Jun 2011
Posts: 4

Rep: Reputation: Disabled
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
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 06-23-2011, 06:32 PM   #2
SeRi@lDiE
Member
 
Registered: Jun 2006
Location: /dev/null
Distribution: Slackware 13.1, Slackware 13.37, aptosid, rhel
Posts: 547
Blog Entries: 7

Rep: Reputation: 55
Quote:
Originally Posted by Vozz View Post
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.
 
Old 06-23-2011, 06:44 PM   #3
Diantre
Member
 
Registered: Jun 2011
Distribution: Slackware
Posts: 515

Rep: Reputation: 234Reputation: 234Reputation: 234
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.
 
Old 06-23-2011, 08:25 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
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.
 
Old 06-23-2011, 09:47 PM   #5
rigelan
Member
 
Registered: Jul 2005
Location: Iowa
Distribution: Slackware
Posts: 180

Rep: Reputation: 19
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.
 
Old 06-23-2011, 09:57 PM   #6
Diantre
Member
 
Registered: Jun 2011
Distribution: Slackware
Posts: 515

Rep: Reputation: 234Reputation: 234Reputation: 234
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.
 
Old 06-23-2011, 10:10 PM   #7
zrdc28
Member
 
Registered: Dec 2007
Location: Alabama USA
Distribution: Slackware current
Posts: 309

Rep: Reputation: 55
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

Last edited by zrdc28; 06-23-2011 at 10:20 PM.
 
1 members found this post helpful.
Old 06-27-2011, 10:35 AM   #8
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
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
 
2 members found this post helpful.
Old 06-27-2011, 12:40 PM   #9
unclejed613
Member
 
Registered: Mar 2009
Posts: 352

Rep: Reputation: 32
tnx eric, i've been going the "long way around" for years and copying it to each user's .mozilla/firefox/plugins separately
 
Old 06-27-2011, 08:34 PM   #10
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
Quote:
Originally Posted by Alien Bob View Post
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.
 
Old 06-27-2011, 11:49 PM   #11
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by Alien Bob View Post
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.
 
Old 06-28-2011, 01:52 AM   #12
psionl0
Member
 
Registered: Jan 2011
Distribution: slackware_64 14.1
Posts: 722
Blog Entries: 2

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

Afterwards, use installpkg.
 
Old 06-28-2011, 02:15 AM   #13
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by psionl0 View Post
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
 
Old 06-28-2011, 04:00 AM   #14
psionl0
Member
 
Registered: Jan 2011
Distribution: slackware_64 14.1
Posts: 722
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
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).
 
Old 06-28-2011, 04:04 AM   #15
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
Why mess about like that, when all that's needed is copying one file to one directory?
 
1 members found this post helpful.
  


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
[SOLVED] Slackware 13 64bit: First time using SlackBuilds and unable to install programs. Switch7 Slackware 19 10-08-2009 09:26 AM
how to install programs on slackware 10.2 Jedi_Jay87 Linux - Newbie 8 03-17-2006 04:18 AM
Best way to install programs on Slackware alagenchev Slackware 3 02-15-2005 09:30 AM
Problems with launching programs in Fresh Slackware 10.0 Install Cecil Linux - Software 5 11-22-2004 10:24 PM

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

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