1 of 36

Ubuntu 24.04 LTS

InstallFest + Workshop

1

2 of 36

IAM(한상곤, sigmadream@gmail.com)

  • 부산대학교에서 프로그래밍 언어와 관련된 연구를 진행하고 있는 연구원(researcher)
    • Haskell, F#, Lisp(clojure)을 좋아함
    • 요즘은 OCaml로 수치분석 관련 라이브러리 작성 중
  • 우분투 한국 사용자 모임 운영진을 담당
  • 현재는 추천시스템 관련 기술(Scala, C++) 및 서비스 개발
    • Scala를 주로 사용하며, AI 모델 및 배포 관련 업무 때문에 간혹 C++ 사용

2

3 of 36

LTS 관련 목차

0. Ubuntu 24.04 LTS에 대한 간략한 소개

1. Ubuntu 24.04 LTS 변경사항

  • Kernel 6.8 변경사항
  • Gnome 46 변경사항

3

4 of 36

Prequel. Ubuntu 24.04 LTS

4

5 of 36

Ubuntu Linux

  • Ubuntu 24.04(Noble Numbat) LTS
    • 우분투(Ubuntu)는 데비안(Debian) 계열 리눅스(Linux) 배포판
      • 데비안(Debian) 커뮤니티에서 개발/유지보수하고 있는 리눅스 배포판
        • 긴 업데이트 주기를 가짐
        • deb 패키지를 기반으로 한 손쉬운 유지보수 기능 제공
      • 우분투는 데비안 리눅스에 기반
        • 긴 업데이트 주기를 보완
        • deb 뿐만 아니라 flatpak, snap 등의 패키지 관리 기능을 제공
    • 24.04
      • 24는 해당 배포판이 출시된 년도이고, 04는 월
        • 배포판은 6달에 한번씩 업데이트 됨 ⇒ 24.10
      • Noble Numbat은 코드네임
        • “형용사 + 동물이름”의 형식, 첫 글자가 같음
    • LTS(Long Term Support)
      • 장기 지원 버전으로 2년에 1번씩 출시 ⇒ 26.04

5

6 of 36

1. Ubuntu 24.04 LTS 변경사항

6

7 of 36

지원 연장

  • 우분투의 LTS 버전은 이제 12년간 공식 지원을 받을 수 있음
    • Mark mentions: I don't want to steal somebody else's thunder, but essentially 12 years is what we are going to do for 24.04, and we are gonna go back and do that for some of the older ones as well. [...] Obviously, some of that is Ubuntu Pro, but the simple fact is that you can now take Ubuntu 24.04, and you will be able to deploy something knowing that you literally can just do apt get update on a regular basis for the next 12 years and that stuff is gonna be secured, always going to be maintained.

7

8 of 36

A new Installer

  • Installer
    • 설치 관리자도 보기 좋게 변경
    • 새로운 접근성 페이지, 기본 설치 또는 전체 설치 중에서 선택할 수 있는 페이지 등
    • [!] Flutter로 작성
    • 약간의 수정을 가하여 더 깔끔한 레이아웃으로 개선
    • 소프트웨어 업데이트를 제어할 수 있는 새로운 관리 페이지
  • +Security Center app
    • 별도의 보안 관련 앱도 추가

8

9 of 36

Kernel 6.8 변경사항

9

10 of 36

큰 변경 없지만, 자잘한 변화

  • Linus Torvalds says
    • This is not the historically big release that 6.7 was - we seem to be back to a fairly average release size for the last few years. You can see it in the overall diffstats too - this looks like an average release in pretty much all respects, and we don't have (for example) any obvious big new filesystems or architectures. I think the biggest single new thing in 6.8 is probably the new Xe drm driver, but honestly, the big bulk of changes are just various random updates and fixes all over.

10

11 of 36

개인적인 관심

  • Raspberry Pi 5 support
  • TCP performances with many concurrent connections up to 40%
  • For Gamer!
    • Nintendo Switch Online controllers
    • Powkiddy X5 & RK2023 handheld consoles
    • Colour management on the Steam Deck
  • Etc…

11

12 of 36

GNOME 46 변경사항

12

13 of 36

편의성 향상!

  • 탐색창(Nautilus), 알림창(Notifications), 설정 세부 사항(Settings Refinements), Core App Updates(Calendar, Music, …)
  • 기타 설정
    • Tap to click enabled by default for touchscreens
    • Improved fractional scaling support, including sharper fonts
  • [+] gtk 4.14

13

14 of 36

Let's get started with the installation.

14

15 of 36

Let's installation!

15

16 of 36

