본문 바로가기

ubuntu

Install OpenCV + Cuda + cuDNN + TensorRT on Ubuntu 18.04 1. Install OpenCV a) install required packages $ sudo apt-get install build-essential cmake $ sudo apt-get install pkg-config $ sudo apt-get install libjpeg-dev libtiff5-dev libpng-dev $ sudo apt-get install ffmpeg libavcodec-dev libavformat-dev libswscale-dev libxvidcore-dev libx264-dev libxine2-dev $ sudo apt-get install libv4l-dev v4l-utils $ sudo apt-get install libgstreamer1.0-dev libgstrea.. 더보기
[Nvidia] graphic card driver installation fail error. "Kernel module failed to build" error. ** GTX 1070 엔비디아 그래픽카드 우분투 설치 오류 On my desktop, Ubuntu 16.04LTS is installed as OS. Sometime, I fall into infinite log-in error (See 2017/07/18 - [Linux] - [nvidia] How to deal with infinite log-in error). Everytime I meet the same error, I used to re-install graphic card driver (GTX 1070). Today, the same error occurs surely. So I tried to re-install graphic card driver using the file "NVIDIA-L.. 더보기
[nvidia] How to deal with infinite log-in error ** 우분투 무한 로그인 에러 해결 ** Background : ubuntu16.04LTS + gtx1070 After installing GPU driver (downloaded from NVIDIA homepage) on ubuntu, I sometimes encounter 'infinite log-in error'. This is my temporary solution. "Just re-install" step1) open terminal by typing 'ctrl+alt+f1' step2) type password for log-in step3) move to directory where the graphic card driver installation file exists. (NVIDIA-XX.. 더보기
How to install TORCS on ubuntu 16.04LTS ** 우분투에서 TORCS 설치 ** Background: ubuntu16.04LTS + torcs-1.3.6 step1) install required open source libraries ● Hardware accelerated OpenGL (freeglut, freeglut-dev) 1) make sure c complier such as gcc has installed in Ubuntu $sudo apt-get install gcc # already installed in Ubuntu 2) make sure you have the following packages installed $xrandr --version # header files for x11, already installed in U.. 더보기
[opencv] how to install opencv on ubuntu ** 우분투에서 opencv 설치하기 ** Background: ubuntu16.04LTS + python 2.7 step1) install required libraries (See http://www.pyimagesearch.com/2016/10/24/ubuntu-16-04-how-to-install-opencv/) step2) download opencv source from terminal $ cd ~$ wget -0 opencv.zip https://github.com/Itseez/opencv/archive/3.2.0.zip$ unzip opencv.zip step3) Do cmake. (In my case, the option "D WITH_FFMPEG=OFF" is essential for .. 더보기