Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-25-2010, 04:08 AM   #1
Registered: Jan 2010
Distribution: Ubuntu
Posts: 312

Rep: Reputation: 31
Question [ask]Specifying destination directory when installing Slackware

Dear all,
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?

Old 01-25-2010, 04:34 AM   #2
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,289

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
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.
1 members found this post helpful.
Old 01-25-2010, 04:37 AM   #3
Senior Member
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Rep: Reputation: 100Reputation: 100
Originally Posted by business_kid View Post
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.
1 members found this post helpful.


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
[SOLVED] Installing Slackware on IDE hardrive boot from slackware DVD ethereal1m Linux - Newbie 2 01-24-2010 03:28 AM
Changing permissions of destination directory after rsync cliff123 Linux - General 1 12-26-2007 03:09 AM
destination unavailable W/ vpn. All other net destination o.k. MikeOfAustin Linux - Networking 1 04-07-2007 04:42 PM
how to remove a symlink without deleting the destination directory Snerkel Linux - Software 3 01-20-2005 11:47 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:38 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration