Skip to content

Commit b51ba1b

Browse files
Merge pull request #4000 from syncfusion-content/Revamp_PPT_Conversion
1043515-Revamp User Guide Documentation in PowerPoint presentation to Image and Markdown Conversions
2 parents 499ba3a + b0e282c commit b51ba1b

33 files changed

Lines changed: 481 additions & 516 deletions

File tree

Document-Processing/PowerPoint/Conversions/PowerPoint-To-Image/NET/Assembly-Required-for-PPTXtoImage-Conversion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ N> 2. Starting with the v27.1.x, if you reference "Syncfusion.PresentationRender
100100

101101
## Converting Charts
102102

103-
The following assemblies are required to be referred in addition to the above mentioned assemblies for converting the chart present in the PowerPoint Presentation into image.
103+
The following assemblies are required in addition to the above-mentioned assemblies to convert the chart present in the PowerPoint Presentation to an image.
104104
<table>
105105
<tr>
106106
<thead>

Document-Processing/PowerPoint/Conversions/PowerPoint-To-Image/NET/Convert-PowerPoint-to-Image-in-ASP-NET-Core-Web-API.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ N> Ensure your ASP.NET Core Web API is running on the specified port before runn
113113

114114
Step 2: Add the below code snippet in the **Program.cs** file for accessing the Web API using HTTP requests.
115115

116-
This method sends a GET request to the Web API endpoint to retrieve and save the converted Image.
116+
This method sends a GET request to the Web API endpoint to retrieve and save the converted image.
117117

118118
{% tabs %}
119119

