Can someone please guide me in installing Windows version of Calibre on my Linux Mint? [solved]

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
User avatar
pepperminty
Level 5
Level 5
Posts: 872
Joined: Thu Jun 23, 2011 10:51 pm

Re: Can someone please guide me in installing Windows version of Calibre on my Linux Mint?

Post by pepperminty » Wed Oct 09, 2019 5:19 pm

pbear wrote:
Wed Oct 09, 2019 5:18 pm
pepperminty wrote:
Wed Oct 09, 2019 5:06 pm
Insisting on the hard way???
The easy way would be to install the Linux version. Anyhoo, I won't annoy you any further. Good luck.
I already installed the Linux version. It won't help me do one thing that I can do with the Windows version.
Please don't think I want to give myself an unnecessary headache.

User avatar
pbear
Level 9
Level 9
Posts: 2642
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: Can someone please guide me in installing Windows version of Calibre on my Linux Mint?

Post by pbear » Wed Oct 09, 2019 5:33 pm

Fair enough. Okay, let's talk Wine. First, you need to clear out any installing you've already done. Open Terminal. Run apt purge wine*. Then, per the Mint Release Notes, run apt install --install-recommends wine-installer. Report back on that before trying to install Calibre. To make it clear, run and report the output of the following two commands (use copy and paste):

Code: Select all

dpkg-query --list ‘wine*’
inxi -Sr
These report what Wine packages you have installed and which repositories.
Time flies like an arrow. Fruit flies like a banana.
If your problem has been solved, please edit the thread title.

User avatar
pepperminty
Level 5
Level 5
Posts: 872
Joined: Thu Jun 23, 2011 10:51 pm

Re: Can someone please guide me in installing Windows version of Calibre on my Linux Mint?

Post by pepperminty » Wed Oct 09, 2019 5:45 pm

Code: Select all

