0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

UbuntuでC言語の環境を整える

Last updated at Posted at 2022-11-10

はじめに

UbuntuでC言語が使える環境を整える方法を記載していきます。

C言語用コンパイラの確認

まず、C言語用のコンパイラが入っているか確認します。

'''gcc --version'''

入っていると以下のコマンドが出てきます。
Screenshot from 2022-10-26 13-58-41.png

C言語を使うにはbuild-essentialというプログラムを実行するために必要なツールを入れます。

以下のコマンドでインストールします。

'''sudo apt install build-essential'''

これでできればC言語が使えるようになります。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?