Repo of my linux trainings and knowledge
To compile the C programs, please follow the instructions below:-
- Open the terminal in the directory we save the file
cd /home/user/linux_stuff/message_queue/ - Update the package lists for upgrades
sudo apt update - Install GCC
sudo apt install gcc - After installing the GCC compiler, we can use it to compile the code
gcc -o <executable_filename> <c_program_filename> - A executable file should be present in the directory and can execute the program
./<executable_filename>