OPERATING SYSTEMSOS Linux

What's the deal with Flatpak? (Linux Crash Course Series)

Linux software packaging has seen some interesting changes lately, especially with the rise of the “universal package”. Flatpak, one of the leading forms of the prominent universal package types has seen some confusion (and sometimes controversy) but in this video, Jay will explain the concept and show you how to manage Flatpaks with the flatpak command.

*Support Learn Linux TV by becoming a Channel Member*
Show your support for Linux learning and get early access to select videos, member-only livestreams, and more! ➜ https://learnlinux.link/member

*Support Linux Learning and get something Awesome (commission earned)*
• Become a channel member here on YouTube ➜ https://learnlinux.link/join
• Become a Patron on Patreon ➜ https://learnlinux.link/patron
• Receive a 5% discount on an LPI exam voucher ➜ https://learnlinux.link/lpi-voucher
• Affiliate store for Linux compatible hardware/accessories ➜ https://learnlinux.link/amazon
• Mastering Ubuntu Server 4th Edition ➜ http://ubuntuserverbook.com
• My recording gear (commissions earned) ➜ https://learnlinux.link/recording-stuff
• Awesome KVM for your Homelab ➜ https://learnlinux.link/tinypilot

*Individual Sections
00:00 – Intro
01:05 – Set up your own Linux server with Akamai’s Connected Cloud (Sponsor)
02:19 – A brief summary of universal packages and how they help
05:02 – How Flatpaks fit in within the Linux ecosystem
06:40 – Flathub – the most popular Flatpak repository
07:17 – You can use the CLI to install Flatpaks
08:18 – Flatpaks aren’t always maintained by the vendor
09:02 – Where do Flatpaks store config files?
10:02 – Why you should make sure to install the “Flatseal” Flatpak
11:17 – “User” Flatpaks vs “System” Flatpaks
12:08 – Example flatpak commands

*Recommended stand-alone videos from Learn Linux TV*
• Essential tweaks for ALL Linux Servers ➜ https://linux.video/all-servers
• How to create a bootable flash drive for installing Linux ➜ https://linux.video/flash-usb
• Installing an operating system for Raspberry Pi ➜ https://linux.video/pi-imager
• How to connect to a Linux server via ssh ➜ https://linux.video/ssh
• Understanding Linux permissions ➜ https://linux.video/perms
• OpenSSH Guide ➜ https://linux.video/ssh-guide
• How to better secure OpenSSH ➜ https://linux.video/secure-ssh
• 10 Linux Terminal Tips and Tricks to Enhance Your Workflow ➜ https://linux.video/cli-tricks-1
• Over 15 Terminal Tricks You Should Learn ➜ https://linux.video/cli-tricks-2

*Recommended Courses from Learn Linux TV*
• Get up to speed with managing an OpenStack Cloud ➜ https://linux.video/openstack
• Learn how to write your own Bash Scripts ➜ https://linux.video/bash
• Install, configure, and maintain a Proxmox VE Cluster ➜ https://linux.video/pve
• Automate tedious setup jobs by learning Ansible ➜ https://linux.video/ansible
• Learn how to exit vim (and use it too) ➜ https://linux.video/vim

*Linux-related Podcasts*
• Enterprise Linux Security ➜ https://enterpriselinuxsecurity.show
• The Homelab Show ➜ https://thehomelab.show

*Official Learn Linux TV Sites*
• Main site ➜ https://www.learnlinux.tv
• Community ➜ https://community.learnlinux.tv

*Content Ethics*
The following article covers the rules and guidelines Learn Linux TV abides by:

Content Ethics

*Disclaimer*
Learn Linux TV produces technical content that will hopefully be helpful to you and teach you something new. However, this content is provided without any warranty (expressed or implied). Learn Linux TV is not responsible for any damages that may arise from any use of the content and information that’s being provided. The viewer is expected to follow best judgement and to make his/her/their best decisions while working with production or non-production software, systems and hardware.

#flatpak #DevOps #Linux

source

by Learn Linux TV

linux foundation

15 thoughts on “What's the deal with Flatpak? (Linux Crash Course Series)

  • I strongly prefer user mode, it's so much easier to manage since everything is in xdg-data-home. Flatpak is especially great for GUI apps. You can still use it for command lines, of course, but GUI apps like Bottles and Steam ("Yes, do as I say," anyone?) is where it shines. I personally use it with home-manager declarative-flatpak module so I can sync it between devices (and the rest of hm itself manages my user and CLI environments).

  • I know this question is probably asked a lot, but what is a good solid distro for a beginner about to start a CS degree? Wanting to learn Linux whilst doing my degree I am totally over windows.

  • Another great app to manage flatpaks is "Warehouse". It allows you to open,uninstall,update,downgrade or disable updates for flatpaks in a clean GUI. It also give you acces to the location of the files associated with a flatpak. And it can, after you have removed a flatpak, also remove the leftover data in the folder of that flatpak. Like users configuration or cache files.

  • I tried using flatpack, but it downloads GBs of data to install a package that can be done with 100-200MB using apt install.

  • Some suggestions is "ip route" commands and "setfacl" or access control lists in general.

  • Flatpaks and so on breach the Unix philosophy, and that is a beautiful and economical thing and I can understand the appeal of piping data from one small application to another to produce the final result. That philosophy was developed when 20 Megabytes was a pretty big drive. I don't think you're going to edit videos with a set of small, economical, and elegant single-purpose programs.
    The appeal for the end user, as opposed to system administrators, is that we might, finally, get some of those professionally indispensable apps on Linux; it's not all that likely, but it's impossible that the MegaMonopolies will make traditional packages.

  • Hey Jay I just wanted to tell that I had a great time working through your Mastering Ubuntu Server book and despite not being a novice, I feel like I still learned a lot. Looking forward to your next book.

  • Thanks Jay. I like your shirt…. I need one…… I like using VIM, it has nearly no no.. I thought I left a Banana on the counter… Oh yea… Distractions…

  • Since replying on YouTube is utterly pointless considering that the user does not get notified I will address a brought-up point in the comments here. Yes, Flatpaks and Snaps take up much more storage, often 3 times or more. I don't like it either but let's put it in perspective, you probably have less than 20 GB of system-packages if you exclude backups. So we are talking of 40-80 GB of wasted storage. For me that is too much but if you have a 1 TB or 2 TB SSD (now for around $90-100) then that is not a huge problem. However, I myself avoid both formats, whenever I can install a package from the repository then I do. If that is not an option then I either use an AUR-script or I compile from source.

  • A little point about the naming when you install the Discord flatapp, that is pretty bad, One part is capitalized, the other is not, without any reason. You want to capitalize because it is a name, fine. But then be consistent. The com in front whlle people always see it on the back. Also that com does not add anything and either they should leave away discord or discordapp. It is as if the developer prefers us not using the command line interface. I myself used one appimage (for a RTS-game) and 0 Flatpak and 0 Snap before, between Snap and Flatpak I would use Flatpak, I see no reason to give Snap a chance considering how much Canonical is pushing it. Also, if Snap would be better than Flatpak then Canonical would not see any need to push it so hard.

  • Flatpak apps somehow need 100x more storage than system package ones

Comments are closed.