上一篇介紹了 [Windows 10] Installing GCC on Windows 10 Professional in 2022 Made Easy 安裝方式。

 

本篇介紹如何在 Windows 10Windows 11 移除 MinGW

 

1. 開啟 MinGW Installation Manager,將清單內所有已勾選的項目設為 Mark for Removal

 

2. 點選 InstallationApply Changes

 

3. 點選 Apply

 

4. 刪除中...。

 

5. 輸入 gccg++ --version 以及 gcc --version。 測試指令是否還可用?

Microsoft Windows [Version 10.0.19043.928]
(c) 2019 Microsoft Corporation. All rights reserved.

C:\Users\mitblog>gcc
'gcc' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\mitblog>g++ --version
'g++' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\mitblog>gcc --version
'gcc' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\mitblog>

 

6. 最後,將設定的系統環境變數的參數 C:\MinGW\bin 路徑和 CMinGW 資料夾刪除。

文章標籤
全站熱搜
創作者介紹
創作者 mitblog 的頭像
mitblog

香腸炒章魚

mitblog 發表在 痞客邦 留言(0) 人氣(988)