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?

RedHat系LinuxにVSCodeをインストールする

0
Posted at

概要

LinuxでVSCodeを使用したく手順を調べましたので備忘として残します。

Rocky Linux 9.7 で検証した手順です。
RedHat系ver8以上であればそのまま流用できるかと思いますので参考にされてください。

手順

# 依存パッケージの導入(推奨)
sudo dnf install -y curl gpg gcc-c++ make libsecret-devel
# Microsoft の GPG キーを登録
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
# VSCode 用リポジトリファイルの作成
sudo nano /etc/yum.repos.d/vscode.repo
/etc/yum.repos.d/vscode.repo
[code]
name=VS Code
baseurl=https://packages.microsoft.com/yumrepos/vscode
enabled=1
gpgcheck=1
gpgkey=https://packages.microsoft.com/keys/microsoft.asc
# VSCode のインストール
sudo dnf install -y code
# 起動確認
code

インストール後の起動画面
image.png

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?