LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 10-28-2019, 10:48 AM   #1
ychaouche
Member
 
Registered: Mar 2017
Distribution: Mint, Debian, Q4OS, Mageia, KDE Neon
Posts: 35

Rep: Reputation: 1
Compile everything !


Hello !

I was surprised that 4M Linux didn't have any package manager. If you want to use a software that's not already offered by the distro, you have to compile it yourself.

Are there other distros like this ? any drawbacks ? any advanatages ?
 
Old 10-28-2019, 11:00 AM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware FreeBSD Win10 MX
Posts: 9,609

Rep: Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071
gentoo Linux, and any Linux actually, if it is not in there system can be build from source, just like they did before it got packaged system is actually just them compiling it so you don't have to.

it can be in there system, yet that still doesn't prevent someone from taking the source and building it themselves, then installing it instead of using what is in the system.

benefit,
modifying the software to ones linking and or needs.

Building from source curtails the software to your system (not applicable to all software).

pitfalls,
locating deps.

Last edited by BW-userx; 10-28-2019 at 11:11 AM.
 
Old 10-28-2019, 11:12 AM   #3
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: Currently OpenMandriva. Previously openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,436

Rep: Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781
Quote:
Originally Posted by ychaouche View Post
...any drawbacks ?
Sure, it takes longer to install it, because you have to compile it first, and if you update whatever libraries said software uses, you will likely have to re-compile whatever it is to use newer versions of said libraries.

Quote:
any advanatages ?
Sure, for one; you built it yourself. For seconds, you'll be able to be the first kid on block to have the very latest version of whatever it is. Gotta be happy with that
 
Old 10-28-2019, 10:14 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 15,875
Blog Entries: 27

Rep: Reputation: 4667Reputation: 4667Reputation: 4667Reputation: 4667Reputation: 4667Reputation: 4667Reputation: 4667Reputation: 4667Reputation: 4667Reputation: 4667Reputation: 4667
You asked

Quote:
Are there other distros like this
Slackware.

But Slackware comes with a rich library of applications and with all the tools needed to compile from sources--kernel headers, compilers, etc.--and Slackbuilds.org and Alien Bob's Slackbuilds are marvelous resources which make the process as painless as it can be.

Last edited by frankbell; 10-28-2019 at 10:16 PM.
 
Old 10-28-2019, 11:46 PM   #5
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,272

Rep: Reputation: 153Reputation: 153
Slackware does have a package manager: https://docs.slackware.com/slackbookackage_management

In the general case, if you want to use software not available from the distribution's official repositories then you will need to either compile it from source or, if you're a trusting soul, find an unofficial repo that has the software you want.

The main thing that differs is the variety and quantity of software a distribution may have in its official repos.
 
Old 10-29-2019, 07:50 AM   #6
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware, OpenBSD
Posts: 4,039
Blog Entries: 11

Rep: Reputation: 2233Reputation: 2233Reputation: 2233Reputation: 2233Reputation: 2233Reputation: 2233Reputation: 2233Reputation: 2233Reputation: 2233Reputation: 2233Reputation: 2233
Quote:
Originally Posted by jsbjsb001 View Post
it takes longer to install it, because you have to compile it first, and if you update whatever libraries said software uses, you will likely have to re-compile whatever it is to use newer versions of said libraries.
That's not necessarily true. If there's a major update of the library (new soname), you will need to recompile programs that depend on it, but that's not necessary for minor updates. However if you build a program independently of the package management system, you won't get warned that you need to rebuild it when there is a major update of a library it uses.
 
Old 10-29-2019, 08:18 AM   #7
GazL
LQ Guru
 
Registered: May 2008
Posts: 5,386
Blog Entries: 18

Rep: Reputation: 3196Reputation: 3196Reputation: 3196Reputation: 3196Reputation: 3196Reputation: 3196Reputation: 3196Reputation: 3196Reputation: 3196Reputation: 3196Reputation: 3196
Another advantage of building it yourself is that you get to choose your own ./configure options rather than having to use the ones the package maintainer chose. ffmpeg being a good example of where one might want to enable additional features.

I think one has to draw a distinction between the like of Gentoo or CRUX: which are "compile everything", and something like Slackware: which is "compile extra stuff". They're very different approaches.
 
1 members found this post helpful.
Old 10-29-2019, 08:47 AM   #8
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware FreeBSD Win10 MX
Posts: 9,609

Rep: Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071
GOOD POINT!
 
Old 10-29-2019, 08:57 AM   #9
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware, OpenBSD
Posts: 4,039
Blog Entries: 11

Rep: Reputation: 2233Reputation: 2233Reputation: 2233Reputation: 2233Reputation: 2233Reputation: 2233Reputation: 2233Reputation: 2233Reputation: 2233Reputation: 2233Reputation: 2233
It also makes sense to distinguish semi-official contributions with prewritten compilation scripts from the kind of ad-hoc building from source that many of us resort to when we want something that isn't in the repos. As far as I know, only Arch and Slackware among the binary distributions have such collections. Slackware has slackbuilds.org and Arch has AUR. Crux also has contributor repos that provide source plus automated build scripts for software that doesn't satisfy Crux's KISS philosophy.
 
  


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
Find with -mtime is finding EVERYTHING since, not everything older than NobleOne Linux - Newbie 6 08-16-2017 08:50 AM
Do I really have to compile everything to keep ports up-to-date on FreeBSD? genmaicha *BSD 2 12-21-2009 05:24 PM
everything I try to compile ends in "pthread" errors. quincy_the_penquin Linux - Software 2 04-11-2007 07:12 PM
Cant compile ndiswrapper (tried everything already) Giant01 Linux - Software 12 06-30-2005 09:26 AM
I want to compile 2.6 kernel and keep everything from 2.4 intact (dual kernel system) sina_kish Linux - Software 7 02-02-2005 10:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

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