|
2 | 2 | title: "Install the C++ Linux workload in Visual Studio | Microsoft Docs"
|
3 | 3 | description: "Describes how to download, install, and setup the Linux workload for C++ in Visual Studio."
|
4 | 4 | ms.custom: ""
|
5 |
| -ms.date: "09/12/2018" |
| 5 | +ms.date: "10/12/2018" |
6 | 6 | ms.technology: ["cpp-linux"]
|
7 | 7 | ms.tgt_pltfrm: "Linux"
|
8 | 8 | ms.topic: "conceptual"
|
@@ -33,18 +33,35 @@ If you don't already have a Linux machine, you can create a Linux Virtual Machin
|
33 | 33 |
|
34 | 34 | 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).
|
35 | 35 |
|
36 |
| -## Linux setup |
| 36 | +## Linux setup: Ubuntu |
37 | 37 |
|
38 | 38 | 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:
|
39 | 39 |
|
40 | 40 | 1. At a shell prompt on your Linux computer, run:
|
41 | 41 |
|
42 | 42 | `sudo apt-get install openssh-server g++ gdb gdbserver zip`
|
43 | 43 |
|
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. |
45 | 45 |
|
46 | 46 | 1. Ensure the ssh service is running on your Linux computer by running:
|
47 | 47 |
|
48 | 48 | `sudo service ssh start`
|
49 | 49 |
|
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