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
My NEW in depth C++ Course is now available at - learn.savvynik.com/
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.
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.
please capitalise G in God
Thank you, my brother, for helping me out. May God bless you!
thank you for taking the time to make this video it was extremely helpful
Np glad you liked it
That was a really clear explanation, thanks!
You're welcome! I'm glad you found this helpful =) make sure to smash that like button for me if you haven't already.
@@SavvyNik I smashed it real hard.
@@b4rt009 Awesome, thanks!! :D
Thank you so much for this video helping out us beginners!
Dhanyavad friend, you have earned a subscriber!
Great and simple. I wish I had watched this first instead of messing with VS Code.
I can't got installed in. do u succeed?
@@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.
You helped a lot, thank you!
You're welcome, glad you liked it!
Hey savvynik, nice video.......
Thanks @Dolphin
I subscribe just now. Thanks man.
Thank you very much ! Great content.
No problem
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.
How about Codium?
Thank you 🙏👍👍
very helpful! thank you!
You're welcome!
Great helped
thank you very much
thanks you, you got my sub
First. I prefer installing packages via synaptic manager
Wooot!! Yeah synaptic is great if you like something graphical =)
@@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
@@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
Great video
great job !
Thanks!! Glad you enjoyed it.
thx it works
I thick you should be vim mostly as Nano 'recording macro..'
haha yes I'm used to vim
@@SavvyNik cos when your fingers like to use vim it's hard to change some other editor
for sure
perfect!
thank you
No problem
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.
You'll need something like this with dnf:
sudo dnf groupinstall "Development Tools" "Development Libraries"
@@SavvyNik Thanks Man it helped.
Thanks
No problem
Hey Nik! Do you know of any tools or programs that can automatically set my programming style / code style for C programming in Linux?
There’s an extension in VSCode called Prettier if your trying to look for an automatic code formatter
@@SavvyNik Thanks for the info
ty so much
No problem
Could you show how to install them onto arch linux? as there is no apt-get command
in arch
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?
I need help on this: why am I holding broken files for g++?
Savvy I haven't seen @kshy in a while
They're around. I think @kshly has just been busy =)
how to using graphic library ???
How to install C++ in suse linux?
3:11 what you pressed here to space out?
The tab key
"I use arch BTW "
3:36 what u pressed here?
He pressed y means "yes"
Hey man.
Errrr.... You need to EXPLAIN what you're doing and WHY.