설치 목차

1. 부팅 USB 생성

  • Ventoy

2. Ubuntu 24.04 LTS 영문 버전 설치 및 한국어 입력기 구성

3. 개발자를 위한 간단한 환경 구성

4. C++, Java, Python 및 .NET 개발자를 위한 구성

  • Docker
  • Database 구성

16

17 of 36

Ubuntu 24.04 설치에 앞서

  1. 데이터 백업
    1. 자신이 가진 데이터를 {USB, Dropbox, … } 등을 사용해서 백업하세요.
    2. 앞서 백업한 데이터를 다시 한 번 확인하세요.
    3. 백업한 데이터가 정확한지 마지막으로 확인하세요.
  2. 설치 형태
    • Linux 설치 및 재설치
    • Windows/Linux 동시 사용 ⇒ 윈도우 동시 사용자는 가능하면 WSL을 고려
    • Embedded Board ⇒ Raspberry Pi Imager
  3. 설치 USB 생성을 위해서 8기가 이상의 USB가 필요
    • 8GB 이상의 USB가 필요
      1. USB 2.0도 상관없지만 USB 3.0 이상을 지원하면 좋음
      2. 만약, USB가 64GB 이상이고, 최신 PC에 설치를 할 생각이면 ventoy 등을 활용하는 것도 좋은 방법임

17

18 of 36

  1. 부팅 USB 생성

18

19 of 36

부팅 가능한 USB 생성

  • 우분투 ISO 파일 다운로드
    • 구글에서 “Ubuntu 24.04 ISO” 검색 후 다운로드 진행
      • https://mirror.kakao.com/
  • 윈도우에서 부팅 가능한 디스크 만들기
    • Rufus 를 사용해서 ISO 파일을 부팅 가능한 USB로 만들어두세요.
  • [+] Ventoy 등을 활용
  • 우분투 ISO 파일 다운로드
    • 구글에서 “Ubuntu 24.04 ISO” 검색 후 다운로드 진행
  • 리눅스에서 부팅 가능한 디스크 만들기
    • 기존 Ubuntu 사용자의 경우 “Startup Disk Creator”를 사용해서 생성하세요.

19

20 of 36

2. 영문 Ubuntu 24.04 LTS 설치

20

21 of 36

BIOS 설정 확인 및 변경

  • Secure Boot
    • PC 제조업체에서 신뢰할 수 있는 소프트웨어만 사용하여 PC가 부팅 되는지 확인하기 위해 방법
    • 펌웨어 드라이버(옵션 ROM), EFI 애플리케이션 및 운영 체제를 포함하여 부팅 소프트웨어의 각 부분의 서명을 확인
  • Ventoy 등을 활용하기 위해선 Secure Boot를 사용하지 않음으로 변경할 필요가 있음

21

22 of 36

한국어 입력

  • Settings > System > Region & Language
    • Manage installed Languages
    • Install / Remove Languages…
      • Korean
      • and REBOOT!
  • Language > 한국어
    • 폴더 이름 유지
  • Keyboard > Add Input Source > 한국어(톱니바퀴)
    • 상태바에서 한국어 입력기로 변경
  • Language > 영어(미국)

22

23 of 36

삼성 갤럭시북 4 프로 및 Lenovo T14s 관련

  • 삼성 갤럭시북 4 프로
    • 스피커로 소리가 나지 않습니다.
      • 현재 알려진 모든 방법을 진행해보았지만 여전히 소리가 나지 않습니다.
    • 지문 등록
      • 지문 등록은 되는 것 같지만 활용이 되지 않습니다.
    • 키보드 백라이트
      • 백라이트 ON/OFF가 안 됩니다.
  • Lenovo T14s
    • LTE 모듈 관련
      • https://github.com/lenovo/lenovo-wwan-unlock 해당 저장소에서 LTE 관련된 모듈을 설치하시면 됩니다.

23

24 of 36

3. Ubuntu 24.04 LTS 설정

24

25 of 36

설정

  • 주요 프로그램 설치
    • Chrome
    • VSCode
  • 터미널 프로그램 설치
    • Font Manager
    • Terminator
  • ZSH 설치 및 설정
  • gnome tweak
    • CAPS LOCK
  • 편집기 설정
    • vim or nvim
    • emacs(doom)

25

26 of 36

