ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • [Tizen] 우분투에 타이젠 플랫폼 툴인 gbs & sdb 설치해보기
    IT/Tizen 2015. 6. 4. 23:17

    타이젠 SDK만으로는,

    타이젠 플랫폼 자체를 개발하기에는 아무래도 어려움이 있습니다.

    타이젠 SDK에서는 타이젠의 모든 피쳐를 사용할 수 없으니까요.

    Public으로 제한된 피쳐만 사용할 수 있지요.


    따라서 플랫폼 자체를 개발하기 위해서는,

    SDK 환경에서 벗어나,

    - Private 피쳐를 포함하여 소스를 빌드하고

    - 타겟에 설치할 툴체인이 필요합니다.


    타이젠 플랫폼은 그러한 개발툴마저 오픈하였기에,

    누구나 다운로드 받아 사용할 수 있습니다.



    안녕하세요, Tizen 개발자 윤진입니다.


    본 포스팅은 타이젠 플랫폼을 개발하기 위한 개발자를 위한 포스팅입니다.

    타이젠 앱을 개발하려면 타이젠 SDK만으로도 충분하죠~


    우분투 15.04버전에서 gbs 설치시 발생하는 문제는 아래 포스팅을 참고해주세요.

    [Tizen] 우분투 15.04에서 gbs 실행에러 처리


    gbs에 대한 추가정보는 아래 포스팅을 참고해주세요.

    [Tizen] 타이젠 gbs의 모든 것


    타이젠 플랫폼의 툴체인은 아래 주소에서 받을 수 있습니다.

    http://download.tizen.org/tools/latest-release/


    - CentOS 6

    - Debian 7

    - Fedora 19

    - Fedora 20

    - Ubuntu 12.04

    - Ubuntu 14.04

    - Ubuntu 14.10

    - openSUSE 12.3

    - openSUSE 13.1

    위의 리스트에서 자신에 맞는 OS를 선택하시면 여러 툴 파일을 보실 수 있습니다.


    물론, 여기서 직접 다운로드 받아도 되겠지만,

    (우분투의 경우) 우분투 패키징 시스템으로 관리하는게 낫겠지요?

    다른 패키지들과 함께 업데이트도 하고 말이죠~


    그렇게 하기 위해서는 APT 툴로 패키지를 설치할 수 있도록

    APT 소스 리스트에 타이젠 다운로드 사이트를 추가해주어야 합니다.


    - Cent OS 6

    $ cat /etc/apt/sources.list.d/tizen.list
    deb http://download.tizen.org/tools/latest-release/CentOS_6/ /


    - Debian 7

    $ cat /etc/apt/sources.list.d/tizen.list
    deb http://download.tizen.org/tools/latest-release/Debian_7/ /


    - Fedora 19

    $ cat /etc/apt/sources.list.d/tizen.list
    deb http://download.tizen.org/tools/latest-release/Fedora_19/ /


    - Fedora 20

    $ cat /etc/apt/sources.list.d/tizen.list
    deb http://download.tizen.org/tools/latest-release/Fedora_20/ /


    - Ubuntu 12.04

    $ cat /etc/apt/sources.list.d/tizen.list
    deb http://download.tizen.org/tools/latest-release/Ubuntu_12.04/ /


    - Ubuntu 14.04

    $ cat /etc/apt/sources.list.d/tizen.list
    deb http://download.tizen.org/tools/latest-release/Ubuntu_14.04/ /


    - Ubuntu 14.10

    $ cat /etc/apt/sources.list.d/tizen.list
    deb http://download.tizen.org/tools/latest-release/Ubuntu_14.10/ /


    - openSUSE 12.3

    $ cat /etc/apt/sources.list.d/tizen.list
    deb http://download.tizen.org/tools/latest-release/openSUSE_12.3/ /


    - openSUSE 13.1

    $ cat /etc/apt/sources.list.d/tizen.list
    deb http://download.tizen.org/tools/latest-release/openSUSE_13.1/ /


    위와 같이 소스 리스트에 타이젠 다운로드 사이트를 추가해주면 됩니다.

    혹은 아래 파일을 다운로드 받으셔서 /etc/apt/sources.list.d/ 에 설치해주세요.

    tizen.list

    그리고 소스 리스트를 아래처럼 갱신해보죠.


    $ sudo apt-get update
    무시http://kr.archive.ubuntu.com trusty InRelease
    무시http://kr.archive.ubuntu.com trusty-updates InRelease                     
    무시http://kr.archive.ubuntu.com trusty-backports InRelease                   
    기존 http://kr.archive.ubuntu.com trusty Release.gpg                          
    기존 http://kr.archive.ubuntu.com trusty-updates Release.gpg                  
    기존 http://kr.archive.ubuntu.com trusty-backports Release.gpg                
    기존 http://kr.archive.ubuntu.com trusty Release                              
    기존 http://kr.archive.ubuntu.com trusty-updates Release                      
    기존 http://kr.archive.ubuntu.com trusty-backports Release                    
    기존 http://kr.archive.ubuntu.com trusty/main Sources                         
    기존 http://kr.archive.ubuntu.com trusty/restricted Sources                   
    기존 http://kr.archive.ubuntu.com trusty/universe Sources                     
    기존 http://kr.archive.ubuntu.com trusty/multiverse Sources                   
    기존 http://kr.archive.ubuntu.com trusty/main i386 Packages                   
    기존 http://kr.archive.ubuntu.com trusty/restricted i386 Packages             
    기존 http://kr.archive.ubuntu.com trusty/universe i386 Packages               
    기존 http://kr.archive.ubuntu.com trusty/multiverse i386 Packages             
    무시http://download.tizen.org  InRelease                                      
    기존 http://kr.archive.ubuntu.com trusty/main Translation-ko                  
    기존 http://kr.archive.ubuntu.com trusty/main Translation-en                  
    무시http://security.ubuntu.com trusty-security InRelease                      
    기존 http://kr.archive.ubuntu.com trusty/multiverse Translation-en            
    기존 http://kr.archive.ubuntu.com trusty/restricted Translation-ko            
    기존 http://kr.archive.ubuntu.com trusty/restricted Translation-en            
    기존 http://kr.archive.ubuntu.com trusty/universe Translation-ko              
    기존 http://kr.archive.ubuntu.com trusty/universe Translation-en              
    기존 http://kr.archive.ubuntu.com trusty-updates/main Sources                 
    무시http://download.tizen.org  Release.gpg                                    
    기존 http://kr.archive.ubuntu.com trusty-updates/restricted Sources           
    기존 http://kr.archive.ubuntu.com trusty-updates/universe Sources             
    기존 http://kr.archive.ubuntu.com trusty-updates/multiverse Sources           
    기존 http://kr.archive.ubuntu.com trusty-updates/main i386 Packages           
    기존 http://kr.archive.ubuntu.com trusty-updates/restricted i386 Packages     
    기존 http://kr.archive.ubuntu.com trusty-updates/universe i386 Packages       
    기존 http://kr.archive.ubuntu.com trusty-updates/multiverse i386 Packages     
    기존 http://kr.archive.ubuntu.com trusty-updates/main Translation-en          
    기존 http://kr.archive.ubuntu.com trusty-updates/multiverse Translation-en    
    받기:1 http://security.ubuntu.com trusty-security Release.gpg [933 B]         
    기존 http://kr.archive.ubuntu.com trusty-updates/restricted Translation-en    
    기존 http://kr.archive.ubuntu.com trusty-updates/universe Translation-en      
    기존 http://kr.archive.ubuntu.com trusty-backports/main Sources               
    기존 http://kr.archive.ubuntu.com trusty-backports/restricted Sources         
    기존 http://kr.archive.ubuntu.com trusty-backports/universe Sources           
    받기:2 http://download.tizen.org  Release [1,031 B]                           
    기존 http://kr.archive.ubuntu.com trusty-backports/multiverse Sources         
    기존 http://kr.archive.ubuntu.com trusty-backports/main i386 Packages         
    무시http://extras.ubuntu.com trusty InRelease                                 
    기존 http://kr.archive.ubuntu.com trusty-backports/restricted i386 Packages   
    기존 http://kr.archive.ubuntu.com trusty-backports/universe i386 Packages     
    기존 http://kr.archive.ubuntu.com trusty-backports/multiverse i386 Packages   
    기존 http://kr.archive.ubuntu.com trusty-backports/main Translation-en        
    기존 http://kr.archive.ubuntu.com trusty-backports/multiverse Translation-en  
    기존 http://kr.archive.ubuntu.com trusty-backports/restricted Translation-en  
    기존 http://kr.archive.ubuntu.com trusty-backports/universe Translation-en    
    받기:3 http://security.ubuntu.com trusty-security Release [63.5 kB]           
    무시http://kr.archive.ubuntu.com trusty/main Translation-ko_KR                
    무시http://kr.archive.ubuntu.com trusty/multiverse Translation-ko_KR          
    무시http://kr.archive.ubuntu.com trusty/multiverse Translation-ko             
    무시http://kr.archive.ubuntu.com trusty/restricted Translation-ko_KR          
    무시http://kr.archive.ubuntu.com trusty/universe Translation-ko_KR            
    기존 http://extras.ubuntu.com trusty Release.gpg                              
    기존 http://extras.ubuntu.com trusty Release                                  
    받기:4 http://security.ubuntu.com trusty-security/main Sources [83.9 kB]      
    기존 http://extras.ubuntu.com trusty/main Sources                             
    기존 http://extras.ubuntu.com trusty/main i386 Packages                       
    받기:5 http://security.ubuntu.com trusty-security/restricted Sources [2,061 B]
    받기:6 http://security.ubuntu.com trusty-security/universe Sources [25.2 kB]  
    받기:7 http://security.ubuntu.com trusty-security/multiverse Sources [2,333 B]
    받기:8 http://security.ubuntu.com trusty-security/main i386 Packages [270 kB] 
    받기:9 http://download.tizen.org  Packages [12.1 kB]                          
    받기:10 http://security.ubuntu.com trusty-security/restricted i386 Packages [8,846 B]
    받기:11 http://security.ubuntu.com trusty-security/universe i386 Packages [107 kB]
    받기:12 http://security.ubuntu.com trusty-security/multiverse i386 Packages [3,840 B]
    무시http://download.tizen.org  Translation-ko_KR                              
    기존 http://security.ubuntu.com trusty-security/main Translation-en           
    무시http://download.tizen.org  Translation-ko                                 
    기존 http://security.ubuntu.com trusty-security/multiverse Translation-en     
    무시http://download.tizen.org  Translation-en                                 
    기존 http://security.ubuntu.com trusty-security/restricted Translation-en     
    기존 http://security.ubuntu.com trusty-security/universe Translation-en       
    무시http://extras.ubuntu.com trusty/main Translation-ko_KR                    
    무시http://extras.ubuntu.com trusty/main Translation-ko           
    무시http://extras.ubuntu.com trusty/main Translation-en           
    내려받기 580 k바이트, 소요시간 7초 (80.6 k바이트/초)                          
    패키지 목록을 읽는 중입니다... 완료


    중간에 http://download.tizen.org도 보이네요.

    업데이트가 완료되었다면,

    이제 타이젠 플랫폼 툴인 gbs와 sdb를 설치할 수 있습니다.


    $ sudo apt-get install gbs sdb
    패키지 목록을 읽는 중입니다... 완료
    의존성 트리를 만드는 중입니다      
    상태 정보를 읽는 중입니다... 완료
    다음 패키지가 자동으로 설치되었지만 더 이상 필요하지 않습니다:
      cli-common libicsharpcode-nrefactory-cecil5.0-cil
      libicsharpcode-nrefactory-csharp5.0-cil libicsharpcode-nrefactory5.0-cil
      libmono-cecil-private-cil libmono-corlib2.0-cil libmono-corlib4.5-cil
      libmono-i18n-west2.0-cil libmono-i18n-west4.0-cil libmono-i18n4.0-cil
      libmono-posix2.0-cil libmono-posix4.0-cil libmono-security2.0-cil
      libmono-security4.0-cil libmono-system-configuration4.0-cil
      libmono-system-core4.0-cil libmono-system-security4.0-cil
      libmono-system-xml4.0-cil libmono-system2.0-cil libmono-system4.0-cil
      mono-4.0-gac mono-gac mono-runtime mono-runtime-common mono-runtime-sgen
    Use 'apt-get autoremove' to remove them.
    다음 패키지를 더 설치할 것입니다:
      build createrepo debugedit deltarpm depanneur gbs-api gbs-export
      gbs-remotebuild git-buildpackage-common git-buildpackage-rpm
      libcommon-sense-perl libcrypt-ssleay-perl libencode-locale-perl
      libfile-listing-perl libfont-afm-perl libhtml-form-perl libhtml-format-perl
      libhtml-parser-perl libhtml-tagset-perl libhtml-template-perl
      libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl
      libhttp-message-perl libhttp-negotiate-perl libio-html-perl libjson-perl
      libjson-xs-perl liblwp-mediatypes-perl liblwp-protocol-https-perl
      libnet-http-perl librpm-tizen librpmbuild3 librpmsign1 libsqlite0
      libtext-unidecode-perl libwww-perl libwww-robotrules-perl libxdelta2
      libxml-parser-perl libyaml-libyaml-perl libyaml-perl osc pbzip2 pristine-tar
      python-deltarpm python-keyring python-lzma python-m2crypto python-pycurl
      python-rpm python-secretstorage python-sqlite python-sqlitecachec
      python-urlgrabber qemu-arm-static rpm texi2html xdelta yum
    제안하는 패키지:
      rpm-i18n zipmerge libdata-dump-perl libipc-sharedcache-perl
      libauthen-ntlm-perl libyaml-shell-perl python-gdata python-keyczar
      python-kde4 libcurl4-gnutls-dev python-pycurl-dbg python-secretstorage-doc
      python-sqlite-dbg alien elfutils latex2html
    다음 새 패키지를 설치할 것입니다:
      build createrepo debugedit deltarpm depanneur gbs gbs-api gbs-export
      gbs-remotebuild git-buildpackage-common git-buildpackage-rpm
      libcommon-sense-perl libcrypt-ssleay-perl libencode-locale-perl
      libfile-listing-perl libfont-afm-perl libhtml-form-perl libhtml-format-perl
      libhtml-parser-perl libhtml-tagset-perl libhtml-template-perl
      libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl
      libhttp-message-perl libhttp-negotiate-perl libio-html-perl libjson-perl
      libjson-xs-perl liblwp-mediatypes-perl liblwp-protocol-https-perl
      libnet-http-perl librpm-tizen librpmbuild3 librpmsign1 libsqlite0
      libtext-unidecode-perl libwww-perl libwww-robotrules-perl libxdelta2
      libxml-parser-perl libyaml-libyaml-perl libyaml-perl osc pbzip2 pristine-tar
      python-deltarpm python-keyring python-lzma python-m2crypto python-pycurl
      python-rpm python-secretstorage python-sqlite python-sqlitecachec
      python-urlgrabber qemu-arm-static rpm texi2html xdelta yum
    다음 패키지를 업그레이드할 것입니다:
      sdb
    1개 업그레이드, 62개 새로 설치, 0개 제거 및 231개 업그레이드 안 함.
    6,431 k바이트 아카이브를 받아야 합니다.
    이 작업 후 28.6 M바이트의 디스크 공간을 더 사용하게 됩니다.
    계속 하시겠습니까? [Y/n] Y


    설치가 완료되면 바로 gbs & sdb를 사용할 수 있습니다.

    $ gbs --version
    gbs 0.23.2

    $ sdb version
    Smart Development Bridge version 2.2.47


    즐거운 개발하시길...


    끝_


Designed by Tistory.