Brick Viewer Installation on Linux – Tinkerforge

- Getting Started
  - Primer
  - Tutorials
  - FAQ
- Hardware
  - Bricks
  - Bricklets
  - Master Extensions
  - Power Supplies
  - Accessories
  - Timeline
- Software
  - Brick Daemon (brickd)
  - Brick Viewer (brickv)
    - Installation
      - Windows
      - Linux
        - Debian Package
        - From Source
      - Mac OS X
    - Usage
    - Determine Software Versions / Search for Updates
    - Brick Firmware Flashing
    - Bricklet Plugin Flashing
    - Brick ADC Calibration
  - API Bindings
  - Firmwares and Plugins
  - Device Identifier
  - Source Code and Bug Tracking
  - Programming Interface
- Starter Kits
  - Weather Station
  - Hardware Hacking
  - Server Room Monitoring
  - Blinkenlights
  - Internet of Things
  - Camera Slider
- Embedded Boards
  - Raspberry Pi
- Specifications
  - Technical Data
  - TCP/IP Protocol
  - Modbus Protocol
  - Wireshark Dissector

# Brick Viewer Installation on Linux

The Brick Viewer can be installed on Debian based distribution (Ubuntu, Mint, etc.) from a `.deb` file. On other distributions it can be installed from source.

## Debian Package

First, download the Brick Viewer `.deb` from here. Right-click on the file and choose "Open with GDebi Package Installer":

Then click "Install Package":

Ready:

In Ubuntu you can also use the Ubuntu Software Center, other Desktop environments have very similar tools that practically work the same way. You can start the Brick Viewer in the application menu under electronic or in a terminal with:

    brickv

To install Brick Viewer from the terminal use the following:

    wget http://download.tinkerforge.com/tools/brickv/linux/brickv_linux_latest.deb
    sudo apt-get install python python-qt4 python-qt4-gl python-opengl python-serial
    sudo dpkg -i brickv_linux_latest.deb

## From Source

To install Brick Viewer from source, download the source from here and install the dependencies:

- python
- python-qt4
- python-qt4-gl
- python-opengl
- python-serial
- pyqt4-dev-tools

On Debian based distributions you install them via `apt-get`. On other distribution you have to search for and install the equivalent packages:

    sudo apt-get install python python-qt4 python-qt4-gl python-opengl python-serial pyqt4-dev-tools

First you have to build the Qt `.ui` files (you'll need `pyuic4` for that), change to the folder `src/` and run:

    python build_all_ui.py

After that you should be able to start brickv from source, change to the folder `src/brickv/` and start with:

    python main.py

The content of this page is licensed under Creative Commons Attribution 3.0 Unported License.