LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-31-2009, 12:36 PM   #1
chessonly
Member
 
Registered: Jan 2005
Distribution: ubuntu
Posts: 58

Rep: Reputation: 15
Distro that compiles software in a single folder


Is there any distro in which the applications are installed into their own seperate folders ? Like windows.
I think PC-BSD does this with its PBI's . Is there any other linux distros that emulate this behaviour?
 
Old 12-31-2009, 12:50 PM   #2
ozanbaba
Member
 
Registered: May 2003
Location: Tengiz
Distribution: Slackware64 14.1
Posts: 673

Rep: Reputation: 94
Quote:
Originally Posted by chessonly View Post
Is there any distro in which the applications are installed into their own seperate folders ? Like windows.
I think PC-BSD does this with its PBI's . Is there any other linux distros that emulate this behaviour?
chroot jail? check chroot documentation.
 
Old 12-31-2009, 01:07 PM   #3
chessonly
Member
 
Registered: Jan 2005
Distribution: ubuntu
Posts: 58

Original Poster
Rep: Reputation: 15
thanks that looks pretty interesting..but wouln't dependencies be a problem ?
 
Old 12-31-2009, 01:33 PM   #4
ozanbaba
Member
 
Registered: May 2003
Location: Tengiz
Distribution: Slackware64 14.1
Posts: 673

Rep: Reputation: 94
yes it would be.

another posibility is that giving make install DESTDIR=/path/install/dir to install (not every program supports it. autogen based build systems ususally adds it. grep -i destdir Makefile would give you the anwser to the question of weather it is supported. i use it for package build and testing. i even compiled gcc 4.4.2 and installed in my home dir and used it to compile wine64).
 
Old 12-31-2009, 01:38 PM   #5
ofaring
Member
 
Registered: Feb 2006
Location: Ontario, Canada
Distribution: Debian, sometimes BSD.
Posts: 44
Blog Entries: 13

Rep: Reputation: 21
The only one I know of is GoboLinux. Don't know how actively it's developed, though.
 
Old 12-31-2009, 01:41 PM   #6
ofaring
Member
 
Registered: Feb 2006
Location: Ontario, Canada
Distribution: Debian, sometimes BSD.
Posts: 44
Blog Entries: 13

Rep: Reputation: 21
My apologies for being off topic...

@ozanbaba:
I love the signature/quote. That's priceless.
 
Old 12-31-2009, 01:50 PM   #7
ozanbaba
Member
 
Registered: May 2003
Location: Tengiz
Distribution: Slackware64 14.1
Posts: 673

Rep: Reputation: 94
Quote:
Originally Posted by ofaring View Post
My apologies for being off topic...

@ozanbaba:
I love the signature/quote. That's priceless.
.
 
Old 01-14-2010, 05:56 AM   #8
ozanbaba
Member
 
Registered: May 2003
Location: Tengiz
Distribution: Slackware64 14.1
Posts: 673

Rep: Reputation: 94
let me give you an example i actually did:

i configured and complied gcc 4.4.2 for wine64 tests. i did not want to install it system wide so i did this in gcc source folder.
[CODE]
mkdir build #gcc people says we should build it in different folder than source folder.
cd build
../configure --prefix=$HOME/gcc --program-suffix=4.4 --enable-languages=c,c++
make bootstrap-lean #so i can save from space as i have problem with disk space
make install # it will install it to $HOME/gcc
[CODE]

alternative way to do it is like this which should be more general
Code:
mkdir build #gcc people says we should build it in different folder than source folder.
cd build
../configure --prefix=/usr --program-suffix=4.4 --enable-languages=c,c++
make bootstrap-lean #so i can save from space as i have problem with disk space
make install DESTDIR=$HOME/gcc # it will install it to $HOME/gcc
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
my folder turned into a single file!! how to recover? RohitBhosale Linux - General 1 07-06-2009 04:14 PM
REQ: A distro that compiles programs from source Zack069 Linux - Distributions 5 02-07-2008 03:28 PM
Mounting multipul partitions into a single folder. xconspirisist Linux - Hardware 6 02-23-2007 11:11 PM
Mounting a single folder george_mercury Linux - General 2 07-06-2004 06:46 PM
vsftpd single upload folder RinGz Linux - Networking 2 11-13-2003 02:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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