Super Easy C / C++ Tools Install on Linux - Create and Compile Your First Program with GCC / G++.

Поделиться
HTML-код
  • Опубликовано: 18 окт 2024
  • Super Easy C / C++ Tools Install on Linux which will help you Create and Compile your first C / C++ program today. This is intended for C / C++ beginners who need help setting up C / C++ compiler tools on their Linux distro of choice. (Ubuntu, Debian, Arch, RHEL based). C / C++ is general use programming language and all you need is a few minutes to setup GCC / G++ things setup so you can compile your own programs on Linux today using C / C++ compiler tools.
    Start compiling your very first program by installing GCC / G++ and compiling. This is an easy method to install the tools required to compile C / C++ programs using the native package manager of your Linux Distro whether it be Ubuntu, Debian, Arch, or RHEL based. Look in further below in the description to find the proper package name for your distro. Start Programming in C / C++ today on your Linux system.
    My Linux Cheat Sheet and 25 Page Checklist here:
    📚 learn.savvynik...
    Share this free tool and support Small RUclipsrs
    editbulk.com
    (I made this tool to help creators)
    Useful Links/Commands:
    RHEL/CentOS/Fedora -
    sudo yum groupinstall "Development Tools"
    or
    sudo yum install gcc gcc-c++ make
    Debian/Ubuntu Based -
    sudo apt install build-essential
    Arch Based -
    sudo pacman -Sy base-devel

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

  • @SavvyNik
    @SavvyNik  Год назад +2

    My NEW in depth C++ Course is now available at - learn.savvynik.com/

  • @kenchan123456
    @kenchan123456 3 года назад +15

    As a beginner who needs to work with advanced developer programs with almost no CS education, this channel is an absolute godsend. It's the best, most useful channel on RUclips. I love how so many of the videos directly and succinctly address specific practical hurdles that I need to get over to start programming on my own. Please don't stop making videos, I'm sure there's a ton more people that feel exactly as I do that haven't found this channel yet.

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

      kenchan, this means so much to me! I'm super glad you found the channel and thank you for taking the time and posting these kind remarks. Reading posts like these really makes me happy and want to keep making videos ^^ I'll keep them coming.

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

      please capitalise G in God

  • @festuslangat9290
    @festuslangat9290 Год назад +3

    Thank you, my brother, for helping me out. May God bless you!

  • @lVNMYTRMNL
    @lVNMYTRMNL Год назад +2

    thank you for taking the time to make this video it was extremely helpful

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

      Np glad you liked it

  • @b4rt009
    @b4rt009 3 года назад +3

    That was a really clear explanation, thanks!

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

      You're welcome! I'm glad you found this helpful =) make sure to smash that like button for me if you haven't already.

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

      @@SavvyNik I smashed it real hard.

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

      @@b4rt009 Awesome, thanks!! :D

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

    Thank you so much for this video helping out us beginners!

  • @8rupees718
    @8rupees718 Год назад +1

    Dhanyavad friend, you have earned a subscriber!

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

    Great and simple. I wish I had watched this first instead of messing with VS Code.

    • @justinsm
      @justinsm 7 месяцев назад +1

      I can't got installed in. do u succeed?

    • @phaedrus2633
      @phaedrus2633 7 месяцев назад

      @@justinsm Yes, build-essential is an aptitude package. It installed very easily. Make sure you use sudo qpt install build-essential, not essentials. To see if you already have it, dpkg --list.

  • @Hero-wd9vn
    @Hero-wd9vn 3 года назад +2

    You helped a lot, thank you!

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

      You're welcome, glad you liked it!

  • @EssenceBeats.
    @EssenceBeats. 4 года назад +2

    Hey savvynik, nice video.......

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

    I subscribe just now. Thanks man.

  • @sardorbekyorqulov
    @sardorbekyorqulov Год назад +1

    Thank you very much ! Great content.

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

    Cool. How about a modern, usable IDE though? Something with lookup, autocomplete, syntax checking, etc. You know, everything a professional would need to be competitive by increasing productivity.

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

      How about Codium?

  • @DopiAja
    @DopiAja Год назад +1

    Thank you 🙏👍👍

  • @stangblade
    @stangblade 2 года назад +1

    very helpful! thank you!

  • @saqibuzair7670
    @saqibuzair7670 Год назад +1

    Great helped

  • @godofkings4366
    @godofkings4366 Год назад +1

    thank you very much

  • @techvishnuyt
    @techvishnuyt Год назад +1

    thanks you, you got my sub

  • @Dexter101x
    @Dexter101x 4 года назад +1

    First. I prefer installing packages via synaptic manager

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

      Wooot!! Yeah synaptic is great if you like something graphical =)

    • @Dexter101x
      @Dexter101x 4 года назад +1

      @@SavvyNik It's just too complicated to install via the terminal. I don't mind, but it's sudo this, sudo that....I know I can use the sudo su to stop using too much sudos, but you get what I am saying

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

      @@Dexter101x yeah of course. To each their own. I love doing stuff the graphical way as well in most cases, but sometimes the CLI can be very powerful. This is one of those cases. One command installs all the tools you would need to setup a entire environment for compiling C++ programs on. I think that's pretty cool haha

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

    Great video

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

    great job !

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

      Thanks!! Glad you enjoyed it.

  • @VincentNino-ch2ec
    @VincentNino-ch2ec 5 месяцев назад

    thx it works

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

    I thick you should be vim mostly as Nano 'recording macro..'

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

      haha yes I'm used to vim

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

      @@SavvyNik cos when your fingers like to use vim it's hard to change some other editor

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

      for sure

  • @congtuaatoiongianla5753
    @congtuaatoiongianla5753 Год назад +1

    perfect!

  • @ThanhDark1909
    @ThanhDark1909 Год назад +1

    thank you

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

    This "sudo apt install build-essential " command isn't working on Fedora. I have also tried "sudo dnf install build-essential" but didn't work.

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

      You'll need something like this with dnf:
      sudo dnf groupinstall "Development Tools" "Development Libraries"

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

      @@SavvyNik Thanks Man it helped.

  • @qwertyman506
    @qwertyman506 Год назад +1

    Thanks

  • @glendubie
    @glendubie Год назад +1

    Hey Nik! Do you know of any tools or programs that can automatically set my programming style / code style for C programming in Linux?

    • @SavvyNik
      @SavvyNik  Год назад +1

      There’s an extension in VSCode called Prettier if your trying to look for an automatic code formatter

    • @glendubie
      @glendubie Год назад +1

      @@SavvyNik Thanks for the info

  • @_torphi_
    @_torphi_ Год назад +1

    ty so much

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

    Could you show how to install them onto arch linux? as there is no apt-get command
    in arch

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

    I am using parrot os and all things are up-to-date then also I can't able to execute my c++ program. How to fix it?

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

    I need help on this: why am I holding broken files for g++?

  • @stricarzi
    @stricarzi 4 года назад +1

    Savvy I haven't seen @kshy in a while

    • @SavvyNik
      @SavvyNik  4 года назад +1

      They're around. I think @kshly has just been busy =)

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

    how to using graphic library ???

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

    How to install C++ in suse linux?

  • @toska-t6z
    @toska-t6z 11 месяцев назад

    3:11 what you pressed here to space out?

  • @yobthefirst3071
    @yobthefirst3071 7 месяцев назад +1

    "I use arch BTW "

  • @aditi_5-9
    @aditi_5-9 Год назад

    3:36 what u pressed here?

  • @HousseinDroubi-o9i
    @HousseinDroubi-o9i 3 месяца назад

    Hey man.

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

    Errrr.... You need to EXPLAIN what you're doing and WHY.