apt purge wine*
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'winetricks' for glob 'wine*'
Note, selecting 'wine1.9-amd64' for glob 'wine*'
Note, selecting 'winefish' for glob 'wine*'
Note, selecting 'wine-binfmt' for glob 'wine*'
Note, selecting 'wine32-preloader:i386' for glob 'wine*'
Note, selecting 'wine32-development-tools' for glob 'wine*'
Note, selecting 'wine64-development' for glob 'wine*'
Note, selecting 'winehq-devel' for glob 'wine*'
Note, selecting 'wine1.9-i386:i386' for glob 'wine*'
Note, selecting 'wine1.4-amd64' for glob 'wine*'
Note, selecting 'wine64-preloader' for glob 'wine*'
Note, selecting 'wine1.8-dev' for glob 'wine*'
Note, selecting 'wine64-development-tools' for glob 'wine*'
Note, selecting 'wine1.6-dev' for glob 'wine*'
Note, selecting 'wine1.8-i386:i386' for glob 'wine*'
Note, selecting 'wine1.0' for glob 'wine*'
Note, selecting 'wine1.2' for glob 'wine*'
Note, selecting 'wine1.3' for glob 'wine*'
Note, selecting 'wine1.4' for glob 'wine*'
Note, selecting 'wine1.5' for glob 'wine*'
Note, selecting 'wine1.6' for glob 'wine*'
Note, selecting 'wine1.7' for glob 'wine*'
Note, selecting 'wine1.8' for glob 'wine*'
Note, selecting 'wine1.9' for glob 'wine*'
Note, selecting 'wine1.5-amd64' for glob 'wine*'
Note, selecting 'wine2.0' for glob 'wine*'
Note, selecting 'wine32-development' for glob 'wine*'
Note, selecting 'wine1.4-dev' for glob 'wine*'
Note, selecting 'wine-dev' for glob 'wine*'
Note, selecting 'wine1.7-i386' for glob 'wine*'
Note, selecting 'wine1.6-amd64' for glob 'wine*'
Note, selecting 'wine-development' for glob 'wine*'
Note, selecting 'wine32-tools' for glob 'wine*'
Note, selecting 'wine1.6-i386' for glob 'wine*'
Note, selecting 'wine-stable' for glob 'wine*'
Note, selecting 'wine32' for glob 'wine*'
Note, selecting 'wine64' for glob 'wine*'
Note, selecting 'wine1.5-i386' for glob 'wine*'
Note, selecting 'winehq-stable' for glob 'wine*'
Note, selecting 'wine-desktop-files' for glob 'wine*'
Note, selecting 'wine-i386' for glob 'wine*'
Note, selecting 'wine-installer' for glob 'wine*'
Note, selecting 'wine1.4-i386' for glob 'wine*'
Note, selecting 'wine64-development-preloader' for glob 'wine*'
Note, selecting 'wine-stable-i386' for glob 'wine*'
Note, selecting 'winehq-staging' for glob 'wine*'
Note, selecting 'wine1.7-amd64' for glob 'wine*'
Note, selecting 'wine' for glob 'wine*'
Note, selecting 'wine1.9-dev' for glob 'wine*'
Note, selecting 'wine-stable-amd64' for glob 'wine*'
Note, selecting 'wine-amd64' for glob 'wine*'
Note, selecting 'wine1.7-dev' for glob 'wine*'
Note, selecting 'wine1.5-dev' for glob 'wine*'
Note, selecting 'wine64-tools' for glob 'wine*'
Note, selecting 'wine1.8-amd64' for glob 'wine*'
Note, selecting 'wine32-development-preloader:i386' for glob 'wine*'
Package 'winehq-devel' is not installed, so not removed
Package 'winehq-staging' is not installed, so not removed
Note, selecting 'wine-stable-i386:i386' instead of 'wine-stable-i386'
Note, selecting 'winehq-stable' instead of 'wine1.5'
Note, selecting 'wine32-tools:i386' instead of 'wine32-tools'
Note, selecting 'wine32-development-tools:i386' instead of 'wine32-development-tools'
Note, selecting 'wine1.6' instead of 'wine1.8'
Package 'wine1.9' is not installed, so not removed
Package 'wine2.0' is not installed, so not removed
Note, selecting 'wine32-development:i386' instead of 'wine32-development'
Package 'wine1.0' is not installed, so not removed
Package 'wine1.2' is not installed, so not removed
Package 'wine1.3' is not installed, so not removed
Note, selecting 'wine1.6-amd64' instead of 'wine1.8-amd64'
Package 'wine1.9-amd64' is not installed, so not removed
Note, selecting 'wine1.6-dev' instead of 'wine-dev'
Note, selecting 'wine1.6-dev' instead of 'wine1.4-dev'
Package 'wine1.5-dev' is not installed, so not removed
Note, selecting 'wine1.6-dev' instead of 'wine1.7-dev'
Note, selecting 'wine1.6-dev' instead of 'wine1.8-dev'
Package 'wine1.9-dev' is not installed, so not removed
Note, selecting 'wine1.6-i386:i386' instead of 'wine1.8-i386:i386'
Package 'wine1.9-i386:i386' is not installed, so not removed
Package 'wine-desktop-files' is not installed, so not removed
Package 'wine-installer' is not installed, so not removed
Package 'winehq-stable' is not installed, so not removed
Package 'wine-binfmt' is not installed, so not removed
Package 'wine1.6' is not installed, so not removed
Package 'wine1.6-amd64' is not installed, so not removed
Package 'wine1.6-dev' is not installed, so not removed
Package 'wine64' is not installed, so not removed
Package 'wine64-development-preloader' is not installed, so not removed
Package 'wine64-development-tools' is not installed, so not removed
Package 'wine64-preloader' is not installed, so not removed
Package 'wine64-tools' is not installed, so not removed
Package 'winefish' is not installed, so not removed
Package 'wine32-development-preloader:i386' is not installed, so not removed
Package 'wine32-preloader:i386' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  icoutils libwine-development wine-stable-i386:i386
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  playonlinux* wine-development* wine-stable* wine-stable-amd64*
  wine64-development* winetricks*
0 upgraded, 0 newly installed, 6 to remove and 0 not upgraded.
After this operation, 232 MB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 426817 files and directories currently installed.)
Removing playonlinux (4.2.12-1) ...
Removing winetricks (0.0+20180217-1) ...
Removing wine-development (3.6-1) ...
Removing wine-stable (4.0~bionic) ...
Removing wine-stable-amd64 (4.0~bionic) ...
Removing wine64-development (3.6-1) ...
Processing triggers for desktop-file-utils (0.23+linuxmint6) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for mime-support (3.60ubuntu1) ...

