OS/Ubuntu

Ubuntu 24.04 Flatpak install

강서버 2025. 3. 28. 01:59
반응형

1. Install Flatpak

$ sudo apt install flatpak

 

[ Execution log ]

gangserver@RC530-U:~$ sudo apt install flatpak
[sudo] gangserver 암호: 
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다... 완료
상태 정보를 읽는 중입니다... 완료        
다음의 추가 패키지가 설치될 것입니다 :
  libostree-1-1
제안하는 패키지:
  malcontent-gui
다음 새 패키지를 설치할 것입니다:
  flatpak libostree-1-1
0개 업그레이드, 2개 새로 설치, 0개 제거 및 8개 업그레이드 안 함.
1,723 k바이트 아카이브를 받아야 합니다.
이 작업 후 6,469 k바이트의 디스크 공간을 더 사용하게 됩니다.
계속 하시겠습니까? [Y/n] y
받기:1 http://kr.archive.ubuntu.com/ubuntu noble/universe amd64 libostree-1-1 amd64 2024.5-1build2 [373 kB]
받기:2 http://kr.archive.ubuntu.com/ubuntu noble-updates/universe amd64 flatpak amd64 1.14.6-1ubuntu0.1 [1,350 kB]
내려받기 1,723 k바이트, 소요시간 3초 (548 k바이트/초)
Selecting previously unselected package libostree-1-1:amd64.
(데이터베이스 읽는중 ...현재 205487개의 파일과 디렉터리가 설치되어 있습니다.)
Preparing to unpack .../libostree-1-1_2024.5-1build2_amd64.deb ...
Unpacking libostree-1-1:amd64 (2024.5-1build2) ...
Selecting previously unselected package flatpak.
Preparing to unpack .../flatpak_1.14.6-1ubuntu0.1_amd64.deb ...
Unpacking flatpak (1.14.6-1ubuntu0.1) ...
libostree-1-1:amd64 (2024.5-1build2) 설정하는 중입니다 ...
flatpak (1.14.6-1ubuntu0.1) 설정하는 중입니다 ...
Processing triggers for man-db (2.12.0-4build2) ...
Processing triggers for dbus (1.14.10-4ubuntu4.1) ...
Processing triggers for libc-bin (2.39-0ubuntu8.4) ...

 

 

2. Install GNOME Software Flatpak plugin

$ sudo apt install gnome-software-plugin-flatpak

 

[ Execution log ]

gangserver@RC530-U:~$ sudo apt install gnome-software-plugin-flatpak
[sudo] gangserver 암호: 
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다... 완료
상태 정보를 읽는 중입니다... 완료        
다음의 추가 패키지가 설치될 것입니다 :
  gnome-software gnome-software-common gnome-software-plugin-snap libflatpak0
다음 새 패키지를 설치할 것입니다:
  gnome-software gnome-software-common gnome-software-plugin-flatpak
  gnome-software-plugin-snap libflatpak0
