LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Distro that compiles software in a single folder (https://www.linuxquestions.org/questions/linux-general-1/distro-that-compiles-software-in-a-single-folder-779098/)

chessonly 12-31-2009 11:36 AM

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?

ozanbaba 12-31-2009 11:50 AM

Quote:

Originally Posted by chessonly (Post 3810119)
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.

chessonly 12-31-2009 12:07 PM

thanks that looks pretty interesting..but wouln't dependencies be a problem ?

ozanbaba 12-31-2009 12:33 PM

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).

ofaring 12-31-2009 12:38 PM

The only one I know of is GoboLinux. Don't know how actively it's developed, though.

ofaring 12-31-2009 12:41 PM

My apologies for being off topic...

@ozanbaba:
I love the signature/quote. That's priceless.

ozanbaba 12-31-2009 12:50 PM

Quote:

Originally Posted by ofaring (Post 3810172)
My apologies for being off topic...

@ozanbaba:
I love the signature/quote. That's priceless.

:).

ozanbaba 01-14-2010 04:56 AM

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



All times are GMT -5. The time now is 01:48 PM.