Posts

How to install IDLE (python 2.7 editor) on Ubuntu system. Add IDLE Open With shortcut.

Image
1. Install IDLE   $ sudo apt-get install idle                                 2. Set IDLE option   $ sudo gedit /usr/share/applications/idle.desktop   Before After : Add %F after Exec=/usr/bin/idle 3. Add  Open With  shortcut for  IDLE    Right click on .py file  -> Open With -> Other Applications...   -> View All Application -> Select IDLE -> Click 'Select' button 4. Check 'Open With'

How to install TensorFlow on your Ubuntu system

Image
0. Environment   Ubuntu 16.04 LTS   Python 2.7 1. Install Command   $ sudo pip install numpy==1.14.5                                                                  $ sudo pip install mock==0.7.2           <--  Downgrade for handling syntax error    $ sudo pip install tensorflow==1.14.0                                                           2. Test   $ python                                     >>> import tensorflow                  >>...

How to install 'pip' on Ubuntu 16.04

Image
1. First, check the pip version.   $ pip --version 2. If pip is not installed, install pip with the following command:   $ sudo apt-get install python-pip 3. Finally, check the installed version of pip.    $ pip --version

Android Studio 설치 방법

Image
1. 저장소 설정 $ sudo apt-add-repository ppa:maarten-fonville/android-studio 2. Android Studio 설치 $ sudo apt-get update $ sudo apt-get install android-studio 설치 진행 중 openjdk 오류가 발생하고 설치 과정이 미완결된다. /var/cache/apt/archives/openjdk-9-jdk_9~b114-0ubuntu1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) 이때 다음 명령어를 실행하고 $ sudo apt-get -o Dpkg::Options::="--force-overwrite" install openjdk-9-jdk 다시  sudo apt-get install android-studio  명령어를 수행한다. 그러면 설치가 완료됐다는 메세지가 나온다. 3. Android Studio 초기 실행 및 SDK 초기 셋팅 $ /opt/android-studio/bin/studio.sh 처음 설치하는 경우에는 두번째 항목을 선택하고 OK 버튼을 클릭한다. 최초 실행할 때는 개발 환경 셋업을 위한 Wizard가 실행된다. 설치 유형은 Standard를 선택한다. Editor의 UI를 선택한다. 설치될 SDK 구성을 확인하고 Next를 클릭한다. Emulator Setting관련 메세지를 확인하고 Finish를 클릭한다. SDK 다운로드 및 설치가 진행된다. 설치가 완료되면 Finish를 클릭한다. 위 과정이 끝나고 다음 창이 나타나면 기본적인 설치는 완료된 것이다. 4. Create Desktop Entry 설정 Welcome 창 오른쪽 하단에 있는 Configure에서 Create Desktop E...

Ubuntu Remote Desktop Configuration with Google VNC

Image
This section describes how to remotely connect to Ubuntu OS from Windows OS. 1. System Environment    Windows 10    Ubuntu 16.04 LTS 2. Ubuntu Side Setting    Run the Desktop Sharing program installed by default on Ubuntu.    Refer to the below window for the setting.    Run the following command in the Ubuntu terminal. $ sudo apt-get -y install dconf-tools $ dconf write /org/gnome/desktop/remote-access/require-encryption false 3. Windows Side Setting    Install Google Chrome VNC.   Run Google Chrome VNC and write down your Ubuntu PC's IP and click the Connect button.   Enter your Desktop Sharing password of the Ubuntu PC and click the OK button.   When the Unencrypted Connection window appears, make the desired settings and click the Connect button.    Finally, you will see the Ubuntu screen.

ROS: Create Workspace and Package (C++)

Image
1. Create Workspace $ mkdir -p ~/catkin_ws/src $ cd ~/catkin_ws/src $ catkin_init_workspace $ cd ~/catkin_ws $ catkin_make 2. Create Package $ cd ~/catkin_ws/src $ catkin_create_pkg my_first_ros_pkg std_msgs roscpp

Blogger에 highlight.js 추가

Image
1. 블로그 관리 페이지: [테마] -> [HTML] 편집 2. <head> ... </head>에 아래 코드 삽입. </head> 바로 위. 3. 글쓰기 모드에서 [HTML] 편집기 선택 후 <pre><code>...</code></pre> 사이에 코드 작성. <pre><code>      "hello world!" </code></pre> 4. 최종 결과 "hello world!"