패키지 관리 · 4 min read · Oct 21, 2025

우분투 22.04에 Flatpak 패키지 관리자 설치하는 방법

Flatpak, 또는 xdg-app,은 리눅스 운영 체제를 위한 패키지 관리 도구입니다. 이를 통해 flatpak 패키지 관리자를 사용하여 패키지를 설치하고 관리할 수 있습니다. Flatpak은 자체 저장소를 가지고 있어 다른 저장소에 의존할 필요가 없습니다. 소프트웨어 설치에 필요한 모든 라이브러리와 종속성을 제공합니다. 이는 모든 주요 배포판에 대한 앱을 위한 Flatpak 설정을 가능하게 하는 크로스 배포 애플리케이션 배포 프레임워크입니다.

이 게시물에서는 우분투 22.04에 Flatpak 패키지 관리 도구를 설치하고 사용하는 방법을 보여줍니다.

필수 조건

  • 우분투 22.04가 실행되는 서버.
  • 서버에 루트 비밀번호가 설정되어 있습니다.

Flatpak 설치

기본적으로 Flatpak 패키지는 우분투 기본 저장소에 포함되어 있습니다. 다음 명령어를 실행하여 설치할 수 있습니다:

apt install flatpak -y

Flatpak 패키지가 설치된 후, 다음 명령어를 사용하여 버전을 확인할 수 있습니다:

flatpak --version

다음과 같은 출력이 표시되어야 합니다:

Flatpak 1.12.7

Flatpak 저장소 활성화

Flatpak을 사용하기 전에 시스템에 Flatpak 저장소를 추가해야 합니다. 다음 명령어로 추가할 수 있습니다:

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

이제 Flatpak을 사용하여 애플리케이션을 쉽게 검색하고 설치할 수 있습니다.

Flatpak을 사용하여 애플리케이션 검색

Flatpak은 명령줄 인터페이스를 사용하여 사용 가능한 애플리케이션을 검색하는 기능을 제공합니다.

애플리케이션을 검색하는 기본 구문은 아래와 같습니다:

flatpak search application-name

예를 들어, 텔레그램 애플리케이션을 검색하려면 다음 명령어를 실행합니다:

flatpak search telegram

다음과 같은 결과를 얻어야 합니다:

