48
submitted 7 months ago by foremanguy92_@lemmy.ml to c/linux@lemmy.ml

Hello, I'm a bit new to advanced linux and programming stuffs... Can someone explain me why compiling exists and what this process does and how to do it in the principals situations (I've heard that you can use the "makepkg" command). Thx to everyone who replied.

you are viewing a single comment's thread
view the rest of the comments
[-] foremanguy92_@lemmy.ml 1 points 7 months ago

humm.. ok, and for example when you have the binaries of a file you have to compile it a last time, no? That's my experience with aur, when you get the bin, you have to makepkg a other time

[-] ipacialsection@startrek.website 3 points 7 months ago

In that case makepkg isn't compiling anything, it's just packaging the existing binaries so that they can be more easily installed and recognized by your package manager.

[-] foremanguy92_@lemmy.ml 2 points 7 months ago

like linking all the files and make a clean package? So makepkg does everything from the start to end of the compiling process

[-] ipacialsection@startrek.website 2 points 7 months ago

Yeah, basically. makepkg automates the process of creating an Arch package, and while usually that involves compiling source code, sometimes it just means converting proprietary software that has already been compiled into a different format.

[-] foremanguy92_@lemmy.ml 2 points 7 months ago
load more comments (2 replies)
this post was submitted on 17 Apr 2024
48 points (87.5% liked)

Linux

48464 readers
537 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 5 years ago
MODERATORS