ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก

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

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ต.ค. 2020
  • 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 TH-camrs
    editbulk.com
    (I made this tool to help creators)
    Want more info/content?
    savvynik.com
    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

ความคิดเห็น • 79

  • @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 TH-cam. 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 ปีที่แล้ว

      please capitalise G in God

  • @iloveme792
    @iloveme792 3 ปีที่แล้ว +7

    Awesome, brother!
    You own my subscription, hope to see more content like this. ❤

    • @SavvyNik
      @SavvyNik  3 ปีที่แล้ว +1

      Glad to have you following =)

  • @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

  • @rigbymama8436
    @rigbymama8436 6 หลายเดือนก่อน

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

  • @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

  • @8rupees718
    @8rupees718 ปีที่แล้ว +1

    Dhanyavad friend, you have earned a subscriber!

  • @phaedrus2633
    @phaedrus2633 6 หลายเดือนก่อน

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

    • @justinsm
      @justinsm 5 หลายเดือนก่อน +1

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

    • @phaedrus2633
      @phaedrus2633 5 หลายเดือนก่อน

      @@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.

  • @EssenceBeats.
    @EssenceBeats. 3 ปีที่แล้ว +3

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

    • @SavvyNik
      @SavvyNik  3 ปีที่แล้ว

      Thanks @Dolphin

  • @ragibshahariar3169
    @ragibshahariar3169 2 หลายเดือนก่อน

    I subscribe just now. Thanks man.

  • @Hero-wd9vn
    @Hero-wd9vn 2 ปีที่แล้ว +2

    You helped a lot, thank you!

    • @SavvyNik
      @SavvyNik  2 ปีที่แล้ว

      You're welcome, glad you liked it!

  • @fastlearner292
    @fastlearner292 หลายเดือนก่อน

    Great video

  • @sardorbekyorqulov
    @sardorbekyorqulov ปีที่แล้ว +1

    Thank you very much ! Great content.

    • @SavvyNik
      @SavvyNik  ปีที่แล้ว

      No problem

  • @VeritasEtAequitas
    @VeritasEtAequitas 7 หลายเดือนก่อน

    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  7 หลายเดือนก่อน

      How about Codium?

  • @DopiAja
    @DopiAja ปีที่แล้ว +1

    Thank you 🙏👍👍

  • @stangblade
    @stangblade 2 ปีที่แล้ว +1

    very helpful! thank you!

    • @SavvyNik
      @SavvyNik  2 ปีที่แล้ว

      You're welcome!

  • @saqibuzair7670
    @saqibuzair7670 ปีที่แล้ว +1

    Great helped

  • @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.

  • @godofkings4366
    @godofkings4366 ปีที่แล้ว +1

    thank you very much

  • @techvishnuyt
    @techvishnuyt ปีที่แล้ว +1

    thanks you, you got my sub

  • @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?

  • @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

  • @VincentNino-ch2ec
    @VincentNino-ch2ec 2 หลายเดือนก่อน

    thx it works

  • @Dexter101x
    @Dexter101x 3 ปีที่แล้ว +1

    First. I prefer installing packages via synaptic manager

    • @SavvyNik
      @SavvyNik  3 ปีที่แล้ว +1

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

    • @Dexter101x
      @Dexter101x 3 ปีที่แล้ว +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  3 ปีที่แล้ว

      @@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

  • @congtuaatoiongianla5753
    @congtuaatoiongianla5753 ปีที่แล้ว +1

    perfect!

  • @nicolasandrade7794
    @nicolasandrade7794 2 ปีที่แล้ว

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

  • @sakalansnow6579
    @sakalansnow6579 3 ปีที่แล้ว +1

    great job !

    • @SavvyNik
      @SavvyNik  3 ปีที่แล้ว

      Thanks!! Glad you enjoyed it.

  • @ebt5509
    @ebt5509 2 ปีที่แล้ว

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

  • @_torphi_
    @_torphi_ ปีที่แล้ว +1

    ty so much

    • @SavvyNik
      @SavvyNik  ปีที่แล้ว

      No problem

  • @ThanhDark1909
    @ThanhDark1909 ปีที่แล้ว +1

    thank you

    • @SavvyNik
      @SavvyNik  ปีที่แล้ว

      No problem

  • @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

  • @qwertyman506
    @qwertyman506 ปีที่แล้ว +1

    Thanks

    • @SavvyNik
      @SavvyNik  ปีที่แล้ว

      No problem

  • @raomuhammadmehmood1139
    @raomuhammadmehmood1139 ปีที่แล้ว

    how to using graphic library ???

  • @arkadeepsinha8448
    @arkadeepsinha8448 ปีที่แล้ว

    How to install C++ in suse linux?

  • @stricarzi
    @stricarzi 3 ปีที่แล้ว +1

    Savvy I haven't seen @kshy in a while

    • @SavvyNik
      @SavvyNik  3 ปีที่แล้ว +1

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

  • @user-kh6rp6yx1j
    @user-kh6rp6yx1j หลายเดือนก่อน

    Hey man.

  • @user-uf1zq1kb9r
    @user-uf1zq1kb9r 9 หลายเดือนก่อน

    3:11 what you pressed here to space out?

    • @jotacefalo
      @jotacefalo 9 วันที่ผ่านมา

      The tab key

  • @aditityagivats_
    @aditityagivats_ 11 หลายเดือนก่อน

    3:36 what u pressed here?

    • @ShivaKomakula
      @ShivaKomakula 7 หลายเดือนก่อน

      He pressed y means "yes"

  • @yobthefirst3071
    @yobthefirst3071 5 หลายเดือนก่อน

    "I use arch BTW "

  • @forandonbehalfof4753
    @forandonbehalfof4753 3 ปีที่แล้ว +2

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