System Preparation

The following section will explain how to setup a Cubietruck. It will not cover every detail but will give a good overview on the important steps.

Display, mouse and keyboard are not needed.


For the Cubietruck we use Cubian SD Image (actually version Cubian-desktop-r1-a20-ct). You can download it from here:

System Installation

Unpack the 7z file to get the img file
Use Win32DiskImager ( to bring the image to the SD card. You need at least a 4GB SD card.
Put the SD card in the Cubietruck und power it on

System Preparation

Connect to 'cubian' vie SSH (Port 36000, User cubie, Password cubie)
Bring Cubian to the NAND-Flash ...
sudo bash (Password cubie)
Get a PGP Key for debian:
wget -O - | apt-key add -
Update the software package lists
apt-get update
Update the installed software packages (this may take a while)
apt-get dist-upgrade
Get the Script for NAND Install
apt-get install cubian-nandinstall
Run the Script for NAND Install (takes about 10 minutes)
If the script finished it will shut down your Cubietruck (after you enter Y).
Remove the SD card and power on the Cubietruck again. It should boot from NAND now.
Set Timezone
sudo dpkg-reconfigure tzdata
Locales in English (en_US.UTF-8)
sudo dpkg-reconfigure locales
Kernel update
sudo apt-get update && sudo apt-get install cubian-update


If you get messages like this:

locale: Cannot set LC_CTYPE to default locale: No such file or directory

locale: Cannot set LC_MESSAGES to default locale: No such file or directory

locale: Cannot set LC_ALL to default locale: No such file or directory

try to reinstall the locales:
sudo apt-get install --reinstall locales

Software Install / Update

Install some additional useful packages (maybe some are preinstalled)
sudo apt-get install sudoku htop git build-essential autoconf automake screen curl binutils  
(It's always a good idea to have Sudoku installed :-)


General Information about Debian software installation / updates

Cubian Webpage

Very good Tutorial how to install Cubian (German)

Send feedback on this topic
Copyright (C) 2013-2014 Dominik Schmidt / Holger Hemmecke. All rights reserved.