LinuxQuestions.org
Review your favorite Linux distribution.
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 01-13-2011, 09:19 AM   #1
Robert.Thompson
Member
 
Registered: Nov 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 13.37 -32 Bit
Posts: 578

Rep: Reputation: 49
Where do I save downloaded packages from SlackBuilds?


Hello:

Does it matter where on my system that I save downloaded packages?

Do they need to be 'installed' from a specific directory?

Any advice would be appreciated,
 
Old 01-13-2011, 09:33 AM   #2
Martinezio
Member
 
Registered: May 2009
Location: Warsaw, Poland
Distribution: Slackware64-current
Posts: 191

Rep: Reputation: 32
It is good choice to store packages in specified directory, and subdired them with package names. This will allow You to store all files specific for this package with common names, such as slack-desc, or so.
Most of SlackBuild scripts will look in current dir for package sources, and all necesary files (slack-desc, doinst.sh, readme, patches...). Of course, You can rewrite those scripts, but who has time for this?
 
1 members found this post helpful.
Old 01-13-2011, 09:40 AM   #3
Robert.Thompson
Member
 
Registered: Nov 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 13.37 -32 Bit
Posts: 578

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by Martinezio View Post
It is good choice to store packages in specified directory, and subdired them with package names. This will allow You to store all files specific for this package with common names, such as slack-desc, or so.
Most of SlackBuild scripts will look in current dir for package sources, and all necesary files (slack-desc, doinst.sh, readme, patches...). Of course, You can rewrite those scripts, but who has time for this?
So, would it be best to create a directory called 'packages' in the root or home directory and then download and extract them there?
 
Old 01-13-2011, 09:57 AM   #4
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,613
Blog Entries: 1

Rep: Reputation: 1048Reputation: 1048Reputation: 1048Reputation: 1048Reputation: 1048Reputation: 1048Reputation: 1048Reputation: 1048
Quote:
Originally Posted by Robert.Thompson View Post
So, would it be best to create a directory called 'packages' in the root or home directory and then download and extract them there?
I've got mine in /home/sycamorex/downloads/slackbuilds/ but IMHO it's up to you where you store them as long as you stick to one place to avoid messing your system.
 
1 members found this post helpful.
Old 01-13-2011, 09:59 AM   #5
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Slackware 13.1
Posts: 813

Rep: Reputation: 96
There's really no right answer to this... howrever you want to do it is fine. I do it in a directory called ~/source/Slackbuilds_org, and leave the source code and slackbuild scripts in there in case I want them later.
 
1 members found this post helpful.
Old 01-13-2011, 10:06 AM   #6
Robert.Thompson
Member
 
Registered: Nov 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 13.37 -32 Bit
Posts: 578

Original Poster
Rep: Reputation: 49
If I want the application to be available to the next user (or all users) I set up, does the package need to be installed from the root directory?
 
Old 01-13-2011, 10:08 AM   #7
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,613
Blog Entries: 1

Rep: Reputation: 1048Reputation: 1048Reputation: 1048Reputation: 1048Reputation: 1048Reputation: 1048Reputation: 1048Reputation: 1048
Quote:
Originally Posted by Robert.Thompson View Post
If I want the application to be available to the next user (or all users) I set up, does the package need to be installed from the root directory?
It does not matter which directory you install it from. You install a package as root to directories specified in a slackbuild script, which makes it possible for all users to run the program.

Last edited by sycamorex; 01-13-2011 at 10:26 AM.
 
1 members found this post helpful.
Old 01-13-2011, 10:24 AM   #8
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Slackware 13.1
Posts: 813

Rep: Reputation: 96
Quote:
Originally Posted by Robert.Thompson View Post
If I want the application to be available to the next user (or all users) I set up, does the package need to be installed from the root directory?
Doesn't matter. You install software as root, and all users have access to it once it's installed. What directory you work from is utterly irrelevant. I have a tutorial on software management:

http://genek.net/LinuxAdventures/sysadmin/slackpkg.html
 
1 members found this post helpful.
Old 01-13-2011, 10:27 AM   #9
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,122

Rep: Reputation: 819Reputation: 819Reputation: 819Reputation: 819Reputation: 819Reputation: 819Reputation: 819
I do this in /usr/local/packages/src with sub directories under src for example,
Code:
promtp: ls /usr/local/packages/src
GMT/  database/     graphics/   lifelines/   office/                  xap/
a/    development/  hdf5/       multimedia/  phpBB-3.0.7-PL1.tar.bz2  zoom/
ap/   games/        libraries/  netcdf/      system/
And, the ap sub directory contains
Code:
prompt: ls /usr/local/packages/src/ap
wvdial/  wvstreams/
This kinda-sorta follows the structure of the Slackware distribution; the extend further,
Code:
prompt: ls /usr/local/packages/src/ap/wvstreams/
README     slack-desc                      wvstreams-4.6.tar.gz   wvstreams.info
doinst.sh  wvstreams-4.6-x86_64-1_SBo.tgz  wvstreams.SlackBuild*
Works for me, your mileage may vary.

Hope this helps some.
 
1 members found this post helpful.
Old 01-13-2011, 12:51 PM   #10
Robert.Thompson
Member
 
Registered: Nov 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 13.37 -32 Bit
Posts: 578

Original Poster
Rep: Reputation: 49
Thanks to all - marking as SOLVED.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Packages made with slackbuilds JosephS Slackware 5 05-27-2009 07:43 PM
Searching for SlackBuilds packages El Nigromante Slackware 2 02-17-2009 04:28 PM
downloaded slackbuilds for nvidia. Need help with xorg.conf JosephS Slackware 9 01-04-2009 03:44 PM
apt-get : save the "downloaded" packages? sagar.1986 Ubuntu 1 01-20-2007 03:07 AM
Suse 9.1 upgrading to pro by yast; how to save downloaded packages? oryan_dunn Linux - General 7 09-12-2004 01:59 PM


All times are GMT -5. The time now is 10:10 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration