LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 09-09-2005, 10:57 PM   #1
jnsg
Member
 
Registered: Jan 2005
Location: Kentucky, USA
Distribution: Slackware 13
Posts: 125

Rep: Reputation: 15
Installing more software


I recently started using Slackware as my first distro, and have started getting all my wanted software downloaded. My question is, when I install firefox for example, it lets me choose where to install it. Where should I install it? It defaults to my home directory, which I don't want since it will be for any user. I'm just not sure where the appropriate place for things like that is. Also, how do I get the firefox binary in something like /usr/bin/firefox? Can I actually just mv/cp the file firefox to that location? Do I need to make a symbolic link or something?
 
Old 09-09-2005, 11:23 PM   #2
kodon
Member
 
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
there are slackpacks for firefox/thunderbird
(binary releases)
 
Old 09-10-2005, 05:45 AM   #3
angelushu
Member
 
Registered: Oct 2003
Distribution: Slackware/SuSE/Fedora
Posts: 42

Rep: Reputation: 15
Re: Installing more software

Quote:
Originally posted by jnsg
I recently started using Slackware as my first distro, and have started getting all my wanted software downloaded. My question is, when I install firefox for example, it lets me choose where to install it. Where should I install it? It defaults to my home directory, which I don't want since it will be for any user. I'm just not sure where the appropriate place for things like that is. Also, how do I get the firefox binary in something like /usr/bin/firefox? Can I actually just mv/cp the file firefox to that location? Do I need to make a symbolic link or something?
Most of the sources you'll get will include a configure script. Running it wil determine your machine's specs. The default installation for binaries is usually /usr/local/bin, for libraries /usr/local/lib, etc. You can tailor your install as you wish with the configure script (e.g.
Code:
configure --prefix=/usr
), run:
Code:
configure --help
to get the available options.
If wan't compiled binaries:
Code:
www.linuxpackages.net
For firefox run the installation script:
Code:
$ firefox-installer
Let's say you're installing it in /usr/local/firefox.
and make a symlink to it:
Code:
ln -s /usr/local/firefox/firefox /path/to/linkname

Last edited by angelushu; 09-10-2005 at 05:49 AM.
 
Old 09-10-2005, 10:52 AM   #4
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
Re: Installing more software

Quote:
Originally posted by jnsg
I recently started using Slackware as my first distro, and have started getting all my wanted software downloaded. My question is, when I install firefox for example, it lets me choose where to install it. Where should I install it? It defaults to my home directory, which I don't want since it will be for any user. I'm just not sure where the appropriate place for things like that is. Also, how do I get the firefox binary in something like /usr/bin/firefox? Can I actually just mv/cp the file firefox to that location? Do I need to make a symbolic link or something?
I usually download my software from this Slackware package site, it has pe-built slackware packages. Just download them to a directory, navigate to the directory, type su, enter root password, then issue this command: installpkg filename.tgz

The install package command will install the software into the proper directory for you and set up icons for you.

http://www.linuxpackages.net/packages.php
 
Old 09-11-2005, 03:45 AM   #5
mjjzf
Member
 
Registered: Feb 2004
Location: Valby, Denmark / Citizen of the Web
Distribution: Slackware 14.1
Posts: 879

Rep: Reputation: 39
Traditionally, added programs not controlled by native package management were installed in /opt - I usually use that, when prompted.
So I have /opt/firefox with the executable /opt/firefox/firefox.
As mentioned above, I have made a symlink to it in /usr/bin with
/usr/bin $ ln -s /opt/firefox/firefox
 
Old 09-11-2005, 12:02 PM   #6
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
Re: Installing more software

Quote:
Originally posted by jnsg
I recently started using Slackware as my first distro, and have started getting all my wanted software downloaded. My question is, when I install firefox for example, it lets me choose where to install it. Where should I install it? It defaults to my home directory, which I don't want since it will be for any user. I'm just not sure where the appropriate place for things like that is. Also, how do I get the firefox binary in something like /usr/bin/firefox? Can I actually just mv/cp the file firefox to that location? Do I need to make a symbolic link or something?
When I downloaded, installed the pre-built slack package for Fire Fox it was installed in the following directory.
http://www.citytel.net/~gnielsen/snapshot5.jpg
This is handy as it takes the guess work out of where to install the program.
The installpkg command handles the entire installation and puts an icon in your start menu. Sometimes you'll need to hunt for the program after installation if the icon is not put on your tool bar.
 
  


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
Help with installing software scagman Linux - Software 2 05-05-2005 05:43 PM
Installing Software wewereright1054 Linux - Software 4 10-26-2004 03:43 AM
Installing Software trophy Linux - Newbie 4 10-07-2004 05:16 PM
Installing software sharpie Slackware 3 03-12-2004 12:16 AM
Question on installing software and starting software rootlinux Linux - Newbie 5 01-19-2002 10:40 AM

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

All times are GMT -5. The time now is 07:55 PM.

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