"리눅스 sdkman 설치"의 두 판 사이의 차이

 
(사용자 2명의 중간 판 3개는 보이지 않습니다)
2번째 줄: 2번째 줄:


==설치==
==설치==
<source lang='cli'>
<source lang='console'>
root@zetawiki:~# curl -s http://get.sdkman.io | bash
root@zetawiki:~# curl -s http://get.sdkman.io | bash
                                                                        
                                                                        
63번째 줄: 63번째 줄:
==확인==
==확인==
*SSH 재접속 후 확인
*SSH 재접속 후 확인
<source lang='cli'>
<source lang='console'>
root@zetawiki:~# echo $SDKMAN_DIR
root@zetawiki:~# echo $SDKMAN_DIR
/root/.sdkman
/root/.sdkman
</source>
</source>
<source lang='cli'>
<source lang='console'>
root@zetawiki:~# sdk help
root@zetawiki:~# sdk help


96번째 줄: 96번째 줄:
</source>
</source>


==설치가능 패키지 목록==
==설치가능 패키지 확인==
<source lang='cli'>
<source lang='console'>
root@zetawiki:~# sdk list | grep 'sdk install'
root@zetawiki:~# sdk list | grep 'sdk install'
                                                       $ sdk install asciidoctorj
                                                       $ sdk install asciidoctorj
121번째 줄: 121번째 줄:


==같이 보기==
==같이 보기==
*[[sdkman]]
* [[맥OS sdkman 설치]]
* [[sdkman]]


[[분류: sdkman]]
[[분류: sdkman]]

2017년 4월 24일 (월) 14:15 기준 최신판

sdkman 설치

1 설치[ | ]

root@zetawiki:~# curl -s http://get.sdkman.io | bash
                                                               		         
Thanks for using...                                            		         
                                                               		         
                                                               		         
     SSSSSSSSSSSSSSS DDDDDDDDDDDDD       KKKKKKKKK    KKKKKKK                  
   SS:::::::::::::::SD::::::::::::DDD    K:::::::K    K:::::K                  
  S:::::SSSSSS::::::SD:::::::::::::::DD  K:::::::K    K:::::K                  
  S:::::S     SSSSSSSDDD:::::DDDDD:::::D K:::::::K   K::::::K                  
  S:::::S              D:::::D    D:::::DKK::::::K  K:::::KKK                  
  S:::::S              D:::::D     D:::::D K:::::K K:::::K                     
   S::::SSSS           D:::::D     D:::::D K::::::K:::::K                      
    SS::::::SSSSS      D:::::D     D:::::D K:::::::::::K                       
      SSS::::::::SS    D:::::D     D:::::D K:::::::::::K                       
         SSSSSS::::S   D:::::D     D:::::D K::::::K:::::K                      
              S:::::S  D:::::D     D:::::D K:::::K K:::::K                     
              S:::::S  D:::::D    D:::::DKK::::::K  K:::::KKK                  
  SSSSSSS     S:::::SDDD:::::DDDDD:::::D K:::::::K   K::::::K                  
  S::::::SSSSSS:::::SD:::::::::::::::DD  K:::::::K    K:::::K                  
  S:::::::::::::::SS D::::::::::::DDD    K:::::::K    K:::::K                  
   SSSSSSSSSSSSSSS   DDDDDDDDDDDDD       KKKKKKKKK    KKKKKKK  
... (생략)
                                                 Now attempting installation...
                                                                               
Looking for a previous installation of SDKMAN...
Looking for unzip...
Looking for curl...
Looking for sed...
Installing SDKMAN scripts...
Create distribution directories...
Getting available candidates...
Prime the config file...
Download script archive...
Extract script archive...
Install scripts...
Set version to 3.2.4 ...
Attempt update of bash profiles...
Updated existing /root/.profile
Updated existing /root/.bashrc
Attempt update of zsh profiles...
Created and initialised /root/.zshrc



All done!


Please open a new terminal, or run the following in the existing one:

    source "/root/.sdkman/bin/sdkman-init.sh"

Then issue the following command:

    sdk help

Enjoy!!!

2 확인[ | ]

  • SSH 재접속 후 확인
root@zetawiki:~# echo $SDKMAN_DIR
/root/.sdkman
root@zetawiki:~# sdk help

Usage: sdk <command> [candidate] [version]
       sdk offline <enable|disable>

   commands:
       install   or i    <candidate> [version]
       uninstall or rm   <candidate> <version>
       list      or ls   [candidate]
       use       or u    <candidate> [version]
       default   or d    <candidate> [version]
       current   or c    [candidate]
       outdated  or o    [candidate]
       version   or v
       broadcast or b
       help      or h
       offline           <enable|disable>
       selfupdate        [force]
       flush             <candidates|broadcast|archives|temp>

   candidate  :  the SDK to install: groovy, scala, grails, akka, etc.
                 use list command for comprehensive list of candidates
                 eg: $ sdk list

   version    :  where optional, defaults to latest stable if not provided
                 eg: $ sdk install groovy

3 설치가능 패키지 확인[ | ]

root@zetawiki:~# sdk list | grep 'sdk install'
                                                      $ sdk install asciidoctorj
                                                            $ sdk install ceylon
                                                             $ sdk install crash
                                                            $ sdk install gaiden
                                                             $ sdk install glide
                                                            $ sdk install gradle
                                                            $ sdk install grails
                                                           $ sdk install griffon
                                                            $ sdk install groovy
                                                        $ sdk install groovyserv
                                                             $ sdk install jbake
                                                        $ sdk install jbossforge
                                                            $ sdk install kotlin
                                                         $ sdk install lazybones
                                                             $ sdk install maven
                                                               $ sdk install sbt
                                                             $ sdk install scala
                                                        $ sdk install springboot
                                                             $ sdk install vertx

4 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}