How to Compile Source Code: Linux Terminal 201 – HakTip 174

#linux, #linuxapp, #linuxsoftware, #linuxprograms, #linuxgame, #datsfreeinfo






In today’s HakTip, Shannon covers compiling programs with make in the terminal. This HakTip is sponsored by Moogsoft.

READ  Linux Mint 19 Tara | Versión Final | El linux mas hermoso que debes probar

38 thoughts on “How to Compile Source Code: Linux Terminal 201 – HakTip 174

  • July 31, 2018 at 7:54 pm
    Permalink

    Sometimes compiling a source code requires dependencies, which are not there in the os. Upgrading or updating via apt-get update doesn't help too.
    Is there any way to download that particular and include that with the installation file?

    Reply
  • July 31, 2018 at 7:54 pm
    Permalink

    Compiled pidgin for fun . Took lots of googling around got dependencies but finally did it.

    Reply
  • July 31, 2018 at 7:54 pm
    Permalink

    Thanks for the lesson! I've struggled to find such a clear description of this process and the purpose of it.

    Reply
  • July 31, 2018 at 7:54 pm
    Permalink

    You need to use void linux to be more trendy. Ubuntu is so 2009 and Arch linux is so 2016.

    Reply
  • July 31, 2018 at 7:54 pm
    Permalink

    Wow Shannon still wearing a rubber band i watch your old videos to gain some knowledge and i noticed you wearing a rubber band blue and red

    Reply
  • July 31, 2018 at 7:54 pm
    Permalink

    If you are compiling a big program, you can use in the second step a slight modification: make -j [number of cores in your cpu] to speed up the process.

    Reply
  • July 31, 2018 at 7:54 pm
    Permalink

    Whats the chances of making a HakTip for cross compiling openwrt packages for say the Pineapple?

    Reply
  • July 31, 2018 at 7:54 pm
    Permalink

    In my experience, errors during ./configure are related to missing dependencies… At least on my Gentoo box which doesn't happen too often.

    Reply
  • July 31, 2018 at 7:54 pm
    Permalink

    You know, usually I think coloured hair is weird, but I think Snubbs makes it work well.

    Reply
  • July 31, 2018 at 7:54 pm
    Permalink

    i generally like compiling programs but when i follow all the instruction to compile and it gives me an error anyway and will not compile anything it really sucks

    Reply
  • July 31, 2018 at 7:54 pm
    Permalink

    You are a great teacher. I would suggest for you to produce a Udemy or Coursera course about security programming. A linear program and your instructions in a course format will reach many.
    And for hacktip, teach now PowerShell!

    Reply
  • July 31, 2018 at 7:54 pm
    Permalink

    mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release .. && make -j$(nproc) && sudo make install

    Reply
  • July 31, 2018 at 7:54 pm
    Permalink

    Something that's the most difficult to us Linux users even after years of usage. I'm thumbing up before watching.

    Reply
  • July 31, 2018 at 7:54 pm
    Permalink

    Yey! Maybe this will help convincing all those people who complain that Linux is to hard coz you have to compile stuff (sometimes)…

    Reply
  • July 31, 2018 at 7:54 pm
    Permalink

    I already knew how to compile source code but extracting code in Linux is always the thing I forget, I should probably just sit an memorize it instead of having to go and search how to do it every time lol. Thanks for the tip! At least I picked something up from this video 🙂

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Este sitio web utiliza cookies para que usted tenga la mejor experiencia de usuario. Si continúa navegando está dando su consentimiento para la aceptación de las mencionadas cookies y la aceptación de nuestra política de cookies, pinche el enlace para mayor información.plugin cookies

ACEPTAR
Aviso de cookies

Apóyanos con un me gusta