Skip to main content

Install KOCIEMBA to ARMBIAN BIONIC

 Kociemba is a close to perfect rubik's cube solver algorithm, implemented in both python and C. For detail read https://github.com/muodov/kociemba. However, that README said you have to install libffi-dev is not appliable on Armbian. This is the sequence I used to install koiemba to OrangePi Lite.

~$ sudo apt-get install python3-dev
~$ sudo apt-get install python3-pip
~$ sudo apt-get install python3-tk
~$ sudo apt-get install libffi-dev
~$ pip3 install setuptools
~$ pip3 install wheel 
~$ pip3 install cffi
~$ pip3 install kociemba


 LEE SIR
26 september 2019
Islamabad, Pakistan


Update 2020-02-09@Hong Kong: Add "sudo apt-get install python3-tk"

Comments

Popular posts from this blog

Install/Setup Xfce and TightVNC to Armbian OrangePi

Following https://www.instructables.com/id/The-OrangePi-Lite/ , the next instruction after network started is usually VNC server setup. Many Internet resources suggested TightVNC, an open source software for this purpose. However, Armbian distribution for OrangePi does not include any X window desktop, therefore install TightVNC itself is just half of the journey. This is how I complete the work. 1. Make sure Armbian is updated: sudo apt-get update sudo apt-get upgrade 2. Install XFont used by TightVNC server sudo apt-get install xfonts-base 3. Install TightVNC server sudo apt-get install tightvncserver 4. Create a user dedicate for this service. I use user ID 'vnc' sudo adduser vnc gpasswd -a vnc sudo 5. Setup this user for VNC server, vncserver :1 We need to assign a password. No need to specify a view-only password. Use the command to confirm the server is running and the default options applied ps -ef | grep Xtightvnc 6. VNC Client can now conn

Configure OrangePi Lite WiFi

There are many websites and Youtube videos show you how to install Armbian to OrangePi with a SD-card. There are many ways to connect to the initial console of the device. Most of them tell you to utilize the LAN interface. This is a quick and easy method, however, my OrangePi Lite simply lacks a LAN interface. We need to setup Wifi before we can use it for console connection. But without the console how can we setup Wifi connection? Finally I used a USB to TTL device. With only 3 wires I connected the device to OrangePi: Rx-Tx, Tx-Rx, and GND-GND. Then I can use PuTTY to bring up the console thru SSH. Up to this point basically I am following this website: https://www.instructables.com/id/The-OrangePi-Lite/ . I continued with the instructions and successfully connect to WiFi, but puzzle why I have do that with so many manual editings. Especially when I edit the /etc/network/interface file, it has a remark say "# Network is managed by Network manage". My question is can N

When armbian-config works

I wrote several messages about the basic setup of Armbian on OrangePi. All of them were using line commands. Along the self-learning path, someday I found that there is armbian-config command that starts up a menu utility, roughly corresponds to raspi-config utility. However, before this Armbian version (20.02.1, Armbian Stretch for OrangePi Lite 2), I have a tough time dealing with this utility. Until today, I can say armbian-config works now. Therefore, many things can now be done in a menu-driven approach. Because I never lay down any can-opener style startup notes, this is the guide: Download an Armbian software from Armbian website. You will get a 7z zipped file in your downloads directory. Unzip the file. I just use 7zip Unzip Here feature. Use an SD card writer program (like Win32DiskImager) to write the unzipped file into the SD card. Connect OrangePi debug port to TTL-USB device. Connect USB to the computer, and startup PuTTY, open the connected USB COM port, with sp