文書の過去の版を表示しています。


Visual Studio Code on Fedora

$ sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
$ sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo'
$ dnf check-update

Copr repo for PyCharm owned by phracek                                       2.8 kB/s | 3.6 kB     00:01    
Copr repo for PyCharm owned by phracek                                        24 kB/s |  44 kB     00:01    
Fedora 37 - x86_64                                                           5.0 kB/s | 4.8 kB     00:00    
Fedora 37 - x86_64                                                           1.9 MB/s |  82 MB     00:42    
Fedora 37 openh264 (From Cisco) - x86_64                                     346  B/s | 989  B     00:02    
Fedora Modular 37 - x86_64                                                    11 kB/s | 4.8 kB     00:00    
Fedora Modular 37 - x86_64                                                   601 kB/s | 3.8 MB     00:06    
Fedora 37 - x86_64 - Updates                                                  17 kB/s |  34 kB     00:01    
Fedora 37 - x86_64 - Updates                                                 1.0 MB/s | 6.9 MB     00:07    
Fedora Modular 37 - x86_64 - Updates                                         6.9 kB/s | 4.3 kB     00:00    
google-chrome                                                                2.8 kB/s | 1.3 kB     00:00    
google-chrome                                                                3.6 kB/s | 3.5 kB     00:00    
最速のミラーを確定しています (1 hosts).. done.=============================] 1.8 kB/s | 1.3 kB     00:00 ETA
Remi's RPM repository - Fedora 37 - x86_64                                   149  B/s | 833  B     00:05    
done.s RPM repository - Fedora 37 -100% [==================================] 1.0 kB/s | 1.3 kB     00:00 ETA
Remi's RPM repository - Fedora 37 - x86_64                                   303 kB/s | 1.6 MB     00:05    
Remi's Modular repository - Fedora 37 - x86_64                               261  B/s | 833  B     00:03    
Remi's Modular repository - Fedora 37 - x86_64                               142 kB/s | 752 kB     00:05    
RPM Fusion for Fedora 37 - Free - Updates                                    6.3 kB/s | 9.9 kB     00:01    
RPM Fusion for Fedora 37 - Free - Updates                                    124 kB/s | 320 kB     00:02    
RPM Fusion for Fedora 37 - Nonfree - NVIDIA Driver                            12 kB/s |  14 kB     00:01    
RPM Fusion for Fedora 37 - Nonfree - NVIDIA Driver                           7.6 kB/s |  15 kB     00:01    
RPM Fusion for Fedora 37 - Nonfree - Steam                                   7.6 kB/s |  14 kB     00:01    
RPM Fusion for Fedora 37 - Nonfree - Updates                                 6.6 kB/s |  14 kB     00:02    
RPM Fusion for Fedora 37 - Nonfree - Updates                                  38 kB/s |  72 kB     00:01    
Visual Studio Code                                                           1.8 MB/s |  32 MB     00:18    

cifs-utils.x86_64                                         7.0-1.fc37                                  updates
cifs-utils-info.x86_64                                    7.0-1.fc37                                  updates
dbus-broker.x86_64                                        33-1.fc37                                   updates
exiv2.x86_64                                              0.27.6-4.fc37                               updates
exiv2-libs.x86_64                                         0.27.6-4.fc37                               updates
gdcm.x86_64                                               3.0.21-2.fc37                               updates
javascriptcoregtk4.0.x86_64                               2.38.4-1.fc37                               updates
javascriptcoregtk4.1.x86_64                               2.38.4-1.fc37                               updates
javascriptcoregtk5.0.x86_64                               2.38.4-1.fc37                               updates
kernel.x86_64                                             6.1.10-200.fc37                             updates
kernel-core.x86_64                                        6.1.10-200.fc37                             updates
kernel-modules.x86_64                                     6.1.10-200.fc37                             updates
kernel-modules-extra.x86_64                               6.1.10-200.fc37                             updates
libX11.i686                                               1.8.4-1.fc37                                updates
libX11.x86_64                                             1.8.4-1.fc37                                updates
libX11-common.noarch                                      1.8.4-1.fc37                                updates
libX11-xcb.i686                                           1.8.4-1.fc37                                updates
libX11-xcb.x86_64                                         1.8.4-1.fc37                                updates
libffi.i686                                               3.4.4-1.fc37                                updates
libffi.x86_64                                             3.4.4-1.fc37                                updates
libgusb.x86_64                                            0.4.5-1.fc37                                updates
libphonenumber.x86_64                                     8.12.57-6.fc37                              updates
opusfile.x86_64                                           0.12-9.fc37                                 updates
python3-beautifulsoup4.noarch                             4.11.2-1.fc37                               updates
rpmautospec-rpm-macros.noarch                             0.3.2-1.fc37                                updates
tpm2-tss.x86_64                                           3.2.2-1.fc37                                updates
webkit2gtk4.0.x86_64                                      2.38.4-1.fc37                               updates
webkit2gtk4.1.x86_64                                      2.38.4-1.fc37                               updates
webkit2gtk5.0.x86_64                                      2.38.4-1.fc37                               updates

$ sudo dnf install code

Visual Studio Code                                                           2.2 MB/s |  32 MB     00:14    
メタデータの期限切れの最終確認: 0:00:24 時間前の 2023年02月10日 11時41分53秒 に実施しました。
依存関係が解決しました。
=============================================================================================================
 パッケージ          アーキテクチャー      バージョン                              リポジトリー        サイズ
=============================================================================================================
インストール:
 code                x86_64                1.75.1-1675893486.el7                   code                133 M

トランザクションの概要
=============================================================================================================
インストール  1 パッケージ

ダウンロードサイズの合計: 133 M
インストール後のサイズ: 386 M
これでよろしいですか? [y/N]: y
パッケージのダウンロード:
code-1.75.1-1675893486.el7.x86_64.rpm                                        3.1 MB/s | 133 MB     00:42    
-------------------------------------------------------------------------------------------------------------
合計                                                                         3.1 MB/s | 133 MB     00:42     
トランザクションの確認を実行中
トランザクションの確認に成功しました。
トランザクションのテストを実行中
トランザクションのテストに成功しました。
トランザクションを実行中
  準備             :                                                                                     1/1 
  インストール中   : code-1.75.1-1675893486.el7.x86_64                                                   1/1 
  scriptletの実行中: code-1.75.1-1675893486.el7.x86_64                                                   1/1 
  検証             : code-1.75.1-1675893486.el7.x86_64                                                   1/1 

インストール済み:
  code-1.75.1-1675893486.el7.x86_64                                                                          

完了しました!

初回起動時に日本語化を聞いてきます😊
[インストールして再起動]をクリックする。

Cloud Code for VS Code 拡張機能をインストールする  |  Google Cloud
Google Cloud Code - Visual Studio Marketplace
Ctrl + P を押して以下を貼り付けて Enter を押す。

ext install GoogleCloudTools.cloudcode

Firestore Security Rules and Indexes
Ctrl + P を押して以下を貼り付けて Enter を押す。

ext install toba.vsfire
  • linux/visual_studio_code.1676871019.txt.gz
  • 最終更新: 2023/02/20 14:30
  • by ともやん