Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-29-2020, 05:32 PM   #1
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
Installing Calibre in Ubuntu in Windows 10 vsn2004 WSL2

I have installed Linux Calibre on my Windows 10 version 2004 using WSL2 with Ubuntu that was just released this week.

After activating WSL2 etc. in Win10, then installing Ubuntu from the Microsoft Store, I then did this within Windows Terminal within an Ubuntu Tab:

sudo apt update
sudo apt upgrade
sudo mkdir /usr/share/desktop-directories/
sudo apt-get install xdg-utils
sudo apt-get install xz-utils
sudo apt-get install wget

[I next tried the 2 Linux Calibre installs using sudo, but they all failed due to SSL library import errors. So, I used the "stand alone/isolated" method instead, which worked the first time (having already done the 'sudo' commands listed above]

wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sh /dev/stdin install_dir=~/calibre-bin isolated=y


[and then executed calibre]

/home/daltonst/calibre-bin/calibre/calibre


[but then got]

daltonst@NUC10i7FNH:~/calibre-bin/calibre$

/home/daltonst/calibre-bin/calibre/calibre

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
Aborted



Searching the web about installing "xcb" led to some "fixes" that were either fruitless or seemed many years out-of-date.


Any suggestions?



Thanks.


DaltonST
DaltonST is offline   Reply With Quote
Old 05-29-2020, 05:45 PM   #2
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,182
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by DaltonST View Post
I have installed Linux Calibre on my Windows 10 version 2004 using WSL2 with Ubuntu that was just released this week.

After activating WSL2 etc. in Win10, then installing Ubuntu from the Microsoft Store, I then did this within Windows Terminal within an Ubuntu Tab:

sudo apt update
sudo apt upgrade
sudo mkdir /usr/share/desktop-directories/
sudo apt-get install xdg-utils
sudo apt-get install xz-utils
sudo apt-get install wget

[I next tried the 2 Linux Calibre installs using sudo, but they all failed due to SSL library import errors. So, I used the "stand alone/isolated" method instead, which worked the first time (having already done the 'sudo' commands listed above]

wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sh /dev/stdin install_dir=~/calibre-bin isolated=y


[and then executed calibre]

/home/daltonst/calibre-bin/calibre/calibre


[but then got]

daltonst@NUC10i7FNH:~/calibre-bin/calibre$

/home/daltonst/calibre-bin/calibre/calibre

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
Aborted



Searching the web about installing "xcb" led to some "fixes" that were either fruitless or seemed many years out-of-date.


Any suggestions?



Thanks.


DaltonST
In your terminal Ubuntu Tab just type calibre.

bernie
gbm is offline   Reply With Quote
Advert
Old 05-29-2020, 06:26 PM   #3
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
Actually, everything I listed above was done in a Win10 Terminal Ubuntu Tab.

I also just ran "Ubuntu" from the Win10 Start Menu, ran 'calibre' in the terminal window that opened, and got the "calibre: command not found".

I opened a new Win10 Terminal Ubuntu Tab, ran 'calibre', and got "calibre: command not found".

I also repeated what I wrote in the first post, and got the identical Qt related "xcb" failure.



DaltonST
DaltonST is offline   Reply With Quote
Old 05-29-2020, 07:54 PM   #4
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,182
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by DaltonST View Post
Actually, everything I listed above was done in a Win10 Terminal Ubuntu Tab.

I also just ran "Ubuntu" from the Win10 Start Menu, ran 'calibre' in the terminal window that opened, and got the "calibre: command not found".

I opened a new Win10 Terminal Ubuntu Tab, ran 'calibre', and got "calibre: command not found".

I also repeated what I wrote in the first post, and got the identical Qt related "xcb" failure.



DaltonST
Try cd into the folder that the calibre executable is located then type calibre.

Do you have a Linux desktop installed?

bernie
gbm is offline   Reply With Quote
Old 05-29-2020, 10:30 PM   #5
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,342
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You will need to setup an X11 server, WSL2 by itself supports only command line programs.
kovidgoyal is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in Installing Calibre in ubuntu 11.10 yogesh605 Development 4 12-14-2011 02:58 AM
Problem in Installing Calibre in ubuntu 11.10 yogesh605 Introduce Yourself 4 12-12-2011 02:27 PM
Installing latest Calibre in Ubuntu 10.04 maitrayei Calibre 4 09-10-2010 02:48 AM
Problem Installing Calibre on EeePC 901 (Ubuntu Jaunty) andavane Calibre 4 11-08-2009 02:05 PM
Problems with installing Calibre, Ubuntu 7.10 Gusty AMD_64 with PRS-500 deedward9 Calibre 2 07-07-2008 08:22 PM


All times are GMT -4. The time now is 09:21 PM.


MobileRead.com is a privately owned, operated and funded community.