Code: Select all

$ apt install --install-recommends wine-installer
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  icoutils libwine-development
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libcapi20-3 libgsm1:i386 libosmesa6 libosmesa6:i386 libsane1:i386
  wine-desktop-files wine-stable wine-stable-amd64 winehq-stable
Suggested packages:
  hplip:i386
The following NEW packages will be installed:
  libcapi20-3 libgsm1:i386 libosmesa6 libosmesa6:i386 libsane1:i386
  wine-desktop-files wine-installer wine-stable wine-stable-amd64
  winehq-stable
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 31.7 MB of archives.
After this operation, 255 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://mirror.it.ubc.ca/ubuntu bionic/universe i386 libgsm1 i386 1.0.13-4build1 [24.2 kB]
Get:2 http://mirror.it.ubc.ca/ubuntu bionic-updates/main i386 libsane1 i386 1.0.27-1~experimental3ubuntu2.2 [2,180 kB]
Get:3 http://mirrors.evowise.com/linuxmint/packages tina/import amd64 wine-stable-amd64 amd64 4.0~bionic [23.6 MB]
Get:4 http://mirror.it.ubc.ca/ubuntu bionic/universe amd64 libcapi20-3 amd64 1:3.27-3 [28.4 kB]
Get:5 http://mirror.it.ubc.ca/ubuntu bionic-updates/main amd64 libosmesa6 amd64 19.0.8-0ubuntu0~18.04.2 [2,269 kB]
Get:6 http://mirror.it.ubc.ca/ubuntu bionic-updates/main i386 libosmesa6 i386 19.0.8-0ubuntu0~18.04.2 [2,430 kB]
Get:7 http://mirrors.evowise.com/linuxmint/packages tina/import amd64 wine-stable amd64 4.0~bionic [1,136 kB]
Get:8 http://mirrors.evowise.com/linuxmint/packages tina/main amd64 wine-desktop-files all 4.0.5 [52.1 kB]
Get:9 http://mirrors.evowise.com/linuxmint/packages tina/import amd64 winehq-stable amd64 4.0~bionic [1,892 B]
Get:10 http://mirrors.evowise.com/linuxmint/packages tina/main amd64 wine-installer all 4.0.5 [2,080 B]
Fetched 31.7 MB in 3s (9,965 kB/s)          
Selecting previously unselected package wine-stable-amd64.
(Reading database ... 424327 files and directories currently installed.)
Preparing to unpack .../0-wine-stable-amd64_4.0~bionic_amd64.deb ...
Unpacking wine-stable-amd64 (4.0~bionic) ...
Selecting previously unselected package wine-stable.
Preparing to unpack .../1-wine-stable_4.0~bionic_amd64.deb ...
Unpacking wine-stable (4.0~bionic) ...
Selecting previously unselected package libgsm1:i386.
Preparing to unpack .../2-libgsm1_1.0.13-4build1_i386.deb ...
Unpacking libgsm1:i386 (1.0.13-4build1) ...
Selecting previously unselected package libsane1:i386.
Preparing to unpack .../3-libsane1_1.0.27-1~experimental3ubuntu2.2_i386.deb ...
Unpacking libsane1:i386 (1.0.27-1~experimental3ubuntu2.2) ...
Selecting previously unselected package wine-desktop-files.
Preparing to unpack .../4-wine-desktop-files_4.0.5_all.deb ...
Unpacking wine-desktop-files (4.0.5) ...
Selecting previously unselected package winehq-stable.
Preparing to unpack .../5-winehq-stable_4.0~bionic_amd64.deb ...
Unpacking winehq-stable (4.0~bionic) ...
Selecting previously unselected package libcapi20-3:amd64.
Preparing to unpack .../6-libcapi20-3_1%3a3.27-3_amd64.deb ...
Unpacking libcapi20-3:amd64 (1:3.27-3) ...
Selecting previously unselected package libosmesa6:amd64.
Preparing to unpack .../7-libosmesa6_19.0.8-0ubuntu0~18.04.2_amd64.deb ...
Unpacking libosmesa6:amd64 (19.0.8-0ubuntu0~18.04.2) ...
Selecting previously unselected package libosmesa6:i386.
Preparing to unpack .../8-libosmesa6_19.0.8-0ubuntu0~18.04.2_i386.deb ...
Unpacking libosmesa6:i386 (19.0.8-0ubuntu0~18.04.2) ...
Selecting previously unselected package wine-installer.
Preparing to unpack .../9-wine-installer_4.0.5_all.deb ...
Unpacking wine-installer (4.0.5) ...
Setting up wine-stable-amd64 (4.0~bionic) ...
Setting up wine-stable (4.0~bionic) ...
Setting up libosmesa6:amd64 (19.0.8-0ubuntu0~18.04.2) ...
Setting up libosmesa6:i386 (19.0.8-0ubuntu0~18.04.2) ...
Setting up libcapi20-3:amd64 (1:3.27-3) ...
Setting up winehq-stable (4.0~bionic) ...
Setting up libsane1:i386 (1.0.27-1~experimental3ubuntu2.2) ...
Setting up wine-desktop-files (4.0.5) ...
Setting up libgsm1:i386 (1.0.13-4build1) ...
Setting up wine-installer (4.0.5) ...
Processing triggers for udev (237-3ubuntu10.29) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23+linuxmint6) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
$ dpkg-query --list ‘wine*’
dpkg-query: no packages found matching ‘wine*’

