Get nxcEditor at SourceForge.net. Fast, secure and Free Open Source software downloads



Home     Downloads     Installation     Support     Changes

Installation
  1. Installation for a user group (since version 0.1.4)

    1. Download the nxcEditor (32 bit, 64 bit or Raspberry Pi)

      • if you choose an executable nxcEditor-file, then you have to install “gambas3“, “sox”, "zip", "sftp" and “ImageMagick
      • possibly a repository for Gambas3 must be added or Gambas3 must be compiled from source
      • for the new Gambas3 repositories (e.g. Ubuntu) look at gambas.sourceforge.net
      • for compiling Gambas3 from source for the Raspberry Pi look at (unnecessary for current images): Gambas3_install.pdf

    2. Copy “70-nxt.rules” in folder /etc/udev/rules.d

    3. Inside a terminal:
      • create the group nxt with:
        groupadd nxt
      • add the user USERNAME to the group:
        usermod -a -G nxt USERNAME


  2. Installation for all users of the computer or one user

    1. Download the nxcEditor (32 bit, 64 bit or Raspberry Pi)

      • if you choose an executable nxcEditor-file, then you have to install “gambas3“, “sox”, "zip", "sftp" and “ImageMagick
      • possibly a repository for Gambas3 must be added or Gambas3 must be compiled from source
      • for the new Gambas3 repositories (e.g. Ubuntu) look at gambas.sourceforge.net
      • for compiling Gambas3 from source for the Raspberry Pi look at (unnecessary for current images): Gambas3_install.pdf

    2. Copy as root “nbc” and “nexttool” to the folder “/usr/local/bin” (permissions: make them executable).

      Attention: There is one version for 32 bit Linux, one for 64 bit Linux and one for the Raspberry Pi (see below: Downloads). If you want to use the 32 bit version with 64 bit Linux, you need ia32-libs for Ubuntu/Mint/Debian (thanks to Paul Cobbaut for this important hint). Use in this case libusb-0_1-4-32bit for openSUSE. For the installation the software package management can be used.

    3. Add two lines at the end of the sudoers file (/etc/sudoers). Use visudo as root inside a terminal. “USERNAME“ must be replaced with the name of the user.

    4. USERNAME ALL = NOPASSWD: /usr/local/bin/nbc
      USERNAME ALL = NOPASSWD: /usr/local/bin/nexttool

      or

      ALL ALL = NOPASSWD: /usr/local/bin/nbc
      ALL ALL = NOPASSWD: /usr/local/bin/nexttool

      Attention: The sudoers file will only work with exactly
      this permissions: r-- r-- --- (440)

    5. Copy “70-nxt.rules” in folder /etc/udev/rules.d (not required for Ubuntu)


  3. Additional installation instructions for the BrickPi Robot: Instructions

You can copy a new version of the nxcEditor to the directory /usr/local/bin/ of the live system (do this as root). The file must be renamed in “nxcEditor.gambas“ and made ​​executable.