I am Charmie

メモとログ

ubuntu

CUDA 10.1 on Ubuntu 18.04

You should first check the compatibility between NVIDIA driver and CUDA here so that you can avoid installing/uninstalling wrong combinations of them. Also, you should check which version are supported by some applications. In my case, I u…

NVIDIA driver on Ubuntu 18.04

This post describes how to install an NVIDIA driver on Ubuntu 18.04. The official CUDA toolkit documentation didn't work me. I tried package manager based installation and it worked. Step 1. Disable the Nouveau driversNvidia driver install…

FLIR camera on Linux

This post describes how to use a FLIR camera on Linux (Ubuntu 16.04). Step 0 RTFMAs the camera package says, let's read the Getting Started Manual (GSM).As soon as you read the manual, you can see the manual is not up-to-date. The followin…

OpenCV-Python GUI outputs GTK related error

This stackoverflow post gives us the answer!! OpenCV for python installed on Linux (Ubuntu) by anaconda outputs GTK+2.x related error as OpenCV Error: Unspecified error (The function is not implemented. Rebuild the library with Windows, GT…

IPA fonts installation on Ubuntu 16.04

To compile Japanese document with xelatex, I decided to use IPA fonts. Download IPA font files files (*.ttf files) from here. Create a directory to save the font files as sudo mkdir /usr/share/fonts/truetype/ttf-ipa-font Copy the font file…

Leap Motion SDK installation on Ubuntu 16.04

If Leap Motion SDK installation failed with dpkg command, the site gives you the answer. Before running sudo dpkg --install Leap-*-x64.deb, we should first make a file /lib/systemd/system/leapd.service with the following contents. Otherwis…

tensorflow-gpu 1.4.0 + keras 2.1.1 on Ubuntu 16.04

Tensorflow 1.4.0 binary with CUDA 8 and cuDNN 6 Tensorflow 1.5.0 binary will be with CUDA 9 and cuDNN 7 The following procedure assumes that you use anaconda for python package manager. prepare for driver install Delete installed drivers b…

LimeSurvey: kcfinder not working

change disable = true to disable = false, at line 24 of LIMESURVEY_ROOT/third_party/kcfinder/conf/config.php.

keras installation on ubuntu 16.04 with CUDA and cuDNN

install CUDA download cuda-repo-ubuntu1604_8.0.44-1_amd64.deb from here sudo dpkg -i cuda-repo-ubuntu1604_8.0.44-1_amd64.deb sudo apt-get update sudo apt-get cuda update path settings add the following lines at the end of ~/.bashrc and typ…

cuda toolkit installation on Ubuntu 16.04 after upgrading from Ubuntu 14.04

This post explains how to upgrade cuda toolkit on ubuntu 16.04 after upgrading OS from ubuntu 14.04. I got the following error when I tried to upgrade cuda toolkit from 7.5 to 8.0 by sudo dpkg -i cuda-repo-ubuntu1604_8.0.44-1_amd64.deb on …

unable to update cuda *** on Ubuntu 14.04

You may have GPG error (NO PUBKEY) related to nvidia's cuda when you apt-get update like: GPG error: http://developer.download.nvidia.com Release: The following signatures couldn't be verified because the public key is not available: NO_PU…

OpenCV 3.1.0 for Python2.7

PYTHON2_EXECUTABLE: /opt/anaconda/anaconda2/bin/python2.7 PYTHON2_INCLUDE_DIR: /opt/anaconda/anaconda2/include PYTHON2_INCLUDE_DIR2: PYTHON2_LIBRARY: /opt/anaconda/anaconda2/lib/libpython2.7.so PYTHON2_LIBRARY_DEBUG: PYTHON2_NUMPY_INCLUDE…

Eigen 3.2.9 compilation on Ubuntu 16.04

If you face a cmake error regarding GLUT_XMU_something, try the following installation and then retry the cmake compilation. sudo apt-get install libxmu-dev libxi-dev

install Python package gurobi on Ubuntu 16.04

gurobi is a commercial optimization solver for a variety of problems such as linear programming, quadratic programming, etc. With Anaconda, you can install gurobi by two lines of commands and registering your license at the license center.…

Error of Android Studio: Cannot launch AVD in emulator

I got the following error when I booted an emulator on Android Studio: [code lang="bash"] Cannot launch AVD in emulator. Output: sh: 1: glxinfo: not found libGL error: unable to load driver: radeonsi_dri.so libGL error: driver pointer miss…

Android Studio installation on Ubuntu 16.04

[code language="bash"] JDK sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer sudo apt-get install oracle-java8-set-default Android Studio sudo apt-get install lib32stdc++6 wget and…

OpenCV 3.1.0 on Ubuntu 14.04

cmakeのバージョンを3.1.3以上にする howto With QTのチェックを外す

CMake 3.2 installation on Ubuntu 14.04

Ubuntu package manager still installs CMake 2.8 on Ubuntu 14.04. The following is a solution installing newer version of it. [code lang="bash"] sudo apt-get install software-properties-common sudo add-apt-repository ppa:george-edison55/cma…

Notepadqq on Ubuntu with Qt 5.6

Notepadqq is a Notepad++ like editor for Ubuntu. How to install: [code lang="bash"] sudo add-apt-repository ppa:notepadqq-team/notepadqq sudo apt-get update sudo apt-get install notepadqq [/code] Notepadqq shows a pop-up window saying that…

Remote Desktop Environment (RDP) installation no Ubuntu 14.04

xrdp and lxde enables remote desktop access to Ubuntu from Windows. [code lang="bash"] install sudo apt-get install xrdp sudo apt-get install lubuntu-desktop lxde settings echo lxsession -s LXDE -e LXDE > ~/.xsession change crypt_level fro…

install Anaconda for all users on Ubuntu 14.04

Change the install location from default directory to another directory where all users can access. In my case, : default install directory: /home/oyamada/anaconda2 customized install directory: /opt/anaconda/anaconda2 Add the customized i…

setup virtual environment (Ubuntu 14.04) on Windows 10

The procedure is like install VirtualBox install Vagrant (ver. 1.8.1) setup Vagrant You can see a list of available OS here. The above 3rd step is executed via command prompt as follows: [code lang="bash"] install OS vagrant box add ubuntu…

Notes on OpenCV-Python on Ubuntu

If PYTHON2_NUMPY_INCLUDE_DIRS is not found, python bindings for python2.7 is not generated. Couldn't compile with FFMPEG=ON. Turned off the flag. BUILD_opencv_python2=ON BUILD_opencv_python3=ON OPENCV_EXTRA_MODULES_PATH="CONTRIB_DIR/module…

highgui related issues of OpenCV-Python on Ubuntu 14.04

OpenCV-Python always crashed when I used highgui related functions. With Spyder, we can see only kernel crash, so I had no idea what happened. When I ran a problem from terminal, I got an error message that This application failed to start…

apt-get update error due to Chrome

edit /etc/apt/sources.list.d/google-chrome.list as a superuser change the line as deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main then start the update sudo apt-get update

install networkx on ubuntu using anaonca

[code lang="bash"] conda install networkx conda install pydot-ng conda install graphviz [/code]

Tegaki compilation from source on Ubuntu 14.04

On Ubuntu 14.04, only mw/pygtk2 anaconda package worked with tegaki. [code lang="bash"] download source from git git clone https://github.com/tegaki/tegaki.git install all modules pip install ./tegaki-python pip install ./tegaki-pygtk pip …

Zinnia installation on Ubuntu 14.04

[code lang="bash"] sudo apt-cache search zinnia [/code] libzinnia-dev - development files for the zinnia library libzinnia-doc - documention files for the zinnia library libzinnia0 - online handwriting recognition system with machine learn…

Installation Tegaki on Ubuntu 14.04

[code lang="bash"] sudo apt-cache search tegaki [/code] ibus-tegaki - tegaki engine for IBus python-tegaki - core Python module of Tegaki python-tegaki-gtk - GTK+ widget Python model for Tegaki python-tegakitools - command-line tools for T…

Pov-Ray 3.7 installation on Ubuntu 14.04

download from the github repository and then follow the instruction. [code lang="bash"] git clone https://github.com/POV-Ray/povray.git cd povray cd unix ./prebuild.sh cd .. ./configure COMPILED_BY="your name <email@address>" make ma…