this post was submitted on 26 Oct 2025
49 points (100.0% liked)

Linux

59312 readers
679 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

Are there any risks or disadvantages to building software from source, compared to installing a package? Can it mess with my system in any way?

I usually avoid it because I've found it to be a faff and often doesn't work anyway but in a couple of cases it has been necessary.

you are viewing a single comment's thread
view the rest of the comments
[–] Nibodhika@lemmy.world 8 points 5 days ago (2 children)

Like many have said, the main disadvantages are:

  • Any software installed outside of your package manager is difficult to uninstall or maintain.
  • Compilation time can be an annoyance.

The main advantages are:

  • Removal of unused features.
  • CPU specific optimizations.

If you're interested in compiling your own software maybe consider using a distro whose package manager allows to compile stuff, Gentoo is the obvious choice, but Debian based distros can also do that.

[–] thevoidzero@lemmy.world 2 points 4 days ago* (last edited 4 days ago)

Arch also kinda allows that if you write custom PKGBUILD file. It's easy to write for simple stuffs that are based on make/cargo etc.

It's time consuming if some program gives you 100s of lines of code in bash script to install their program though.

Edit:

Another disadvantage of building from source is dependency management. You might accidentally uninstall some dependencies, the standard library versions might change and break your packages, etc.

Using package manager mitigates that.

[–] neox_@sh.itjust.works 1 points 4 days ago* (last edited 4 days ago)

Using GNU Guix to build can solve the "difficult to install" issue and also help with dependency management, however compilation time can't be avoided. Advantages remain, however, thanks to package transformation options!