Hi @JayashreeVenkatesan
Linux is an OS where your AEM instance will be running. So you can use any Java API which can run on AEM and can convert PDF to DOC. Having said that you need to see if the application has any licensing obligations!
Here is an API which can be used to convert PDF to DOC.
<!-- https://mvnrepository.com/artifact/com.aspose/aspose-pdf -->
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-pdf</artifactId>
<version>16.11.0</version>
</dependency>
// Load source PDF file
Document doc = new Document("input.pdf");
// Save resultant DOC file
doc.save("output.doc", SaveFormat.Doc);
https://gist.githubusercontent.com/aspose-com-gists/6b3fd2f622633cffc7e000b4d33bb027/raw/916b3112f72...
Please see the below link for more info:
https://blog.aspose.com/2020/01/17/convert-pdf-to-word-doc-docx-in-java/
Thanks!