Compiling Software from Source

Поделиться
HTML-код
  • Опубликовано: 22 авг 2024
  • Compiling software can be a daunting task, especially if you've never done it before. To get more familiar, I'll walk through compiling three free software projects. Follow along at home with the links below!
    - Krita: invent.kde.org...
    - Nibbles: gitlab.gnome.o...
    - SuperTuxKart: github.com/sup...
    ---
    Join the Nerd Club: nerdclub.nots.co
    nerdonthestree...
    discord.nots.co
    / nerdonthestreet
    / nerdonthestreet
    / nots_network
    plus.google.co...
    E-Mail: jacob@nerdonthestreet.com

Комментарии • 67

  • @Borsting89
    @Borsting89 5 лет назад +30

    Normal tutorial on youtube = gitclone > make > and this is all you have to do to compile from source. - > 5 min video.
    Nerd on the street tutorial on youtube = What you actually have to do to compile from source. 50 min video.
    And that goes for pretty much any tutorial you share with us. I really do appreciate that you take your time and listen to your followers. Thanks again, Jacob!

  • @danielbuenrostro
    @danielbuenrostro 5 лет назад +25

    Dude, I've been avoiding building from source for so long because I felt overwhelmed with the tutorials one can find online. This is such a great video with tons of useful tips and tricks. Now I'll finally be able to compile Vim with copy/paste support enabled, lol.
    Thanks a bunch, keep up the good work!

  • @TheJobCompany
    @TheJobCompany 5 лет назад +17

    Aaah! Compiling from source. A GNU/Linux user's first joy.

    • @genkiferal7178
      @genkiferal7178 3 года назад +4

      ? I've lived for a year+ without it. Hoping I can stretch it for another year...

    • @amiraloi1694
      @amiraloi1694 2 года назад +3

      Not a joy, sometimes only NEED

  • @gabitoqbito
    @gabitoqbito 3 года назад +8

    Great video! This is actually a faithful representation of the building from source process: poor documentation, missing dependencies, typos, and a lot of patience :D

  • @burntt999
    @burntt999 3 месяца назад +1

    When I was young and first tired Linux I remember getting really frustrated because I couldn’t install anything. I remembered later that I was trying to install stuff from source.. haha yeah good luck brand new Linux child.
    I’ve been getting interested with compiling software lately since I’ve been reading on different Linux distros and how some compile most software and I haven’t really done it very much in my Linux life. So many things seem to use Linux now than way back..
    Wonderful info and video sir. Super subbed.

    • @NerdOnTheStreet
      @NerdOnTheStreet  Месяц назад

      Glad to help! It's definitely a topic people usually don't need to delve into (and new users are best off avoiding) but can be great to have some familiarity with when getting into the advanced levels of system administration and the beginner levels of developing.

  • @Albert-fj2wp
    @Albert-fj2wp 6 месяцев назад +1

    A student trying to learn linux and this video really helped me to understand that there's cmake and meson and installing random dependencies aren't that scary. I've managed to compile tmux from source as well.

  • @kychemclass5850
    @kychemclass5850 2 года назад +2

    Thank you so much. I learned a lot from this and managed to cope with a "curses" missing dependency due to your video and finally compile my chosen source files.

  • @burntt999
    @burntt999 3 месяца назад

    17:27 bless you for figuring out that… it would’ve bothered me until the end of time… I’d have to recreate this entire thing in a vm just to go to sleep tonight.

  • @PetrosSharp
    @PetrosSharp 4 года назад +2

    Great stuff. My thumb up for this. By the way in case of krita there is arch linux krita package web page where all required dependencies are listed.

  • @burntt999
    @burntt999 3 месяца назад

    34:54 yup thanks for that one too.
    I do the same thing trying to break the habit and get people to hear something other than a titans slang word

  • @tonybell1597
    @tonybell1597 2 года назад

    Tried finding other tube videos, found this! Thank you….. first time compiling ….

  • @raunakchhatwal5350
    @raunakchhatwal5350 9 месяцев назад +1

    Thanks!

    • @NerdOnTheStreet
      @NerdOnTheStreet  9 месяцев назад

      Glad this was helpful, thank you for the Super Thanks!

  • @catsartpics
    @catsartpics 20 дней назад

    Very, helpful video Jacob! A few questions as I'm running Slackware. Would making a separate (subdir) within the main directory of the program I need assist with keeping those lib's or install lib's and binaries out of the whole system? And, If I can't find the program in the Slack Builds directory and have to go get a .deb or .rpm pkg and convert it to a slackware pkg will that be a problem during compilation or final install?

  • @DevAhmadRagab
    @DevAhmadRagab 3 месяца назад

    thank you for this helpful video

  • @yash1152
    @yash1152 Год назад

    34:55 > _"sorry, web search them"_
    apology accepted 😊😇

  • @LydiaScherr
    @LydiaScherr 2 года назад +4

    Hi Nerd on the Street, thank you for this video! I created a web automation app using Python. My department wants to be able to use it as well, however, I am not sure how to export it so others can use as a desktop application. If you have any specific guidance on this please let me know. I have done some searching, and have not succeeded so far. Thank you again!

    • @NerdOnTheStreet
      @NerdOnTheStreet  2 года назад +3

      In general, because Python is a scripting language and not a compiled programming language, you wouldn't need to compile your Python source code for others to run it, but they would need to have Python installed to run it.
      That's not a problem for Linux systems because they generally have Python installed already. If you're trying to share a desktop application for Windows or macOS without requiring Python to be installed, you could use a tool like pyinstaller that packages your Python program along with a Python interpreter and any other dependencies into a binary executable (.exe or similar).

    • @LydiaScherr
      @LydiaScherr 2 года назад

      @@NerdOnTheStreet Thank you :]

  • @CrackDavidson1
    @CrackDavidson1 4 месяца назад

    This was great and still one of a kind. Lol @chris titus video about the same topic. xD

  • @jonathanbell9594
    @jonathanbell9594 2 месяца назад

    solid video cheers bruh

  • @ShiroCh_ID
    @ShiroCh_ID 3 года назад +1

    i love in the back he uses KDE xD
    well im still on windows for now been on KDE Neon for 6 mont,miss KDE but SOme of My Software Cant run on Wine
    so now i need to igure it out while creating some software too

  • @comosaycomosah
    @comosaycomosah 5 месяцев назад

    ooh whats the setting to have dolphin turn transparent when you move it only

  • @fbifido2
    @fbifido2 5 лет назад +1

    @11:01 - you made an error, you have a capital ^Krita folder, that all 3 folders are in.

  • @wolfganggosejacob779
    @wolfganggosejacob779 3 года назад +1

    Hello, i'm looking actually Minute 3 and looking forward for new knowledge.
    Your're talking about compiling three different programs and I have the question about compiling a driver for my Linux Kernel....
    1. question is: how does this work (in example the driver ch340 used by Chinese clones of Arduino) which seems not to be supported in Linux Mint 19, perhaps in newer versions or other distributions with newer kernels?
    2. question: do I have to compile the driver after every update of the kernel and should I have attention on my own if the Linux kernel is updated and the connection to the Arduino Board does not work afterwards?
    3. Question: did you made already a video about this topic/ do you know a manual about this?
    (now looking the rest of this video)
    add: i'm using "cura" for Linux which is provided as a Appimage. I have seen that one configuration file, that I want to edit, is in the Appimage , which I can't edit.
    I I don't know if the program cura is available as source code (i think so) for compiling my own version (the manual for compiling seems to be in this video ;) ).
    so there are are two other questions:
    - how to build Appimage out of my compiled Programm and
    - how to decompile/edit/new compile the Appimage.
    (this question seems to be similar to build a flat-pack or a snap or a docker container ?!?!)
    thank you for providing this video with showing errors and finding a solution for dependencies.... linux is very crazy for people who are willing to switch from the operating system from Redmond.... 🤔😳🙄

  • @ashutoshsaxena2122
    @ashutoshsaxena2122 Год назад

    Great Video man!

  • @fbifido2
    @fbifido2 5 лет назад +1

    @27:40 - Now that we compile it, how do you create an install package for Krida so that I can give someone to just install it into their system?

    • @Nobody-eg4bi
      @Nobody-eg4bi 8 месяцев назад

      well the install package is in binary formats, will work on Arch Linux only not other distro

  • @Umar_Az-Zahar
    @Umar_Az-Zahar 5 месяцев назад

    This tutorial makes me want to rebuild the tianocore/edk2 project for the millionth time and see if it goes any different (yes I'm implying that I need help building this project)

  • @mrri8403
    @mrri8403 3 года назад +1

    Hello I’m having trouble compiling multiple c# source code files into exe , it would be very helpful if you can give me some tips on how to resolve that. Thank you.

  • @visitor82
    @visitor82 5 лет назад

    Thank for this great explanation !

  • @Nobody-eg4bi
    @Nobody-eg4bi Год назад

    This is really good video

  • @RonaldoAlmeidaOpusMagnum
    @RonaldoAlmeidaOpusMagnum 5 лет назад

    Awesome video!

  • @Amitrampur10Blogspot
    @Amitrampur10Blogspot 8 месяцев назад

    👍Dear i want to build kext forEMU 1212 m downloaded kx source master to enable inputs. ADAT ,thanks

  • @FirmanAsa
    @FirmanAsa 2 года назад

    Isn't the bluetooth for wireless controller support?

  • @yash1152
    @yash1152 Год назад

    45:07 any way to specify all those package names to be searched in one command?

  • @yash1152
    @yash1152 Год назад

    15:26 30:11 any specific reason for not using the "pacman -Ss boost" "pacman -Ss valac"??
    44:00 > _"i prefer searching on a gui rather than a cli"_
    ohkayyy :)

  • @supratiksarkar6336
    @supratiksarkar6336 11 месяцев назад

    Can you do Ccextractor.

  • @mitchellspanheimer1803
    @mitchellspanheimer1803 2 года назад

    Can you do Crankshaft (for Raspbian) as an example, it has multiple build step folders and it is pretty confusing?

  • @fbifido2
    @fbifido2 5 лет назад

    Can you compile Collabora for Linux from source, even if it's built for containers?

  • @muhammadkashif4000
    @muhammadkashif4000 3 года назад

    I have to build kleopatra from source code KDE application would you guide me. And dolphin is necessary for building these apps or not

    • @Nobody-eg4bi
      @Nobody-eg4bi 8 месяцев назад

      Dolphin will guide you to the right path if you follow it.

  • @yash1152
    @yash1152 Год назад

    26:16 yeah, you should have covered a rust one too. but yeah, rust was not that in demand 3 yrs ago. will you do one about rust now??

    • @NerdOnTheStreet
      @NerdOnTheStreet  9 месяцев назад

      Cargo should do a lot of the job for Rust apps, but that's a good idea for a follow-up video.

  • @deeareus9886
    @deeareus9886 4 года назад

    Can you try to make a video for prusa slicer?

  • @alufeyomsiska9793
    @alufeyomsiska9793 2 года назад

    i have a program in C i want to compile it

  • @yash1152
    @yash1152 Год назад

    7:34 dolphin file manager integrated terminal - wow, nice
    8:12 that's exactly what i wanted to do :)))) oh godd, is there an explorer in windows which does that?

    • @Nobody-eg4bi
      @Nobody-eg4bi 8 месяцев назад

      Windows 😆😅😂🤣

  • @FPChris
    @FPChris 3 года назад

    Qt is a friggin' nightmare to build. And even once it starts you're in for HOURS of watching text scroll by in the terminal.

  • @ladyViviaen
    @ladyViviaen 3 года назад +1

    install gentoo

  • @letchumansivakumar9600
    @letchumansivakumar9600 Год назад

    How to compile a basic programme

  • @sajisnair9354
    @sajisnair9354 Год назад

    Dual👉🤳

  • @cischsr2794
    @cischsr2794 2 года назад

    You lie to me, you not on the street

  • @user-cq8zg1qz8o
    @user-cq8zg1qz8o 2 года назад

    Lfs user be like

  • @fbifido2
    @fbifido2 5 лет назад

    @11:01 - you made an error, you have a capital ^Krita folder, that all 3 folders are in.

  • @fbifido2
    @fbifido2 5 лет назад

    @27:40 - Now that we compile it, how do you create an install package for Krida so that I can give someone to just install it into their system?

  • @fbifido2
    @fbifido2 5 лет назад

    Can you compile Collabora for Linux from source, even if it's built for containers?

  • @gmailservice9945
    @gmailservice9945 3 года назад

    Awesome video!