Code: Select all

$ inxi -Sr
System:
  Host: desktop Kernel: 4.15.0-65-generic x86_64 bits: 64 
  Desktop: Cinnamon 4.2.4 Distro: Linux Mint 19.2 Tina 
Repos:
  No active apt repos in: /etc/apt/sources.list 
  Active apt repos in: /etc/apt/sources.list.d/audio-recorder-ppa-xenial.list 
  1: deb http://ppa.launchpad.net/audio-recorder/ppa/ubuntu xenial main
  Active apt repos in: /etc/apt/sources.list.d/cinelerra-ppa-ppa-xenial.list 
  1: deb http://ppa.launchpad.net/cinelerra-ppa/ppa/ubuntu xenial main
  Active apt repos in: /etc/apt/sources.list.d/dobey-redshift-daily-bionic.list 
  1: deb http://ppa.launchpad.net/dobey/redshift-daily/ubuntu bionic main
  2: deb-src http://ppa.launchpad.net/dobey/redshift-daily/ubuntu bionic main
  No active apt repos in: /etc/apt/sources.list.d/google-chrome-beta.list 
  No active apt repos in: /etc/apt/sources.list.d/insync.list 
  No active apt repos in: /etc/apt/sources.list.d/megasync.list 
  Active apt repos in: /etc/apt/sources.list.d/morphis-anbox-support-bionic.list 
  1: deb http://ppa.launchpad.net/morphis/anbox-support/ubuntu bionic main
  2: deb-src http://ppa.launchpad.net/morphis/anbox-support/ubuntu bionic main
  Active apt repos in: /etc/apt/sources.list.d/nilarimogard-webupd8-bionic.list 
  1: deb http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu bionic main
  2: deb-src http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu bionic main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
  1: deb http://mirrors.evowise.com/linuxmint/packages tina main upstream import backport
  2: deb http://mirror.it.ubc.ca/ubuntu bionic main restricted universe multiverse
  3: deb http://mirror.it.ubc.ca/ubuntu bionic-updates main restricted universe multiverse
  4: deb http://mirror.it.ubc.ca/ubuntu bionic-backports main restricted universe multiverse
  5: deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
  6: deb http://archive.canonical.com/ubuntu/ bionic partner
  Active apt repos in: /etc/apt/sources.list.d/openjdk-r-ppa-bionic.list 
  1: deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu bionic main
  2: deb-src http://ppa.launchpad.net/openjdk-r/ppa/ubuntu bionic main
  Active apt repos in: /etc/apt/sources.list.d/opera-beta.list 
  1: deb https://deb.opera.com/opera-beta/ stable non-free #Opera Browser (final releases)
  Active apt repos in: /etc/apt/sources.list.d/opera-developer.list 
  1: deb https://deb.opera.com/opera-developer/ stable non-free #Opera Browser (final releases)
  Active apt repos in: /etc/apt/sources.list.d/opera-stable.list 
  1: deb https://deb.opera.com/opera-stable/ stable non-free #Opera Browser (final releases)
  Active apt repos in: /etc/apt/sources.list.d/opera.list 
  1: deb http://deb.opera.com/opera/ stable non-free #Opera Browser (final releases)
  Active apt repos in: /etc/apt/sources.list.d/overcoder-hexchat-xenial.list 
  1: deb http://ppa.launchpad.net/overcoder/hexchat/ubuntu xenial main
  Active apt repos in: /etc/apt/sources.list.d/signal-xenial.list 
  1: deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main
  Active apt repos in: /etc/apt/sources.list.d/skype-stable.list 
  1: deb [arch=amd64] https://repo.skype.com/deb stable main
  Active apt repos in: /etc/apt/sources.list.d/sporkwitch-autokey-bionic.list 
  1: deb http://ppa.launchpad.net/sporkwitch/autokey/ubuntu bionic main
  2: deb-src http://ppa.launchpad.net/sporkwitch/autokey/ubuntu bionic main
  Active apt repos in: /etc/apt/sources.list.d/ubuntuhandbook1-shutter-bionic.list 
  1: deb http://ppa.launchpad.net/ubuntuhandbook1/shutter/ubuntu bionic main
  2: deb-src http://ppa.launchpad.net/ubuntuhandbook1/shutter/ubuntu bionic main
  No active apt repos in: /etc/apt/sources.list.d/vivaldi-snapshot.list 
  Active apt repos in: /etc/apt/sources.list.d/vivaldi.list 
  1: deb http://repo.vivaldi.com/stable/deb/ stable main