Name                    Description                                                           Application ID            Version Branch Remotes
Telegram Desktop        Fast. Secure. Powerful.                                               org.telegram.desktop      4.3.1   stable flathub
Telegram Desktop Webvi… Webview add-on that enables Telegram Desktop to show web content      …telegram.desktop.webview 2.38.2  stable flathub
Kotatogram Desktop      Kotatogram Desktop messenger                                          io.github.kotatogram      1.4.8   stable flathub
LibreTrack              Private, cross-platform package tracking app                          …roninyaroslav.libretrack 1.3.0   stable flathub
Tangram                 Browser for your pinned tabs                                          re.sonny.Tangram          1.4.2   stable flathub
Bolls                   A web app for reading the Bible with full emphasis on the God`s Word… life.bolls.bolls          2.1.80  stable flathub
Franz                   Messenger for the desktop                                             com.meetfranz.Franz       5.9.1   stable flathub
Delta Chat              Delta Chat email-based messenger                                      chat.delta.desktop        v1.32.1 stable flathub

Skype를 검색하려면 다음 명령어를 실행합니다:

flatpak search skype

다음과 같은 출력을 얻어야 합니다:

Name         Description                                                 Application ID            Version          Branch       Remotes
Skype        Call and message skype users, with video chat support       com.skype.Client          8.90.0.407       stable       flathub
Franz        Messenger for the desktop                                   com.meetfranz.Franz       5.9.1            stable       flathub

Flatpak을 사용하여 Google Chrome 설치

먼저, 다음 명령어를 사용하여 구글 크롬 애플리케이션을 검색합니다:

flatpak search chrome

다음과 같은 출력을 얻어야 합니다:

Name              Description                                                       Application ID             Version          Branch Remotes
Google Chrome     The web browser from Google                                       com.google.Chrome          107.0.5304.110-1 stable flathub
Chromium Web Bro… The web browser from Chromium project                             org.chromium.Chromium      107.0.5304.110   stable flathub
ungoogled-chromi… A lightweight approach to removing Google web service dependency  …Eloston.UngoogledChromium 107.0.5304.110   stable flathub
Google Chrome (u… The web browser from Google                                       com.google.ChromeDev       109.0.5410.0-1   stable flathub
CrosAdapta        Chrome OS GTK theme                                               ….gtk.Gtk3theme.CrosAdapta                  3.22   flathub
PhotoQt Image Vi… View and manage images                                            org.photoqt.PhotoQt        2.9.1            stable flathub
Firestorm Viewer  Client for accessing 3D virtual worlds                            …ormviewer.FirestormViewer 6.3.9.58205      stable flathub
Joplin            A free, open source note taking and to-do application, which can… net.cozic.joplin_desktop   2.8.8            stable flathub
Google Play Musi… Run Google Play Music as a standalone desktop app                 …ymusicdesktopplayer.GPMDP 4.7.1            stable flathub
Gabut Download M… Simple and Faster Download Manager                                ….github.gabutakut.gabutdm 1.9.9            stable flathub
Postman           Postman is a complete API development environment.                com.getpostman.Postman     10.1.2           stable flathub
Boxy SVG          Scalable Vector Graphics editor                                   com.boxy_svg.BoxySVG       3.92.0           stable flathub

이제 위 출력에서 애플리케이션 ID를 사용하여 Google Chrome을 설치할 수 있습니다:

flatpak install com.google.Chrome

다음과 같은 출력을 보게 될 것입니다:

Looking for matches…
Required runtime for com.google.Chrome/x86_64/stable (runtime/org.freedesktop.Platform/x86_64/22.08) found in remote flathub
Do you want to install it? [Y/n]: Y

com.google.Chrome permissions:
    ipc                        network                         cups             pcsc                    pulseaudio
    wayland                    x11                             devices          file access [1]         dbus access [2]
    bus ownership [3]          system dbus access [4]          tags [5]

    [1] /run/.heim_org.h5l.kcm-socket, host-etc, xdg-documents, xdg-download, xdg-music, xdg-pictures, xdg-run/dconf, xdg-run/pipewire-0,
        xdg-videos, ~/.config/dconf:ro, ~/.config/kioslaverc
    [2] ca.desrt.dconf, org.freedesktop.FileManager1, org.freedesktop.Notifications, org.freedesktop.secrets, org.gnome.SessionManager
    [3] org.mpris.MediaPlayer2.chromium.*
    [4] org.freedesktop.Avahi, org.freedesktop.UPower
    [5] proprietary


        ID                                             Branch            Op           Remote            Download
 1.     org.freedesktop.Platform.GL.default            22.08             i            flathub           < 131.0 MB
 2.     org.freedesktop.Platform.Locale                22.08             i            flathub           < 333.0 MB (partial)
 3.     org.freedesktop.Platform.openh264              2.2.0             i            flathub           < 944.3 kB
 4.     org.freedesktop.Platform                       22.08             i            flathub           < 214.4 MB
 5.     com.google.Chrome                              stable            i            flathub           < 100.1 MB

Proceed with these changes to the system installation? [Y/n]: Y

설치된 모든 애플리케이션을 나열하려면 다음 명령어를 실행합니다:

flatpak list

다음과 같은 목록을 얻어야 합니다:

Name                           Application ID                                Version                   Branch          Installation
Google Chrome                  com.google.Chrome                             107.0.5304.110-1          stable          system
Freedesktop Platform           org.freedesktop.Platform                      22.08.3                   22.08           system
Mesa                           org.freedesktop.Platform.GL.default           22.1.7                    22.08           system
openh264                       org.freedesktop.Platform.openh264             2.1.0                     2.2.0           system

Flatpak 애플리케이션 실행

Google Chrome 애플리케이션을 설치한 후, 다음 명령어를 실행하여 실행할 수 있습니다:

flatpak run com.google.Chrome

위 명령어는 Google Chrome GUI 애플리케이션을 실행합니다.

Flatpak을 사용하여 애플리케이션 제거

Google Chrome 애플리케이션을 제거하려면 다음 명령어를 실행합니다:

flatpak uninstall com.google.Chrome

다음과 같은 출력을 보게 될 것입니다:

        ID                      Branch       Op
 1.     com.google.Chrome       stable       r

Proceed with these changes to the system installation? [Y/n]: Y

사용하지 않는 애플리케이션을 제거하려면 다음 명령어를 실행합니다:

flatpak uninstall --unused

Flatpak 명령어에 대한 더 많은 정보를 얻으려면 다음 명령어를 실행합니다:

flatpak --help

다음과 같은 출력에서 모든 명령줄 옵션을 볼 수 있습니다:

Usage:
  flatpak [OPTION…] COMMAND

Builtin Commands:
 Manage installed applications and runtimes
  install                Install an application or runtime
  update                 Update an installed application or runtime
  uninstall              Uninstall an installed application or runtime
  mask                   Mask out updates and automatic installation
  pin                    Pin a runtime to prevent automatic removal
  list                   List installed apps and/or runtimes
  info                   Show info for installed app or runtime
  history                Show history
  config                 Configure flatpak
  repair                 Repair flatpak installation
  create-usb             Put applications or runtimes onto removable media

 Find applications and runtimes
  search                 Search for remote apps/runtimes

 Manage running applications
  run                    Run an application
  override               Override permissions for an application
  make-current           Specify default version to run
  enter                  Enter the namespace of a running application
  ps                     Enumerate running applications
  kill                   Stop a running application

결론

축하합니다! 우분투 22.04에 Flatpak을 성공적으로 설치했습니다. 이제 APT의 대체 패키지 관리자로 Flatpak을 사용하여 패키지를 설치하고 관리할 수 있습니다. 질문이 있으면 언제든지 물어보세요.

Share: X/Twitter LinkedIn

새 게시물을 받은 편지함에서 받기

스팸은 없습니다. 언제든지 구독 해지 가능합니다.