[SOLVED] Where do I save downloaded packages from SlackBuilds?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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?
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.
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.
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.
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:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.