User avatar
pbear
Level 9
Level 9
Posts: 2642
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: Can someone please guide me in installing Windows version of Calibre on my Linux Mint?

Post by pbear » Wed Oct 09, 2019 6:03 pm

Bother, the query command seems to have gone sideways because of smart quotes, i.e., a problem on my end. Everything else looks good, though, so let's press on. If the Calibre install doesn't go through, we'll come back to this.

[ETA: Checking on one of my systems with Wine installed, the smart quotes indeed are the problem. Should be dpkg-query --list 'wine*'.]

First, you need to run winecfg. You'll find that on Menu. This configures Wine for your system. You'll be asked whether to install Mono and Gecko; say yes. At the end, you choose Windows mode (usually XP or Win7) and have a chance to designate any virtual drives you want (using Windows-style X: labels).

Next, I assume you have an .exe file somewhere, perhaps on CD. The simplest way to install is right-click that .exe file in File Manager and choose Wine Program Loader from the list. This should bring up the Windows installation wizard. Complete steps as usual. That should be it. You might have to log out and back in to see the app on Menu.

Have at. Good luck.
Last edited by pbear on Wed Oct 09, 2019 6:17 pm, edited 1 time in total.
Time flies like an arrow. Fruit flies like a banana.
If your problem has been solved, please edit the thread title.

cliffcoggin
Level 5
Level 5
Posts: 532
Joined: Sat Sep 17, 2016 6:40 pm
Location: England

Re: Can someone please guide me in installing Windows version of Calibre on my Linux Mint?

Post by cliffcoggin » Wed Oct 09, 2019 6:16 pm

pepperminty wrote:
Wed Oct 09, 2019 5:19 pm
I already installed the Linux version. It won't help me do one thing that I can do with the Windows version.
Please don't think I want to give myself an unnecessary headache.
Might it not be simpler all round to ask the group how to solve the particular problem with the Linux version rather than go to all the trouble of trying to make Calibre work in Wine?
Cliff Coggin
Mint 18.3 Cinnamon

User avatar
Seadreamer
Level 3
Level 3
Posts: 190
Joined: Sat Jun 25, 2016 10:12 pm

Re: Can someone please guide me in installing Windows version of Calibre on my Linux Mint?

Post by Seadreamer » Wed Oct 09, 2019 6:49 pm

If you go with virtualbox you will need to install the whole windows system. I would go with wine if you can.
Homebrew Intel i7 8700k 32gb RAM
LinuxMint 19.2 Mate
Win 10 for games

