We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to deploy .NET Core application with Word to PDF conversion capabilities in Linux OS

Platform: ASP.NET Core |
Control: DocIO |
Published Date: February 22, 2018 |
Last Revised Date: January 10, 2020

To deploy .NET Core application with Word to PDF conversion capabilities in Linux OS, the following NuGet packages needs to be referred in your .NET Core application.

NuGet package

Installation command in package manager

  1. Syncfusion.DocIORenderer.Net.Core


Install-package Syncfusion.DocIORenderer.Net.Core -source https://www.nuget.org/packages/Syncfusion.DocIORenderer.Net.Core/

  1. Syncfusion.DocIO.Net.Core


Install-package Syncfusion.DocIO.Net.Core -source https://www.nuget.org/packages/Syncfusion.DocIO.Net.Core/

  1. Syncfusion.Compression.Net.Core


Install-package Syncfusion.Compression.Net.Core -source https://www.nuget.org/packages/Syncfusion.Compression.Net.Core/

  1. Syncfusion.OfficeChart.Net.Core


Install-package Syncfusion.OfficeChart.Net.Core -source https://www.nuget.org/packages/Syncfusion.OfficeChart.Net.Core/

  1. Syncfusion.Pdf.Net.Core


Install-package Syncfusion.Pdf.Net.Core -source https://www.nuget.org/packages/Syncfusion.Pdf.Net.Core/

  1. SkiaSharp

Install-Package SkiaSharp -Version 1.59.3 -source https://www.nuget.org/packages/SkiaSharp/1.59.3


Additionally, we required SkiaSharp.Linux helper NuGet package which can be generated by following below steps.

  1. Download libSkiaSharp.so from here.
  2. Create a folder and name it as SkiaSharp.Linux. Then, place the downloaded file in the folder structure “SkiaSharp.Linux\runtimes\linux-x64\native”
  3. Create a nuspec file with name SkiaSharp.Linux.nuspec using following metadata information and place it inside SkiaSharp.Linux folder. The nuspec file can be customized as per your need.
    <?xml version="1.0" encoding="utf-8"?><package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">    <metadata>        <id>SkiaSharp.Linux</id>        <version>1.59.3</version>        <title>SkiaSharp for Linux</title>        <authors>Syncfusion Inc.</authors>        <owners>Syncfusion Inc.</owners>        <requireLicenseAcceptance>false</requireLicenseAcceptance>        <description>SkiaSharp for Linux is a supporting package for Linux platforms.</description>        <tags>linux,cross-platform,skiasharp,net-standard,net-core,word-to-pdf</tags>        <dependencies>            <group targetFramework=".NETStandard1.4">                <dependency id="SkiaSharp" version="1.59.3" />            </group>        </dependencies>    </metadata></package>
  1. Make sure the nuget.exe file is present along with SkiaSharp.Linux folder (in the parent folder of SkiaSharp.Linux folder). If not download it from here.
  2. Open a command prompt and navigate to SkiaSharp.Linux folder
  3. Execute the following command

nuget pack SkiaSharp.Linux\SkiaSharp.Linux.nuspec -outputdirectory "C:\NuGet ". The output directory can be customized as per your need.

Now, SkiaSharp.Linux NuGet will be generated in the mentioned output directory and add the generated NuGet as additional reference.

You can also find the SkiaSharp.Linux NuGet package created by us from here.


2X faster development

The ultimate ASP.NET Core UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon