![]() |
#1 |
Deviser
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 |
![]() |
![]() |
![]() |
#2 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,183
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Quote:
bernie |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Deviser
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 |
![]() |
![]() |
![]() |
#4 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,183
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Quote:
Do you have a Linux desktop installed? bernie |
|
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
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.
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
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 |