How to Convert epub, Docx file to PDF in Ubuntu 20.04/ Ubuntu 18.04 Free.

During my epub file conversion with pdf formate raised an unreadable bulk of errors, so I have used this second option that makes my epub file in pdf

What is the epub file format?

The epub file formate couldn't open in any Operating System without installing its supporting software in Windows/Linux/or Android devices. Epub contains books pages in HTML and XML format that wouldn't be easily available for reading as a normal pdf file on our devices. There is some software suggested in this article that makes epub files readable and downloadable in PDF format even you can change any desired file format.

How to Convert epub, Docx, excel file to Pdf, Docx and others formate in ubuntu 20.04, ubuntu 18.04.

Option 1st. 


Step 1: Download Calibre Software from ubuntu apt package manager.
tom@hp~$ sudo apt-get install calibre
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
calibre-bin fonts-mathjax gsfonts i965-va-driver imagemagick
Need to get 131 MB of archives.
After this operation, 531 MB of additional disk space will be used.
Do you want to continue? [Y/n] :  y
Get:1 http://in.archive.ubuntu.com/ubuntu focal/main amd64 libfftw3-double3 amd64 3.3.8-2ubuntu1 [728 kB]....


Step2. Check the newly downloaded software has been installed successfully.



How to Convert epub, Docx file to PDF in Ubuntu 20.04/ Ubuntu 18.04 Free. pdfcup.com


Step3. Open Calibre Software and add any book that you want to convert that formate. After selecting a book, click at the top "Convert books" option.


How to Convert epub, Docx file to PDF in Ubuntu 20.04/ Ubuntu 18.04 Free. pdfcup.com




Step4. Select the output formate that do you want to convert.


How to Convert epub, Docx file to PDF in Ubuntu 20.04/ Ubuntu 18.04 Free. pdfcup.com



Step5. Click "ok", then the converting process is started, you can download the selected formate after completing it.


Option 2(Advance): Follow this option only if the above Conversion raises an error during the file Conversion.  

Note: This could be possible any type of error might be raised during the above conversion so follow this below option only when above mention process couldn't be usable. For Example: During my epub file conversion with pdf formate raised an unreadable bulk of errors, so I have used this second option that makes my epub file in pdf formate successfully. 


Step 1: Download Calibre Software from ubuntu apt package manager.

tom@hp~$ sudo apt-get install calibre   # if already downloaded, skip this step.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
calibre-bin fonts-mathjax gsfonts i965-va-driver imagemagick
Need to get 131 MB of archives.
After this operation, 531 MB of additional disk space will be used.
Do you want to continue? [Y/n] :  y
Get:1 http://in.archive.ubuntu.com/ubuntu focal/main amd64 libfftw3-double3 amd64 3.3.8-2ubuntu1 [728 kB]....



Step 2: Open calibre software and insert a file that do you want to convert.


Step 3. Convert selected .xyz format file to DOCX (.docx) format, not PDF format. Click OK.

   

How to Convert epub, Docx file to PDF in Ubuntu 20.04/ Ubuntu 18.04 Free. pdfcup.com


Step 4. You will get a popup of Completion notification within a few minutes depends on the size of your file. 

Step 5.  Save that Successful converted DOCX file in any particular folder on your system.


Step 6. Then, open your "LibreOffice Writer" on ubuntu, and open that downloaded DOCX file in "LibreOffice Writer".

Step 7. Now, there has a small logo of PDF-(Export as PDF) at the top left side of the control panel in your LibreOffice Writer, click on it.



How to Convert epub, Docx file to PDF in Ubuntu 20.04/ Ubuntu 18.04 Free. pdfcup.com


Step 8. YUP Finished, Your DOCX file is successfully converted into PDF format.

Note: You Change any file formate from (epub, pdf, Docx, etc.) to (.pdf, .docx, .txt, etc.) through follow  Option-2 steps. It is a little bit long process but gives you full satisfaction.   


Option 3(Optional): Convert (epub, docx, txt, .etc) files in (pdf, txt, doct, etc.) by using Terminal Command Line.

Open Terminal and paste this command after replacing your file name with the full path.

tom@hp~$ ebook-convert  Downloads/file_name.epub  output_docx_file.docx


Note: The .epub file is an implementation file that I will go to change with the .docx format.
You can change output file extension from " .docx " to any  ".pdf, .txt, .dox, .epub, etc." file extension.


About the author

D Shwari
I'm a professor at National University's Department of Computer Science. My main streams are data science and data analysis. Project management for many computer science-related sectors. Next working project on Al with deep Learning.....

Post a Comment