@@ -129,7 +129,7 @@ using (HttpClient client = new HttpClient())
129129
// Check if the response is successful
130130
if (response.IsSuccessStatusCode)
131131
{
132-
//Read the content as a string.
132+
//Read the content as a stream.
133133
Stream responseBody = await response.Content.ReadAsStreamAsync();
134134
FileStream fileStream = File.Create("../../../Output/Output.jpeg");
135135
responseBody.CopyTo(fileStream);

Document-Processing/PowerPoint/Conversions/PowerPoint-To-Image/NET/Convert-PowerPoint-to-Image-in-ASP-NET-Core.md

Lines changed: 33 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -69,22 +69,18 @@ Step 6: Add a new action method **ConvertPPTXtoImage** in HomeController.cs and
6969
{% tabs %}
7070
{% highlight c# tabtitle="C#" %}
7171

72-
//Open the file as Stream.
73-
using (FileStream fileStream = new FileStream(Data/Input.pptx", FileMode.Open, FileAccess.Read))
72+
//Open an existing PowerPoint presentation.
73+
using (IPresentation pptxDoc = Presentation.Open("Data/Input.pptx"))
7474
{
75-
//Open the existing PowerPoint presentation.
76-
using (IPresentation pptxDoc = Presentation.Open(fileStream))
77-
{
78-
//Initialize the PresentationRenderer to perform image conversion.
79-
pptxDoc.PresentationRenderer = new PresentationRenderer();
80-
//Convert PowerPoint slide to image as stream.
81-
Stream stream = pptxDoc.Slides[0].ConvertToImage(ExportImageFormat.Jpeg);
82-
//Reset the stream position.
83-
stream.Position = 0;
84-
//Download image in the browser.
85-
return File(stream, "application/jpeg", "PPTXtoImage.Jpeg");
86-
}
87-
}
75+
//Initialize the PresentationRenderer to perform image conversion.
76+
pptxDoc.PresentationRenderer = new PresentationRenderer();
77+
//Convert PowerPoint slide to image as stream.
78+
Stream stream = pptxDoc.Slides[0].ConvertToImage(ExportImageFormat.Jpeg);
79+
//Reset the stream position.
80+
stream.Position = 0;
81+
//Download image in the browser.
82+
return File(stream, "application/jpeg", "PPTXtoImage.Jpeg");
83+
}
8884

8985
{% endhighlight %}
9086
{% endtabs %}
@@ -168,22 +164,18 @@ Step 6: Add a new action method **ConvertPPTXtoImage** in HomeController.cs and
168164
{% tabs %}
169165
{% highlight c# tabtitle="C#" %}
170166

171-
//Open the file as Stream.
172-
using (FileStream fileStream = new FileStream(Data/Input.pptx", FileMode.Open, FileAccess.Read))
167+
//Open an existing PowerPoint presentation.
168+
using (IPresentation pptxDoc = Presentation.Open("Data/Input.pptx"))
173169
{
174-
//Open the existing PowerPoint presentation.
175-
using (IPresentation pptxDoc = Presentation.Open(fileStream))
176-
{
177-
//Initialize the PresentationRenderer to perform image conversion.
178-
pptxDoc.PresentationRenderer = new PresentationRenderer();
179-
//Convert PowerPoint slide to image as stream.
180-
Stream stream = pptxDoc.Slides[0].ConvertToImage(ExportImageFormat.Jpeg);
181-
//Reset the stream position.
182-
stream.Position = 0;
183-
//Download image in the browser.
184-
return File(stream, "application/jpeg", "PPTXtoImage.Jpeg");
185-
}
186-
}
170+
//Initialize the PresentationRenderer to perform image conversion.
171+
pptxDoc.PresentationRenderer = new PresentationRenderer();
172+
//Convert PowerPoint slide to image as stream.
173+
Stream stream = pptxDoc.Slides[0].ConvertToImage(ExportImageFormat.Jpeg);
174+
//Reset the stream position.
175+
stream.Position = 0;
176+
//Download image in the browser.
177+
return File(stream, "application/jpeg", "PPTXtoImage.Jpeg");
178+
}
187179

188180
{% endhighlight %}
189181
{% endtabs %}
@@ -283,22 +275,18 @@ Step 6: Add a new action method **ConvertPPTXtoImage** in HomeController.cs and
283275
{% tabs %}
284276
{% highlight c# tabtitle="C#" %}
285277

286-
//Open the file as Stream.
287-
using (FileStream fileStream = new FileStream(Data/Input.pptx", FileMode.Open, FileAccess.Read))
278+
//Open an existing PowerPoint presentation.
279+
using (IPresentation pptxDoc = Presentation.Open("Data/Input.pptx"))
288280
{
289-
//Open the existing PowerPoint presentation.
290-
using (IPresentation pptxDoc = Presentation.Open(fileStream))
291-
{
292-
//Initialize the PresentationRenderer to perform image conversion.
293-
pptxDoc.PresentationRenderer = new PresentationRenderer();
294-
//Convert PowerPoint slide to image as stream.
295-
Stream stream = pptxDoc.Slides[0].ConvertToImage(ExportImageFormat.Jpeg);
296-
//Reset the stream position.
297-
stream.Position = 0;
298-
//Download image in the browser.
299-
return File(stream, "application/jpeg", "PPTXtoImage.Jpeg");
300-
}
301-
}
281+
//Initialize the PresentationRenderer to perform image conversion.
282+
pptxDoc.PresentationRenderer = new PresentationRenderer();
283+
//Convert PowerPoint slide to image as stream.
284+
Stream stream = pptxDoc.Slides[0].ConvertToImage(ExportImageFormat.Jpeg);
285+
//Reset the stream position.
286+
stream.Position = 0;
287+
//Download image in the browser.
288+
return File(stream, "application/jpeg", "PPTXtoImage.Jpeg");
289+
}
302290

303291
{% endhighlight %}
304292
{% endtabs %}

Document-Processing/PowerPoint/Conversions/PowerPoint-To-Image/NET/Convert-PowerPoint-to-Image-in-ASP-NET-MVC.md

Lines changed: 16 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Syncfusion<sup>&reg;</sup> PowerPoint is a [.NET PowerPoint library](https://www
1919
**Prerequisites:**
2020

2121
* Visual Studio 2022.
22-
* Install **.NET desktop development** workload with necessary .NET Framework SDK.
22+
* Install **ASP.NET and web development** workload with the required .NET Framework SDK.
2323

2424
Step 1: Create a new C# ASP.NET MVC application project.
2525

@@ -72,19 +72,13 @@ Step 7: Add the below code snippet in **HomeController.cs** to **convert a Power
7272

7373
public void ConvertPPTXtoImage()
7474
{
75-
//Open the file as Stream.
76-
using (FileStream pathStream = new FileStream(Server.MapPath("~/App_Data/Input.pptx"), FileMode.Open, FileAccess.Read))
75+
//Opens a PowerPoint Presentation.
76+
using (IPresentation pptxDoc = Presentation.Open(Server.MapPath("~/App_Data/Input.pptx")))
7777
{
78-
//Opens a PowerPoint Presentation.
79-
using (IPresentation pptxDoc = Presentation.Open(pathStream))
80-
{
81-
//Convert the first slide into image.
82-
Image image = pptxDoc.Slides[0].ConvertToImage(Syncfusion.Drawing.ImageType.Metafile);
83-
//Saves the image file to MemoryStream.
84-
MemoryStream stream = new MemoryStream();
85-
//Download image file in the browser.
86-
ExportAsImage(image, "PPTXToImage.Jpeg", ImageFormat.Jpeg, HttpContext.ApplicationInstance.Response);
87-
}
78+
//Convert the first slide into image.
79+
Image image = pptxDoc.Slides[0].ConvertToImage(Syncfusion.Drawing.ImageType.Metafile);
80+
//Download image file in the browser.
81+
ExportAsImage(image, "PPTXToImage.Jpeg", ImageFormat.Jpeg, HttpContext.ApplicationInstance.Response);
8882
}
8983
}
9084
//To download the image file.
@@ -125,7 +119,7 @@ By executing the program, you will get the **image** as follows.
125119
* JetBrains Rider.
126120
* Install .NET Framework Developer Pack.
127121

128-
Step 1. Open JetBrains Rider and create a new ASP.NET MVC web application project.
122+
Step 1: Open JetBrains Rider and create a new ASP.NET MVC web application project.
129123
* Launch JetBrains Rider.
130124
* Click **New Solution** on the welcome screen.
131125

@@ -135,7 +129,7 @@ Step 1. Open JetBrains Rider and create a new ASP.NET MVC web application projec
135129
* Enter a project name and specify the location.
136130
* Select the target framework as Full Framework and choose the desired version.
137131
* Select **Template** as **Web App**.
138-
* Click create.
132+
* Click **Create**.
139133

140134
![Creating a new ASP.NET MVC web application in JetBrains Rider](Workingwith-MVC/Create-MVC-sample.png)
141135

@@ -151,7 +145,7 @@ Step 2: Install the NuGet package from [NuGet.org](https://www.nuget.org/).
151145

152146
![Install the Syncfusion.PresentationToPdfConverter.AspNet.Mvc5 NuGet package](Workingwith-MVC/Install-Syncfusion.PresentationToPdfConverter.AspNet.Mvc5-NuGet.png)
153147

154-
N> Starting with v16.2.0.x, if you reference Syncfusion assemblies from trial setup or from the NuGet feed, you also have to add "Syncfusion.Licensing" assembly reference and include a license key in your projects. Please refer to this [link](https://help.syncfusion.com/common/essential-studio/licensing/overview) to know about registering Syncfusion license key in your application to use our components.
148+
N> Starting with v16.2.0.x, if you reference Syncfusion<sup>&reg;</sup> assemblies from trial setup or from the NuGet feed, you also have to add "Syncfusion.Licensing" assembly reference and include a license key in your projects. Please refer to this [link](https://help.syncfusion.com/common/essential-studio/licensing/overview) to know about registering Syncfusion<sup>&reg;</sup> license key in your application to use our components.
155149

156150
Step 3: Include the following namespace in that **HomeController.cs** file.
157151

@@ -190,19 +184,13 @@ Step 6: Add the below code snippet in **HomeController.cs** to **convert a Power
190184

191185
public void ConvertPPTXtoImage()
192186
{
193-
//Open the file as Stream.
194-
using (FileStream pathStream = new FileStream(Server.MapPath("~/App_Data/Input.pptx"), FileMode.Open, FileAccess.Read))
187+
//Opens a PowerPoint Presentation.
188+
using (IPresentation pptxDoc = Presentation.Open(Server.MapPath("~/App_Data/Input.pptx")))
195189
{
196-
//Opens a PowerPoint Presentation.
197-
using (IPresentation pptxDoc = Presentation.Open(pathStream))
198-
{
199-
//Convert the first slide into image.
200-
Image image = pptxDoc.Slides[0].ConvertToImage(Syncfusion.Drawing.ImageType.Metafile);
201-
//Saves the image file to MemoryStream.
202-
MemoryStream stream = new MemoryStream();
203-
//Download image file in the browser.
204-
ExportAsImage(image, "PPTXToImage.Jpeg", ImageFormat.Jpeg, HttpContext.ApplicationInstance.Response);
205-
}
190+
//Convert the first slide into image.
191+
Image image = pptxDoc.Slides[0].ConvertToImage(Syncfusion.Drawing.ImageType.Metafile);
192+
//Download image file in the browser.
193+
ExportAsImage(image, "PPTXToImage.Jpeg", ImageFormat.Jpeg, HttpContext.ApplicationInstance.Response);
206194
}
207195
}
208196
//To download the image file.

Document-Processing/PowerPoint/Conversions/PowerPoint-To-Image/NET/Convert-PowerPoint-to-Image-in-AWS-Elastic-Beanstalk.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ Step 1: Create a new ASP.NET Core Web application (Model-View-Controller) projec
1616

1717
![Create ASP.NET Core Web application in Visual Studio](Azure-Images/App-Service-Linux/Create-PowerPoint-Presentation-to-PDF.png)
1818

19-
Step 2: Install the following **Nuget packages** in your application from [Nuget.org](https://www.nuget.org/).
19+
Step 2: Install the following **NuGet Packages** in your application from [Nuget.org](https://www.nuget.org/).
2020

2121
* [Syncfusion.PresentationRenderer.Net.Core](https://www.nuget.org/packages/Syncfusion.PresentationRenderer.Net.Core)
2222
* [SkiaSharp.NativeAssets.Linux.NoDependencies v3.119.1](https://www.nuget.org/packages/SkiaSharp.NativeAssets.Linux.NoDependencies/3.119.1)
2323

24-
![Install Syncfusion.PresentationRenderer.Net.Core Nuget Package](Azure-Images/App-Service-Linux/Nuget_Package_PowerPoint_Presentation_to_PDF.png)
24+
![Install Syncfusion.PresentationRenderer.Net.Core NuGet Package](Azure-Images/App-Service-Linux/Nuget_Package_PowerPoint_Presentation_to_PDF.png)
2525
![Install SkiaSharp.NativeAssets.Linux.NoDependencies v3.119.1 NuGet Paackage](AWS_images/Elastic_Beanstalk_Images/Nuget-Package-PPTXtoPDF.png)
2626

2727
N> Starting with v16.2.0.x, if you reference Syncfusion<sup>&reg;</sup> assemblies from trial setup or from the NuGet feed, you also have to add "Syncfusion.Licensing" assembly reference and include a license key in your projects. Please refer to this [link](https://help.syncfusion.com/common/essential-studio/licensing/overview) to know about registering Syncfusion<sup>&reg;</sup> license key in your application to use our components.
@@ -31,6 +31,8 @@ Step 3: Include the following namespaces in the **HomeController.cs** file.
3131
{% tabs %}
3232
{% highlight c# tabtitle="C#" %}
3333

34+
using System.IO;
35+
using Microsoft.AspNetCore.Mvc;
3436
using Syncfusion.Presentation;
3537
using Syncfusion.PresentationRenderer;
3638

Document-Processing/PowerPoint/Conversions/PowerPoint-To-Image/NET/Convert-PowerPoint-to-Image-in-AWS-Lambda.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ Step 1: Create a new **AWS Lambda project** as follows.
1818
Step 2: Select Blueprint as Empty Function and click **Finish**.
1919
![Select Blueprint as Empty Function](AWS_Images/Lambda_Images/Blueprint-AWS-PowerPoint-Presentation-to-PDF.png)
2020

21-
Step 3: Install the following **Nuget packages** in your application from [Nuget.org](https://www.nuget.org/).
21+
Step 3: Install the following **NuGet packages** in your application from [NuGet.org](https://www.nuget.org/).
2222

2323
* [Syncfusion.PresentationRenderer.Net.Core](https://www.nuget.org/packages/Syncfusion.PresentationRenderer.Net.Core)
2424
* [SkiaSharp.NativeAssets.Linux.NoDependencies v3.119.1](https://www.nuget.org/packages/SkiaSharp.NativeAssets.Linux.NoDependencies/3.119.1)
2525

26-
![Install Syncfusion.PresentationRenderer.Net.Core Nuget Package](Azure-Images/App-Service-Linux/Nuget_Package_PowerPoint_Presentation_to_PDF.png)
26+
![Install Syncfusion.PresentationRenderer.Net.Core NuGet Package](Azure-Images/App-Service-Linux/Nuget_Package_PowerPoint_Presentation_to_PDF.png)
2727

28-
![Install SkiaSharp.NativeAssets.Linux.NoDependencies v3.119.1 Nuget Package](AWS_Images/Lambda_Images/SkiaSharp-Nuget-Package-PPTXtoPDF.png)
28+
![Install SkiaSharp.NativeAssets.Linux.NoDependencies v3.119.1 NuGet Package](AWS_Images/Lambda_Images/SkiaSharp-Nuget-Package-PPTXtoPDF.png)
2929

3030
N> Starting with v16.2.0.x, if you reference Syncfusion<sup>&reg;</sup> assemblies from trial setup or from the NuGet feed, you also have to add "Syncfusion.Licensing" assembly reference and include a license key in your projects. Please refer to this [link](https://help.syncfusion.com/common/essential-studio/licensing/overview) to know about registering Syncfusion<sup>&reg;</sup> license key in your application to use our components.
3131

@@ -52,6 +52,7 @@ Step 7: Include the following namespaces in **Function.cs** file.
5252
{% tabs %}
5353
{% highlight c# tabtitle="C#" %}
5454

55+
using Amazon.Lambda.Core;
5556
using Syncfusion.Presentation;
5657
using Syncfusion.PresentationRenderer;
5758
using Syncfusion.Drawing;
@@ -105,8 +106,8 @@ private void FontSettings_SubstituteFont(object sender, SubstituteFontEventArgs
105106
{% endhighlight %}
106107
{% endtabs %}
107108

108-
N> If using an older version of Syncfusion and Skiasharp NuGet as v2.88.8, there is a chance of encountering a libSkiaSharp not found exception during the conversion process.
109-
To resolve this, refer to the code snippet provided in the documentation [here]( https://help.syncfusion.com/document-processing/faq/how-to-resolve-libskiasharp-not-found-exception-in-net8-and-net9-on-linux).
109+
N> If using an older version of Syncfusion and SkiaSharp NuGet as v2.88.8, there is a chance of encountering a libSkiaSharp not found exception during the conversion process.
110+
To resolve this, refer to the code snippet provided in the documentation [here](https://help.syncfusion.com/document-processing/faq/how-to-resolve-libskiasharp-not-found-exception-in-net8-and-net9-on-linux).
110111

111112
Step 9: Right-click the project and select **Publish to AWS Lambda**.
112113
![Publish to AWS Lambda](AWS_Images/Lambda_Images/Publish-PowerPoint-Presentation-to-PDF.png)
@@ -128,7 +129,7 @@ Step 13: Edit Memory size and Timeout as maximum in General configuration of the
128129
Step 1: Create a new console project.
129130
![Create a console project](AWS_Images/Lambda_Images/Console-APP-PowerPoint-Presentation-to-PDF.png)
130131

131-
step 2: Install the following **Nuget packages** in your application from [Nuget.org](https://www.nuget.org/).
132+
Step 2: Install the following **NuGet packages** in your application from [NuGet.org](https://www.nuget.org/).
132133

133134
* [AWSSDK.Core](https://www.nuget.org/packages/AWSSDK.Core/)
134135
* [AWSSDK.Lambda](https://www.nuget.org/packages/AWSSDK.Lambda/)

Document-Processing/PowerPoint/Conversions/PowerPoint-To-Image/NET/Convert-PowerPoint-to-Image-in-AWS-Linux-EC2.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ documentation: UG
88

99
# Convert PowerPoint to Image in Amazon Linux EC2
1010

11-
Syncfusion<sup>&reg;</sup> [.NET Core PowerPoint library](https://www.syncfusion.com/document-sdk/net-powerpoint-library) (Presentation) is used to create, read, edit and convert PowerPoint documents programmatically without **Microsoft PowerPoint** or interop dependencies. Using this library, you can **convert PowerPoint to image in Amazon Linux EC2** within a few lines of code.
11+
Syncfusion<sup>&reg;</sup> [.NET Core PowerPoint library](https://www.syncfusion.com/document-sdk/net-powerpoint-library) (Presentation) is used to create, read, edit and convert PowerPoint documents programmatically without **Microsoft PowerPoint** or interop dependencies. Using this library, you can **convert a PowerPoint to image in Amazon Linux EC2** within a few lines of code.
1212

1313
N> To run the sample without manually providing credentials, attach an IAM role with S3 access to your EC2 instance. The AWS SDK will automatically use this role, allowing secure access to S3 without storing access keys.
1414

@@ -42,19 +42,22 @@ Install the following NuGet packages from [NuGet.org](https://www.nuget.org/).
4242
* [Microsoft.VisualStudio.Azure.Containers.Tools.Targets](https://www.nuget.org/packages/Microsoft.VisualStudio.Azure.Containers.Tools.Targets)
4343
* [SkiaSharp.NativeAssets.Linux.NoDependencies](https://www.nuget.org/packages/SkiaSharp.NativeAssets.Linux.NoDependencies)
4444

45-
![Install Syncfusion.PresentationRenderer.Net.Core Nuget Package](AWS_Images/AWS_EC2_Images/Nuget_Package_PowerPoint_Presentation_to_PDF.png)
45+
![Install Syncfusion.PresentationRenderer.Net.Core NuGet Package](AWS_Images/AWS_EC2_Images/Nuget_Package_PowerPoint_Presentation_to_PDF.png)
4646

4747
N> Starting with v16.2.0.x, if you reference Syncfusion<sup>&reg;</sup> assemblies from trial setup or from the NuGet feed, you also have to add "Syncfusion.Licensing" assembly reference and include a license key in your projects. Please refer to this [link](https://help.syncfusion.com/common/essential-studio/licensing/overview) to know about registering Syncfusion<sup>&reg;</sup> license key in your application to use our components.
4848

4949
### Step 3: Include required namespaces
5050

51-
Add the following namespaces in Program.cs
51+
Add the following namespaces in **Program.cs**.
5252

5353
{% tabs %}
5454
{% highlight c# tabtitle="C#" %}
5555

56-
using Amazon.S3;
56+
using System;
57+
using System.IO;
58+
using System.Threading.Tasks;
5759
using Amazon;
60+
using Amazon.S3;
5861
using Amazon.S3.Model;
5962
using Syncfusion.Presentation;
6063
using Syncfusion.PresentationRenderer;
@@ -63,8 +66,8 @@ using Syncfusion.PresentationRenderer;
6366
{% endtabs %}
6467

6568
### Step 4: Process PowerPoint files from AWS S3
66-
67-
Include the following code snippet in Program.cs to convert PowerPoint presentations into images.
69+
70+
Include the following code snippet in **Program.cs** to convert PowerPoint presentations into images.
6871

6972
{% tabs %}
7073
{% highlight c# tabtitle="C#" %}
@@ -163,7 +166,7 @@ static async Task ConvertPptxToImage(string inputFileName, string inputFolderNam
163166
var response = await s3Client.GetObjectAsync(new Amazon.S3.Model.GetObjectRequest
164167
{
165168
BucketName = bucketName,
166-
Key = inputFolderName+inputFileName
169+
Key = inputFolderName + inputFileName
167170
});
168171
using (Stream responseStream = response.ResponseStream)
169172
{
@@ -300,7 +303,7 @@ Step 3: Click the **Browse** button in the **Private key file for authentication
300303

301304
Step 4: Click **Open** button. It will be connected to the EC2 instance .
302305

303-
![connect with EC2 instance](AWS_Images/AWS_EC2_Images/Connected-with-PuTTY.png)
306+
![Connect with EC2 instance](AWS_Images/AWS_EC2_Images/Connected-with-PuTTY.png)
304307

305308
## Deploy the sample on an AWS Linux EC2 Instance
306309

@@ -333,7 +336,7 @@ sudo yum install git -y
333336

334337
Step 5: Check whether the **Git** is installed properly using below command.
335338
```
336-
git version
339+
git --version
337340
```
338341

339342
![Ensure git installation](AWS_Images/AWS_EC2_Images/ensure-git-installation.png)

0 commit comments

Comments
 (0)