Difference between revisions of "User:Pnoecker/philosophy of slackware"

From Funtoo
Jump to navigation Jump to search
(initial commit explaining paths)
 
Line 1: Line 1:
funtoo can be used as a base operating system that functions as a slackware underlayer.  slackware publishes an operating system that has a robust gcc compilation system that uses manual dependency resolution and manual compilation of dependencies.  funtoo can fill in dependencies through portage and load hand compiled binaries.  first we must adjust the $PATH.  we need to load /usr/local/bin & /usr/local/sbin before the standard $PATH variables like /bin & /sbin & /usr/bin & /usr/sbin & finally loading /opt/bin & /opt/sbin path binaries.
funtoo can be used as a base operating system that functions as a slackware underlayer.  slackware publishes an operating system that has a robust gcc compilation system that uses manual dependency resolution and manual compilation of dependencies.  funtoo can fill in dependencies through portage and load hand compiled binaries.  first we must adjust the $PATH.  we need to load /usr/local/bin & /usr/local/sbin before the standard $PATH variables like /bin & /sbin & /usr/bin & /usr/sbin & finally loading /opt/bin & /opt/sbin path binaries.
{{console|body=
$##i## echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/13/bin:/usr/lib/llvm/12/bin
}}
this shows that the default $PATH variable loads slackware appropriate paths.  we can compile programs with ./configure && make && make install.  these programs installed this way will land binaries in /usr/local/bin or /usr/local/sbin.  we only need to resolve dependencies that hand compiled programs require.  it makes sense to use portage to pull in underlying dependencies & compile our final package required outside of portage.

Revision as of 03:24, December 9, 2022

funtoo can be used as a base operating system that functions as a slackware underlayer. slackware publishes an operating system that has a robust gcc compilation system that uses manual dependency resolution and manual compilation of dependencies. funtoo can fill in dependencies through portage and load hand compiled binaries. first we must adjust the $PATH. we need to load /usr/local/bin & /usr/local/sbin before the standard $PATH variables like /bin & /sbin & /usr/bin & /usr/sbin & finally loading /opt/bin & /opt/sbin path binaries.

user $ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/13/bin:/usr/lib/llvm/12/bin

this shows that the default $PATH variable loads slackware appropriate paths. we can compile programs with ./configure && make && make install. these programs installed this way will land binaries in /usr/local/bin or /usr/local/sbin. we only need to resolve dependencies that hand compiled programs require. it makes sense to use portage to pull in underlying dependencies & compile our final package required outside of portage.