User avatar
pbear
Level 9
Level 9
Posts: 2642
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: Can someone please guide me in installing Windows version of Calibre on my Linux Mint?

Post by pbear » Thu Oct 10, 2019 12:04 pm

Following up on the muddle I made of the query command, the correct form is dpkg-query --list 'wine*'. Indeed, we can make it more precise by adding | grep ii, which narrows the output to installed packages. This gives us a full command of dpkg-query --list 'wine*' | grep ii. For reference, here's what that command returns on my system:

Code: Select all

pbear@miss-gulch:~$ dpkg-query --list 'wine*' | grep ii
ii  wine-stable           4.0.2~bionic amd64        WINE Is Not An Emulator - runs MS Windows programs
ii  wine-stable-amd64     4.0.2~bionic amd64        WINE Is Not An Emulator - runs MS Windows programs
ii  wine-stable-i386:i386 4.0.2~bionic i386         WINE Is Not An Emulator - runs MS Windows programs
ii  winehq-stable         4.0.2~bionic amd64        WINE Is Not An Emulator - runs MS Windows programs
So, if your system looks the same, the Wine installation is correct.
Time flies like an arrow. Fruit flies like a banana.
If your problem has been solved, please edit the thread title.

User avatar
pepperminty
Level 5
Level 5
Posts: 872
Joined: Thu Jun 23, 2011 10:51 pm

Re: Can someone please guide me in installing Windows version of Calibre on my Linux Mint?

Post by pepperminty » Thu Oct 10, 2019 1:04 pm

Code: Select all

 $ dpkg-query --list 'wine*' | grep ii
ii  wine-desktop-files    4.0.5        all          Microsoft Windows Compatibility Layer
ii  wine-installer        4.0.5        all          Microsoft Windows Compatibility Layer
ii  wine-stable           4.0~bionic   amd64        WINE Is Not An Emulator - runs MS Windows programs
ii  wine-stable-amd64     4.0~bionic   amd64        WINE Is Not An Emulator - runs MS Windows programs
ii  wine-stable-i386:i386 4.0~bionic   i386         WINE Is Not An Emulator - runs MS Windows programs
ii  wine32:i386           3.0-1ubuntu1 i386         Windows API implementation - 32-bit binary loader
ii  winehq-stable         4.0~bionic   amd64        WINE Is Not An Emulator - runs MS Windows programs
Why do I have three more lines of wine than you do?


I said Yes to both Mono and Gecko, even though it suggests installing Gecko from my "distro's repository"
Attachments
Screenshot from 2019-10-10 10-04-09.png
Screenshot from 2019-10-10 10-04-09.png (12.86 KiB) Viewed 221 times

User avatar
pepperminty
Level 5
Level 5
Posts: 872
Joined: Thu Jun 23, 2011 10:51 pm

Re: Can someone please guide me in installing Windows version of Calibre on my Linux Mint?

Post by pepperminty » Thu Oct 10, 2019 1:19 pm

Seadreamer wrote:
Wed Oct 09, 2019 6:49 pm
If you go with virtualbox you will need to install the whole windows system. I would go with wine if you can.
Ah, I see. VirtualBox takes up a lot of storage space. I'm going with wine for now.

User avatar
pepperminty
Level 5
Level 5
Posts: 872
Joined: Thu Jun 23, 2011 10:51 pm

Re: Can someone please guide me in installing Windows version of Calibre on my Linux Mint?

Post by pepperminty » Thu Oct 10, 2019 1:25 pm

How do I launch the Linux Windows program? Afraid I don't see "Windows Calibre" in my Mint menu.

User avatar
pepperminty
Level 5
Level 5
Posts: 872
Joined: Thu Jun 23, 2011 10:51 pm

Re: Can someone please guide me in installing Windows version of Calibre on my Linux Mint?

Post by pepperminty » Thu Oct 10, 2019 1:28 pm

The Windows installation of Calibre Portable through Wine went well. But when I connect my Kobo ereader device, Calibre Windows doesn't detect it. (I expect it to, just like Linux Calibre detects my Kobo).

Don't Windows programs installed in Wine detect USB devices?

Code: Select all

~ $ lsusb

