리눅스에서 파이썬 개발환경구축

우분투서버 22.04.1 LTS

adzone@makerskorean:~$ python3
Python 3.10.6 (main, Nov 2 2022, 18:53:38) [GCC 11.3.0] on linux
Type “help”, “copyright”, “credits” or “license” for more information.

pyenv

기존설치된 버전으로 기존설치버전을 사용하지 않고 새로 3.11.0을 설치하여 사용

https://github.com/pyenv/pyenv

https://github.com/pyenv/pyenv#basic-github-checkout

adzone@makerskorean:~$ python3
Python 3.10.6 (main, Nov  2 2022, 18:53:38) [GCC 11.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> exit()
adzone@makerskorean:~$ sudo apt install git
[sudo] password for adzone:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
git is already the newest version (1:2.34.1-1ubuntu1.5).
git set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
adzone@makerskorean:~$ git
usage: git [--version] [--help] [-C <path>] [-c <name>=<value>]
           [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
           [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--bare]
           [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
           [--super-prefix=<path>] [--config-env=<name>=<envvar>]
           <command> [<args>]

These are common Git commands used in various situations:

start a working area (see also: git help tutorial)
   clone     Clone a repository into a new directory
   init      Create an empty Git repository or reinitialize an existing one

work on the current change (see also: git help everyday)
   add       Add file contents to the index
   mv        Move or rename a file, a directory, or a symlink
   restore   Restore working tree files
   rm        Remove files from the working tree and from the index

examine the history and state (see also: git help revisions)
   bisect    Use binary search to find the commit that introduced a bug
   diff      Show changes between commits, commit and working tree, etc
   grep      Print lines matching a pattern
   log       Show commit logs
   show      Show various types of objects
   status    Show the working tree status

grow, mark and tweak your common history
   branch    List, create, or delete branches
   commit    Record changes to the repository
   merge     Join two or more development histories together
   rebase    Reapply commits on top of another base tip
   reset     Reset current HEAD to the specified state
   switch    Switch branches
   tag       Create, list, delete or verify a tag object signed with GPG

collaborate (see also: git help workflows)
   fetch     Download objects and refs from another repository
   pull      Fetch from and integrate with another repository or a local branch
   push      Update remote refs along with associated objects

'git help -a' and 'git help -g' list available subcommands and some
concept guides. See 'git help <command>' or 'git help <concept>'
to read about a specific subcommand or concept.
See 'git help git' for an overview of the system.

D2코딩 글꼴설치

https://github.com/naver/d2codingfont

글 더보기 :  영등포역 탈선사고

터미날꾸미기

https://github.com/ohmyzsh/ohmyzsh

https://comocloud.tistory.com/203

winget install JanDeDobbeleer.OhMyPosh -s winget

찾음 Oh My Posh [JanDeDobbeleer.OhMyPosh] 버전 12.19.0
이 응용 프로그램의 라이선스는 그 소유자가 사용자에게 부여했습니다.
Microsoft는 타사 패키지에 대한 책임을 지지 않고 라이선스를 부여하지도 않습니다.
Downloading https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v12.19.0/install-amd64.exe
  ██████████████████████████████  6.74 MB / 6.74 MB
설치 관리자 해시를 확인했습니다.
패키지 설치를 시작하는 중...
설치 성공

https://ohmyposh.dev/docs/installation/windows

https://www.digitalocean.com/community/tutorials/how-to-install-python-3-and-set-up-a-programming-environment-on-an-ubuntu-22-04-server

sudo apt install build-essential libssl-dev libffi-dev python3-dev libbz2-dev libsqlite3-dev libreadline-dev

참조강의

https://youtu.be/ykgxh0fCYCI
https://youtu.be/nscsWHYs_yM

https://gist.github.com/sigmadream/87fc85914c30b746443fda512e896b22

https://www.sangkon.com/

버츄얼박스에 우분투 데스크탑 설치후 사용예정