Skip to content

Commit 4dfb2a3

Browse files
authored
Fixes to walkthrough MD files (#10799)
1 parent cc11b68 commit 4dfb2a3

File tree

5 files changed

+5
-48
lines changed

5 files changed

+5
-48
lines changed

Extension/walkthrough/installcompiler/install-clang-macos-short.md

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<h1 data-loc-id="walkthough.mac.install.compiler">Install a C++ compiler on macOS</h1>
22
<p data-loc-id="walkthough.mac.text1">If you&#39;re doing C++ development for macOS, we recommend installing the Clang compiler. All you need to do is run the following command in a Terminal window(Ctrl+Shift+ `) to install the command line developer tools:</p>
3-
<pre><code class="lang-bash">xcode-<span class="hljs-keyword">select</span> <span class="hljs-comment">--install</span>
4-
</code></pre>
3+
<pre><code class="lang-bash">xcode-select --install</code></pre>
54
<p data-loc-id="walkthough.mac.text2">Then, to verify that clang is installed, run the following command in a Terminal window. You should see a message with information about the version of Clang you&#39;re using.</p>
6-
<pre><code class="lang-bash">clang <span class="hljs-comment">--version</span>
7-
</code></pre>
5+
<pre><code class="lang-bash">clang --version</code></pre>

Extension/walkthrough/installcompiler/install-compiler-windows-short.md

Lines changed: 0 additions & 22 deletions
This file was deleted.

Extension/walkthrough/installcompiler/install-gcc-linux-short.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

Extension/walkthrough/installcompiler/install-gcc-linux.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,13 @@
22
<p data-loc-id="walkthrough.linux.text1">If you&#39;re doing C++ development for Linux, we recommend installing the GCC compiler. Installing GCC is simple, just follow these three steps:</p>
33
<ol>
44
<li><p data-loc-id="walkthrough.linux.text2">Run the following command from the terminal window to update the Ubuntu package lists. An out-of-date Linux distribution can sometimes interfere with attempts to install new packages.</p>
5-
<pre><code class="lang-bash"> sudo apt-<span class="hljs-built_in">get</span> <span class="hljs-keyword">update</span>
6-
</code></pre>
5+
<pre><code class="lang-bash">sudo apt update</code></pre>
76
</li>
87
<li><p data-loc-id="walkthrough.linux.text3">Install the GNU compiler tools and the GDB debugger with this command:</p>
9-
<pre><code class="lang-bash"> sudo apt-<span class="hljs-meta">get</span> install <span class="hljs-keyword">build-essential </span>gdb
8+
<pre><code class="lang-bash">sudo apt install build-essential gdb
109
</code></pre>
1110
</li>
1211
<li><p data-loc-id="walkthrough.linux.text4">Verify GCC is installed by running the following command. You should see a copyright message and information about the version of GCC you&#39;re using.</p>
13-
<pre><code class="lang-bash"> gcc <span class="hljs-comment">--version</span>
14-
</code></pre>
12+
<pre><code class="lang-bash">gcc --version</code></pre>
1513
</li>
1614
</ol>

0 commit comments

Comments
 (0)