폰트 및 환경 관련

  • 폰트 설치
    • Font Manager 설치
    • Google에서 D2Coding 검색 후 다운로드
      • 압축 풀고, 하위 폴더의 모든 ttc 파일 더블클릭 후 설치
    • Meslo 검색 후 다운로드
      • ttc 파일이 너무 많음 ⇒ Font Manager를 사용해서 설치
  • Terminator
    • sudo apt install terminator
    • 터미널 폰트 변경
      • 폰트 변경 및 글씨 크기 조정
  • gnome tweak
    • sudo apt install gnome-tweaks
    • tweaks > keyboard > Caps Lock to Ctrl

26

27 of 36

ZSH 설정

  • ZSH 설치 및 테마 설정
    • sudo apt install zsh git
    • sh -c "$(wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"
    • [+] Powerlevel10k

27

28 of 36

Chrome과 VSCode 설치

  • Google에서 Chrome 다운로드 후 설치
    • wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
    • sudo apt install ./Downloads/google-chrome-stable_current_amd64.deb
    • [+] 만약 다른 브라우저를 사용하신다면 해당 브라우저 다운로드 후 설치
  • Google에서 VSCode 검색 후 설치
    • wget 'https://code.visualstudio.com/sha/download?build=stable&os=linux-deb-x64' -O vscode.deb
    • sudo apt install ./Downloads/code_1.88.1-1712771838_amd64.deb
  • snap으로 설치된 Firefox 삭제
    • snap list
    • snap remove firefox, etc…

28

29 of 36

텍스트 편집기 설치

29

30 of 36

LaTeX 관련

  • sudo apt install texlive-full
    • MikTeX, TinyTeX 등도 활용하지만, 저는 TexLive를 주로 활용하고 있습니다. Emacs의 Org-mode 등을 활용하시거나, 문서 작성등을 고려하고 계시면 추천 드립니다.

30

31 of 36

4. 개발 환경 구성

31

32 of 36

도구

  • Docker
  • GitKraken
    • https://www.gitkraken.com/
    • [+] 업데이트시 deb를 다운로드 받아서 진행
  • JetBrain Toolbox
    • sudo apt install libfuse2t64
    • tar -xzvf ./Downloads/jetbrains-toolbox-2.5.4.38621.tar.gz
    • mkdir -p ~/.local/share/JetBrains/Toolbox/bin/
    • cp ./jetbrains-toolbox-2.5.4.38621/jetbrains-toolbox ~/.local/share/JetBrains/Toolbox/bin/
    • ~/.local/share/JetBrains/Toolbox/bin/jetbrains-toolbox

32

33 of 36

RDBMS

  • 우분투에서 많이 사용되는 대표적인 RDBMS
    • MySQL, MariaDB, PostgreSQL, etc…
    • 기타 MongoDB, Neo4j, etc…
  • PostgreSQL
    • 설치1
      • sudo apt install postgresql postgresql-contrib
    • 설치2
      • sudo apt install curl ca-certificates
      • sudo curl -o /etc/apt/trusted.gpg.d/postgresql.gpg --fail https://www.postgresql.org/media/keys/ACCC4CF8.asc
      • sudo sh -c 'echo "deb [signed-by=/usr/share/postgresql-common/pgdg/apt.postgresql.org.asc] https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list’
    • systemctl status postgresql@16-main.service

33

34 of 36

PostgreSQL 설치 확인

  • PSQL 실행
    • sudo su - postgres # sudo -u postgres psql
  • DATABASE와 User 추가
    • postgres=# CREATE DATABASE testdb; #CREATE DATABASE
    • postgres=# CREATE USER testuser WITH PASSWORD 'qwer1234'; # CREATE ROLE
    • postgres=# GRANT ALL PRIVILEGES ON DATABASE testdb TO testuser; # GRANT
    • postgres=# ALTER DATABASE testdb OWNER TO testuser; # ALTER DATABASE
    • postgres=# exit
  • 사용자로 접속 확인
    • psql -h localhost -U testuser -d testdb
  • DB 생성, 조회 및 삭제
    • testdb=> CREATE TABLE cars (brand VARCHAR(255), model VARCHAR(255), year INT);
    • INSERT INTO cars (brand, model,year) VALUES ('HYUNDAI', 'G90','2023');
    • INSERT INTO cars (brand, model,year) VALUES ('KIA', 'K3','2023');
    • SELECT * FROM cars;
    • DROP DATABASE testdb;

34

35 of 36

언어별 특이 사항

  • C++
  • Java
    • sudo apt install default-jdk
    • sudo apt install openjdk-17-jdk
    • sudo update-alternatives --config java / javac
  • .NET
    • sudo apt-get update && sudo apt-get install -y dotnet-sdk-8.0

35

36 of 36

Ubuntu 24.04 LTS

InstallFest + Workshop

감사합니다.

36