I am Charmie

メモとログ

ubuntu

Sublime Text 3 using Japanese

[code lang="bash"] install ibus-mozc sudo apt-get install -y ibus-mozc reboot ibus ibus-daemon -drx ibus-setup install ibus-mozc sudo apt-get install -y emacs-mozc [/code] Run sublime text 3 and menu->View->Show Console [code lang="bash"] …

python 2.7 + OpenCV 3.0.0 on Ubuntu using Anaconda

install anaconda install python packages download OpenCV 3.0.0 source compile OpenCV 3.0.0 with BUILD_opencv_python2 ON (BUILD_opencv_python3 may work with python 3 but I didn't try yet) With default settings, OpenCV package for python 2 i…

install OCR Tesseract on Ubuntu 14.04

[code lang="bash"] sudo apt-get install tesseract-ocr sudo apt-get install tesseract-ocr-eng tesseract-ocr-deu tesseract-ocr-jpn [/code]

Python installation on Ubuntu 14.04

The goal is to use Python with OpenCV under Ubuntu 14.04. The first step is to install Python and its packages. I installed a Python package manager Anaconda. [code lang="bash"] wget https://3230d63b5fc54e62148e-c95ac804525aac4b6dba79b00b3…

OpenCV VIZ module compilation with VTK in Ubuntu 14.04

OpenCV ver. 3.0 was released. I tried to compile OpenCV with VTK again and again and finally could compile it. The key was compile VTK with BUILD_SHARED_LIBS on compile OpenCV with VTK That's it!!

compile latex document written in Japanese on Ubuntu 14.04

[code language="bash"] sudo apt-get install texlive-lang-cjk uplatex -shell-escape %s.tex pbibtex %s.tex uplatex -shell-escape %s.tex uplatex -shell-escape %s.tex dvidfmx %s.dvi [/code]

DokuWiki on Ubuntu 14.04

Follow the installation guide. Assuming that LAMP and other dependencies have been installed. The following code might need to be executed as a superuser. [code language="bash"] cd /var/www/html wget http://download.dokuwiki.org/src/dokuwi…

skype installation on Ubuntu 14.04

software & updates > Other Softwares check "Canonical Partners" and Canonical "Partners (Source Code)" sudo apt-get update sudo apt-get -yV install skype

Installation: Android Studio on Ubuntu 14.04

install Java sudo add-apt-repository ppa'webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer install necessary libraries for 32bit sudo apt-get install libc6-i386 lib32stdc++6 lib32z1 install android studio sud…

mozc キーボードレイアウトの設定変更

Ubuntu 14.04の日本語入力でmozcを使うとキーボード配列が英語キーボードの配列になっている問題を解決.必要な処理は キーボードの選択 以下のコマンドでキーボードの設定を行う.自分が使用しているキーボードをCUIベースで設定することになる. sudo dpkg…

Import Mail from SeaMonkey to Thunderbird

I changed my mailer from lovely SeaMonkey to Thunderbird. Since I couldn't find nice guidance on the web, I copy-and-pasted all files, which of course include a lot of unnecessary files :(, from /.mozilla/seamonkey// to /.mozilla/firefox//…

Import protected password from SeaMonkey to FireFox

I changed my web browser from lovely SeaMonkey to FireFox. Following this, I could import all password settings! SeaMonkey: Ver. 2.31 FireFox: Ver. 34.0 Specifically, I copied the following files and it worked!: cert8.db cookies.sqlite for…

Import bookmark from SeaMonkey to FireFox

I changed my web browser from lovely SeaMonkey to FireFox. The versions are: SeaMonkey: Ver. 2.31 FireFox: Ver. 34.0 Specifically, I used bookmarkbackup since SeaMonkey and FireFox use same format for bookmark backup. Copy latest bookmark …

VTK 6.1.0 build on Ubuntu 14.04

following the guidance, it's easy to build VTK 6.1.0 on Ubuntu 14.04 [code language="bash"] wget http://www.vtk.org/files/release/6.1/VTK-6.1.0.tar.gz wget http://www.vtk.org/files/release/6.1/VTKData-6.1.0.tar.gz wget http://www.vtk.org/f…

PTAM on Ubuntu 14.04

This post is for compiling PTAM (Parallel Tracking and Mapping) on Ubuntu 14.04. As mentioned on the web, a cool guy published a set of script, patch, etc for PTAM easy-compile on Ubuntu and the files are available on this github. However,…

Ubuntu adobe flash playerの文字化け

[code lang="bash"] sudo apt-get install fonts-arphic-uming fc-cache -fv sudo cp /usr/share/fonts/truetype/takao-gothic/TakaoPGothic.ttf /usr/share/fonts/truetype/arphic/uming.ttc [/code] from here

Nemo file manager installation on Ubuntu 14.04

Default file manager on Ubuntu 14.04 is shit for me because the format of modified time shown on the file manager is uncustomizable. Google search told me there are two solutions, (1) compile the nautilus from the source or (2) use another…

CodeSynthesis XSD installation 2

With Ubuntu package manager, we can install both CodeSynthesis XSD and Xerces-C as [code lang="bash"] sudo apt-get install libxerces-c-dev sudo apt-get install xsdcxx [/code] To generate a class, the command xsdcxx executes code synthesis …

algorithm2e.sty not found with texlive

sudo apt-get install texlive-science

Boost installation on Ubuntu 14.04 LTS

My previous post mentions how to install Boost C++ library 1.53 on Ubuntu, specifically Ubuntu 12.04 LTS since Boost installation using official package manager installs Boost 1.37 (or later but younger than 1.50). Installation on Ubuntu 1…

script for install OpenGM on Ubuntu

The following script downloads the source code of OpenGM it, and installs it. sudo apt-get -yV install libhdf5-serial-dev wget https://github.com/opengm/opengm/archive/master.zip -O opengm-master.zip unzip opengm-master.zip mkdir opengm-bu…

script for install libDAI on Ubuntu

The following script downloads the source code of libDAI it, and installs it. wget https://github.com/yesimon/libDAI/archive/master.zip -O libdai-master.zip unzip libdai-master.zip mkdir libdai-build cd libdai-build cmake ../libDAI-master …

script for install TinyXML2 on Ubuntu

The following script downloads the source code of TinyXML2, compiles it, and installs it. wget https://github.com/leethomason/tinyxml2/archive/master.zip -O tinyxml2-master.zip # download the source code unzip tinyxml2-master.zip mkdir tin…

play DVD with VLC player on Ubuntu

the following settings are required: sudo apt-get -yV install libdvdread4 sudo /usr/share/doc/libdvdread4/install-css.sh

VirtualBox installation on Ubuntu 12.04

this is not on VirtualBox installation on Ubuntu 12.04, which is based on this. sudo apt-get -yV install dkms sudo gedit /etc/apt/sources.list # add the following line at the end of /etc/apt/sources.list deb http://download.virtualbox.org/…

PlayOnLinux

PlayOnLinux is a software for Linux with which we can play software/applications for Windows on Linux. PlayOnLinux uses wine to enable to use software for Windows. We don't have to install wine before installing PlayOnLinux because PlayOnL…

Install a pdf viewer qpdfview on Ubuntu

qpdfview is a pdf viewer, which provides tab-browsing and copying pdf document as a picture. sudo apt-add-repository ppa:b-eltzner/qpdfview sudo apt-get update sudo apt-get -yV install qpdfview

Ubuntu: change default applications

Default applications for each file type are set in a text file /usr/share/applications/defaults.list . In the file, an application is assigned to each file type as a default application as text/plain=gedit.desktop The above line means that…

Install Mozc

Install mozc sudo apt-get -yV install ibus-mozc run ibus as a startup Dash -> Startup -> Add command: ibus-daemon -drx

Install CImg library on Ubuntu

CImg is a c++ template library for image processing provided as a huge but single header file. sudo apt-get install cimg-dev cimg-doc cimg-examples