0개 업그레이드, 5개 새로 설치, 0개 제거 및 8개 업그레이드 안 함.
1,136 k바이트 아카이브를 받아야 합니다.
이 작업 후 4,548 k바이트의 디스크 공간을 더 사용하게 됩니다.
계속 하시겠습니까? [Y/n] y
받기:1 http://kr.archive.ubuntu.com/ubuntu noble/universe amd64 gnome-software-common all 46.0-1ubuntu2 [14.1 kB]
받기:2 http://kr.archive.ubuntu.com/ubuntu noble/universe amd64 gnome-software amd64 46.0-1ubuntu2 [711 kB]
받기:3 http://kr.archive.ubuntu.com/ubuntu noble-updates/universe amd64 libflatpak0 amd64 1.14.6-1ubuntu0.1 [303 kB]
받기:4 http://kr.archive.ubuntu.com/ubuntu noble/universe amd64 gnome-software-plugin-flatpak amd64 46.0-1ubuntu2 [76.8 kB]
받기:5 http://kr.archive.ubuntu.com/ubuntu noble/universe amd64 gnome-software-plugin-snap amd64 46.0-1ubuntu2 [31.1 kB]
내려받기 1,136 k바이트, 소요시간 3초 (413 k바이트/초) 
Selecting previously unselected package gnome-software-common.
(데이터베이스 읽는중 ...현재 205618개의 파일과 디렉터리가 설치되어 있습니다.)
Preparing to unpack .../gnome-software-common_46.0-1ubuntu2_all.deb ...
Unpacking gnome-software-common (46.0-1ubuntu2) ...
Selecting previously unselected package gnome-software.
Preparing to unpack .../gnome-software_46.0-1ubuntu2_amd64.deb ...
Unpacking gnome-software (46.0-1ubuntu2) ...
Selecting previously unselected package libflatpak0:amd64.
Preparing to unpack .../libflatpak0_1.14.6-1ubuntu0.1_amd64.deb ...
Unpacking libflatpak0:amd64 (1.14.6-1ubuntu0.1) ...
Selecting previously unselected package gnome-software-plugin-flatpak.
Preparing to unpack .../gnome-software-plugin-flatpak_46.0-1ubuntu2_amd64.deb ..
.
Unpacking gnome-software-plugin-flatpak (46.0-1ubuntu2) ...
Selecting previously unselected package gnome-software-plugin-snap.
Preparing to unpack .../gnome-software-plugin-snap_46.0-1ubuntu2_amd64.deb ...
Unpacking gnome-software-plugin-snap (46.0-1ubuntu2) ...
gnome-software-common (46.0-1ubuntu2) 설정하는 중입니다 ...
gnome-software (46.0-1ubuntu2) 설정하는 중입니다 ...
libflatpak0:amd64 (1.14.6-1ubuntu0.1) 설정하는 중입니다 ...
Processing triggers for desktop-file-utils (0.27-2build1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ...
Processing triggers for libc-bin (2.39-0ubuntu8.4) ...
Processing triggers for man-db (2.12.0-4build2) ...
Processing triggers for libglib2.0-0t64:amd64 (2.80.0-6ubuntu3.2) ...
gnome-software-plugin-flatpak (46.0-1ubuntu2) 설정하는 중입니다 ...
gnome-software-plugin-snap (46.0-1ubuntu2) 설정하는 중입니다 ...

 

 

3. Add the Flathub repository

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

[ Execution log ]

gangserver@RC530-U:~$ flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo

Note that the directories 

'/var/lib/flatpak/exports/share'
'/home/gangserver/.local/share/flatpak/exports/share'

are not in the search path set by the XDG_DATA_DIRS environment variable, so
applications installed by Flatpak may not appear on your desktop until the
session is restarted.


4. Restart your system

 

 

(Example)

- Installing CPU-X with Flatpak

flatpak install flathub io.github.thetumultuousunicornofdarkness.cpu-x

 

[ Execution log ]

gangserver@RC530-U:~$ flatpak install flathub io.github.thetumultuousunicornofdarkness.cpu-x
Looking for matches…
Required runtime for io.github.thetumultuousunicornofdarkness.cpu-x/x86_64/stable (runtime/org.freedesktop.Platform/x86_64/24.08) found in remote flathub
Do you want to install it? [Y/n]: y

io.github.thetumultuousunicornofdarkness.cpu-x permissions:
    ipc      fallback-x11        wayland     x11
    dri      dbus access [1]

    [1] org.freedesktop.Flatpak


        ID                                                    Branch     Op Remote  Download
 1. [✓] io.github.thetumultuousunicornofdarkness.cpu_x.Locale stable     i  flathub  16.0 kB / 307.0 kB
 2. [✓] org.freedesktop.Platform.GL.default                   24.08      i  flathub 156.3 MB / 156.8 MB
 3. [✓] org.freedesktop.Platform.GL.default                   24.08extra i  flathub  25.2 MB / 156.8 MB
 4. [✓] org.freedesktop.Platform.Locale                       24.08      i  flathub   2.4 MB / 380.4 MB
 5. [✓] org.freedesktop.Platforhttp://m.VAAPI.Intel 24.08      i  flathub  14.9 MB / 15.0 MB
 6. [✓] org.freedesktop.Platform.openh264                     2.5.1      i  flathub 913.7 kB / 971.4 kB
 7. [✓] org.gtk.Gtk3theme.Yaru-dark                           3.22       i  flathub 134.1 kB / 196.5 kB
 8. [✓] org.freedesktop.Platform                              24.08      i  flathub 210.8 MB / 264.5 MB
 9. [✓] io.github.thetumultuousunicornofdarkness.cpu-x        stable     i  flathub   4.9 MB / 5.7 MB

Installation complete.

 

 

- Run CPU-X

 

 

[ Reference ]

https://flathub.org/ko/setup/Ubuntu

 

Flathub - Apps for Linux

Find and install hundreds of apps and games for Linux. Enjoy Firefox, Telegram, RetroArch, GIMP and many more!

flathub.org

 

반응형