Documentation > Tips and Tricks

installing calibre (book reader) in Nutix8.2+

(1/3) > >>

Nutix is installed on a 16Gb ext4 partition (sda5), totally occupying an extended partition (sda2), while sda1 is a larger (boot) partition occupied by an ubuntu 16.04-derived distro. Thus, a dual boot. Trying to install calibre 2.77 ( from the command-line, after installing xdg-utils and wget, installation fails. Below is the error report 

<Downloaded 62058756 bytes
Checking downloaded file integrity...
Extracting files to /opt/calibre ...
Extracting application files...
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "<string>", line 673, in main
  File "<string>", line 658, in run_installer
  File "<string>", line 638, in download_and_extract
  File "<string>", line 610, in extract_tarball
  File "/usr/lib/python2.7/", line 711, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/", line 1343, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory>

Any suggestion as to how to edit /usr/lib/python2.7/ Thanks in advance, aarn

You try to install / compile the package caliber without installing it's dependencies

Maybe, you need to read the documentation before.

You can find them at the bottom of this page:

Mmm, nothing is straight forward, calibre asks for must install... then dependencies... then ??? haha

Some progress being made, have downloaded tarballs of four remaining dependencies... but trying to unpack:
<sudo tar -xvzf optipng-0.7.4.tar.gz
sudo: tar: command not found>

Have used $cd to get to the Download directory, then ls -F to show contents.  Is there an alternate command to <tar>, or does something need to be installed prior to using that command? Thanks in advance, aarn

I advise you to read the documentation available on the web site.

You are lucky, it's week-end, So I give a summary below:

First of all:

Because you already have a NuTyX Up and running with everything you need BUT NOT THE DEVELOPMENT packages, you HAVE to do all your packages in a chroot environment, a chroot have many big advantages, it will not break your main NuTyX, it isolate your work, you are sure to start from a clean NuTyX. So let's go:


--- Code: ---nu
--- End code ---
Enter your password
Type: root
Enter a new password and confirm. You're done.
0. Switch into root:

--- Code: ---su -
--- End code ---
Enter your password created above
1. Install the chroot in the default place which is in /mnt/hd

--- Code: ---install-nutyx
--- End code ---

2.When done, enter into your chroot:

--- Code: ---install-nutyx -ec
--- End code ---

3. Install all the devel packages (including tar)

--- Code: ---get cards.devel
--- End code ---

4, Get all the receipes of available nutyxpackages

--- Code: ---ports -u
--- End code ---

5. Create a personnal directory for your own recipes

--- Code: ---mkdir /usr/ports/perso
--- End code ---

6. Create a proper /etc/cards.conf file

--- Code: ---echo "dir /usr/ports/perso
dir /usr/ports/gui-extra
dir /usr/ports/gui
dir /usr/ports/cli-extra
dir /usr/ports/cli
dir /usr/ports/base-extra
dir /usr/ports/base
base /usr/ports/base
base /usr/ports/base-extra
logdir /var/log/pkgbuild" > /etc/cards.conf
--- End code ---

Now you are ready to build your own packages. More info will follow when you acknowledge this post


[0] Message Index

[#] Next page

Go to full version