Skip to content

Commit b05cff7

Browse files
Yajushi SrivastavaColin Robertson
authored andcommitted
Setup Addition for Fedora distribution (MicrosoftDocs#462)
* Setup Addition for Fedora distribution Specified Ubuntu setup in Linux setup Updated the wrong numbering for Linux setup: Ubuntu Added setup instructions for Fedora distribution. * Update download-install-and-setup-the-linux-development-workload.md Made an edit pass.
1 parent a6a9584 commit b05cff7

File tree

1 file changed

+21
-4
lines changed

1 file changed

+21
-4
lines changed

docs/linux/download-install-and-setup-the-linux-development-workload.md

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Install the C++ Linux workload in Visual Studio | Microsoft Docs"
33
description: "Describes how to download, install, and setup the Linux workload for C++ in Visual Studio."
44
ms.custom: ""
5-
ms.date: "09/12/2018"
5+
ms.date: "10/12/2018"
66
ms.technology: ["cpp-linux"]
77
ms.tgt_pltfrm: "Linux"
88
ms.topic: "conceptual"
@@ -33,18 +33,35 @@ If you don't already have a Linux machine, you can create a Linux Virtual Machin
3333

3434
Another option, on Windows 10, is to activate the Windows Subsystem for Linux. For more information, see [Windows 10 Installation Guide](/windows/wsl/install-win10).
3535

36-
## Linux setup
36+
## Linux setup: Ubuntu
3737

3838
The target Linux computer must have **openssh-server**, **g++**, **gdb**, and **gdbserver** installed, and the ssh daemon must be running. **zip** is required for automatic syncing of remote headers with your local machine for Intellisense support. If these applications are not already present, you can install them as follows:
3939

4040
1. At a shell prompt on your Linux computer, run:
4141

4242
`sudo apt-get install openssh-server g++ gdb gdbserver zip`
4343

44-
You may be prompted for your root password due to the sudo command. If so, enter it and continue. Once complete, these services and tools will be installed.
44+
You may be prompted for your root password due to the sudo command. If so, enter it and continue. Once complete, the required services and tools are installed.
4545

4646
1. Ensure the ssh service is running on your Linux computer by running:
4747

4848
`sudo service ssh start`
4949

50-
This will start the service and run it in the background, ready to accept connections.
50+
This starts the service and runs it in the background, ready to accept connections.
51+
52+
## Linux setup: Fedora
53+
54+
The target machine running Fedora uses the **dnf** package installer. To download **openssh-server**, **g++**, **gdb**, **gdbserver** and **zip**, and restart the ssh daemon, follow these instructions:
55+
56+
1. At a shell prompt on your Linux computer, run:
57+
58+
`sudo dnf install openssh-server g++ gdb gdbserver zip`
59+
60+
You may be prompted for your root password due to the sudo command. If so, enter it and continue. Once complete, the required services and tools are installed.
61+
62+
1. Ensure the ssh service is running on your Linux computer by running:
63+
64+
`sudo systemctl start sshd`
65+
66+
This starts the service and runs it in the background, ready to accept connections.
67+

0 commit comments

Comments
 (0)