본문 바로가기

Linux

How install ROS kinetic 1. Settings a) setup source listsudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' b) setup keysudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116 c) update ubuntusudo apt-get update 2. Installsudo apt-get install ros-kinetic-desktop-full 3. post setting a) i.. 더보기
How to use shell script Example 1 #! /bin/bash # $ sudo chmod +x gps_init.sh# $ ./gps_init.sh echo ">> print usb port info ... "dmesg | grep ttyecho " ---------------------------- "echo ">> insert com port number :"read comportecho ">> assign permission to use /dev/ttyUSB${comport}"sudo chmod 777 /dev/ttyUSB${comport}echo ">> run advanced_navigation_driver_node"gnome-terminal --command "rosrun advanced_navigation_drive.. 더보기
how to install chrome on ubuntu 1. download a package from the google chrome webpage. The name of the downloaded file may be 'google-chrome-stable_current_amd64.deb'. 2. If you faced an installation error, it may be because of library dependency. 3. follow me $ sudo apt-get upgrade$ sudo apt-get -f install $ sudo apt-get install libgconf2-4 libnss3-1d libxss1$ sudo dpkg -i google*.deb 더보기
[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.. 더보기
How to set anaconda python as default ** 우분투에서 아나콘다 파이썬을 기본 파이썬으로 설정 ** step1) open a terminal step2) edit bashrc file by typing$ gedit ~/.bashrc step3) add the following comment at the bottom of the file## ANACONDAexport PATH=/home/dooseop/anaconda3/bin:${PATH} step4) close the terminal and open again, and check $which python-> /home/username/anaconda3/bin/python 더보기
[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.. 더보기