Bus 001 Device 010: ID 2237:4229 Kobo Inc. 
I think I found some relevant lines in dmesg

Code: Select all

[ 2469.116047] usb 1-2: USB disconnect, device number 9
[ 2469.241775] [UFW BLOCK] IN=wlp5s0 OUT= MAC= SRC=fe80:0000:0000:0000:b872:a846:8b77:d7e7 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=34850 PROTO=UDP SPT=8612 DPT=8612 LEN=24 
[ 2469.241793] [UFW BLOCK] IN=wlp5s0 OUT= MAC= SRC=fe80:0000:0000:0000:b872:a846:8b77:d7e7 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=292876 PROTO=UDP SPT=8612 DPT=8610 LEN=24 
[ 2469.241806] [UFW BLOCK] IN=anbox0 OUT= MAC= SRC=fe80:0000:0000:0000:cc78:d5ff:fe1b:f9d0 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=607966 PROTO=UDP SPT=8612 DPT=8612 LEN=24 
[ 2499.888121] usb 1-2: new high-speed USB device number 10 using xhci_hcd
[ 2500.038637] usb 1-2: New USB device found, idVendor=2237, idProduct=4229
[ 2500.038645] usb 1-2: New USB device strings: Mfr=3, Product=4, SerialNumber=5
[ 2500.038650] usb 1-2: Product: eReader-4.18.13737
[ 2500.038655] usb 1-2: Manufacturer: Kobo
[ 2500.040625] usb-storage 1-2:1.0: USB Mass Storage device detected
[ 2500.043650] scsi host1: usb-storage 1-2:1.0

User avatar
pepperminty
Level 5
Level 5
Posts: 872
Joined: Thu Jun 23, 2011 10:51 pm

Re: Can someone please guide me in installing Windows version of Calibre on my Linux Mint?

Post by pepperminty » Thu Oct 10, 2019 2:02 pm

I just learned that Wine/Windows emulation doesn't work with USB drivers (or drivers) in general. So it seems that although I successfully installed Windows Calibre (which I was asking for), I couldn't attain my bigger mission of connected my Kobo Reader to Windows Calibre under WINE.

Thank you to all who have helped me in this thread, especially pbear.

athi
Level 6
Level 6
Posts: 1461
Joined: Sun Mar 30, 2014 10:15 am
Location: USA

Re: Can someone please guide me in installing Windows version of Calibre on my Linux Mint?

Post by athi » Thu Oct 10, 2019 2:17 pm

There is a Kobo plugin (Preferences-Plugins-Store plugins) for Linux version of Calibre.
Mint Mate 19.1. Main rig is HP 800G2 I5 6500 16GB ram, 120GB boot drive, 2x3TB, 1x4TB data drives. Oldest rig is Mate 18.3 on Dell D620 with 32bits core duo.

Mark Phelps
Level 7
Level 7
Posts: 1859
Joined: Mon Jun 10, 2013 4:39 pm

Re: Can someone please guide me in installing Windows version of Calibre on my Linux Mint?

Post by Mark Phelps » Thu Oct 10, 2019 2:18 pm

Seadreamer wrote:
Wed Oct 09, 2019 4:42 pm
You can download a copy of Windows 10 in iso form at this link. I believe you will have some time to try it before you need a license. Long enough to see if it will work for your purposes. You can create an installable version of Windows 10 in a USB drive with the iso file.
This is the official MS link for Win10 downloads --which is good -- but there is no "grace period" in Win10, unlike with previous Windows versions.

So basically, installing this is a waste of time.

User avatar
pepperminty
Level 5
Level 5
Posts: 872
Joined: Thu Jun 23, 2011 10:51 pm

Re: Can someone please guide me in installing Windows version of Calibre on my Linux Mint?

Post by pepperminty » Thu Oct 10, 2019 2:21 pm

athi wrote:
Thu Oct 10, 2019 2:17 pm
There is a Kobo plugin (Preferences-Plugins-Store plugins) for Linux version of Calibre.
Yes, I have several Kobo plugins,. Still, Linux Calibre can't do this one thing that Windows Calibre can easily do.

User avatar
Flemur
Level 17
Level 17
Posts: 7371
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Can someone please guide me in installing Windows version of Calibre on my Linux Mint?

