Your Question: How Do I Compile a Program in Ubuntu?
Contents How Do I Compile and Run a Program in Ubuntu? to Open the Terminal, You Can Use the Ubuntu Dash or the Ctrl+Alt+T Shortcut. Step 1: Install the...
Contents
How do I compile and run a program in Ubuntu?
To open the Terminal, you can use the Ubuntu Dash or the Ctrl+Alt+T shortcut.
- Step 1: Install the build-essential packages. …
- Step 2: Write a simple C program. …
- Step 3: Compile the C program with gcc Compiler. …
- Step 4: Run the program.
Must Read
How do I run a program in Ubuntu?
GUI
- Find the . run file in the File Browser.
- Right-click the file and select Properties.
- Under the Permissions tab, make sure that Allow executing file as program is ticked and press Close.
- Double-click the . run file to open it. …
- Press Run in Terminal to run the installer.
- A Terminal window will open.
18 апр. 2014 г.