LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-25-2010, 04:08 AM   #1
ethereal1m
Member
 
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?

Thanks,
ethereal1m
 
Old 01-25-2010, 04:34 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,520

Rep: Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604
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
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Rep: Reputation: 100Reputation: 100
Quote:
Originally Posted by business_kid View Post
Better compile from source, and use './configure --prefix /somewhere' in the compile.
Agree.

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.
  


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
[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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:39 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