Post by Flemur » Thu Oct 10, 2019 3:22 pm

pepperminty wrote:
Thu Oct 10, 2019 1:28 pm
Don't Windows programs installed in Wine detect USB devices?
I can open files on a USB drive with various windows programs running under wine. (w/regular Program->File->Open, etc, not just drag and drop).
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?

User avatar
pbear
Level 9
Level 9
Posts: 2642
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: Can someone please guide me in installing Windows version of Calibre on my Linux Mint?

Post by pbear » Thu Oct 10, 2019 11:07 pm

pepperminty wrote:
Thu Oct 10, 2019 1:28 pm
Don't Windows programs installed in Wine detect USB devices?
I mainly use Wine for Word 2003. That is able to access a USB drive. I get there by going File > Open > Z: > media > pbear > USB drive. Note that "Z:" is the default pseudo-Windows drive set up by winecfg. You can set others and it may be possible to set one which goes directly to the USB drive. Can't say for sure as I've never tried, but I have successfully set up my data partition as a Windows "drive," so likely a USB drive can be also.

ETA: Decided to test setting up another "drive" in winecfg. To my surprise, I see a drive letter already has been assigned for the USB drive I mounted to test what I described above. That "drive," in turn, works fine in Word 2003. In my case, the USB drive is assigned "L:", but there's no reason to assume a USB drive always will receive that designation.

ETA2: On a lark, took a look at another test box with Wine installed. Ran winecfg. That one didn't have a drive letter assigned for the USB drive, but it was easy to designate one. Note you assign the letter first, then specify the path.

By the way, I've been assuming the USB drive is automatically mounted when plugged in, which is the default behavior of all three desktops. If you have turned that off, the USB drive must be mounted manually (of course) before any apps will be able to access it.
Last edited by pbear on Thu Oct 10, 2019 11:42 pm, edited 2 times in total.
Time flies like an arrow. Fruit flies like a banana.
If your problem has been solved, please edit the thread title.

User avatar
pepperminty
Level 5
Level 5
Posts: 872
Joined: Thu Jun 23, 2011 10:51 pm

Re: Can someone please guide me in installing Windows version of Calibre on my Linux Mint?

Post by pepperminty » Thu Oct 10, 2019 11:09 pm

hmmm... so maybe it was too soon for me to give up. (I removed Windows Calibre and WINE from my Mint).

User avatar
pbear
Level 9
Level 9
Posts: 2642
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: Can someone please guide me in installing Windows version of Calibre on my Linux Mint?

Post by pbear » Fri Oct 11, 2019 10:24 am

By the way, I wonder whether something similarly non-obvious is the answer to how you access a USB drive with the Linux version of Calibre. As cliffcoggin suggested earlier, making the Linux version work would be a better solution. I don't have the app, so can't test myself, but what you're looking for is something in the file open dialogue which goes to Computer or some such. This will be the equivalent of selecting File System in File Manager (or Z: in Wine), i.e., take you to the root of the file system. From there, navigate to the USB drive as I outlined above, i.e., media > user > device.
Time flies like an arrow. Fruit flies like a banana.
If your problem has been solved, please edit the thread title.

User avatar
pepperminty
Level 5
Level 5
Posts: 872
Joined: Thu Jun 23, 2011 10:51 pm

Re: Can someone please guide me in installing Windows version of Calibre on my Linux Mint?

Post by pepperminty » Fri Oct 11, 2019 10:32 am

pbear wrote:
Fri Oct 11, 2019 10:24 am
By the way, I wonder whether something similarly non-obvious is the answer to how you access a USB drive with the Linux version of Calibre. As cliffcoggin suggested earlier, making the Linux version work would be a better solution. I don't have the app, so can't test myself, but what you're looking for is something in the file open dialogue which goes to Computer or some such. This will be the equivalent of selecting File System in File Manager (or Z: in Wine), i.e., take you to the root of the file system. From there, navigate to the USB drive as I outlined above, i.e., media > user > device.
Unfortunately, for this activity, I can't just manually select/open a file on the USB-connected device. I need for Calibre to detect the Kobo reader.

Post Reply

Return to “Newbie Questions”