[ask]Specifying destination directory when installing Slackware
I'm trying to install Slackware package into some specific locations, like for example, I want to put Linux base package into at / and put applications on /usr/local. However when I'm installing using "setup" program, I cannot find a part that let me to choose the installation destination.
At "setup install" option, it gives six different installation method like full, newbie, menu, expert, custom, and tag path. But none of them (I cannot find it) gives an option where to put the installation package to.
Did I miss anything?
I presume you installed pkgtools. installpkg -root lets you specify another root.
I would be careful moving stuff around. A lot of paths are hardcoded into scripts, so moving anything except discretionary packages is not on. If you use installpkg --root /usr/local, for example, you might find that you have your binaries in /usr/local/usr/bin, etc and your log file in /usr/local/var/log/packages, instead of /var. Be careful what you wish for.
Better compile from source, and use './configure --prefix /somewhere' in the compile.
You can't install packages anywhere.
I also suggest you to take a look at slackbuilds if you want a clean package with your own settings.
|All times are GMT -5. The time now is 08:13 PM.|