What are Flatpaks? | How to install & permissions

  Рет қаралды 25,705

DorianDotSlash

DorianDotSlash

Күн бұрын

Flatpaks have many great advantages. They can be sandboxed to protect your system. They usually carry newer versions of software than repos. And they are distro independent, which means they run as they should on any distro that supports Flatpaks.
In this video I'll go over how they work, how to install them, and how to change what permissions they have.
Flathub : www.flathub.org
Consider supporting my channel : / doriandotslash
00:00 Intro
00:26 How Flatpaks work
01:50 Installation
02:35 Using a package manager
03:03 Installing from Flathub
03:24 Updating
03:33 PRO: Newer versions
04:01 Install from the terminal
05:09 PRO: Getting software not available in your distro
05:48 Flatpak Permissions (GUI)
07:16 Flatpak Permissions (terminal)
09:14 Example of denying filesystem access
10:13 Conclusion
10:36 The most important part
#Linux #Flatpaks

Пікірлер: 70
@elonlothbrok5991
@elonlothbrok5991 3 жыл бұрын
We came a long way from cumbersome compiling and installing source software to this. Linux is indeed the Master Race.
@Doriandotslash
@Doriandotslash 3 жыл бұрын
Indeed!
@JohnSmith-fq3rg
@JohnSmith-fq3rg 3 ай бұрын
I remember installing stuff on our windows xp family pc back in the day... you just double click the .exe, in fact you can have it autorun when you put the disc in. Millions of devs contributing and you people wish it was as useful and intuitive as windows 95, lmao
@idtyu
@idtyu 3 жыл бұрын
Fun fact, flatpak has the same commands as dnf or yum, so both update and upgrade works the same. It will always update remote repo meta first, then search or install the package you request. I suspect it uses dnf resolver as well, but I can't prove that.
@meliodas.1108
@meliodas.1108 3 жыл бұрын
Flatpaks snaps and appimages have really really helped to bridge the gap between distros.
@andrewpalm2103
@andrewpalm2103 3 жыл бұрын
Thanks, as this was just the level of information on flatpak that I needed--and can remember.
@drumpf4all
@drumpf4all 3 жыл бұрын
"They" told me to install flatpaks. They didn't explain permissions. Thank you!!
@Doriandotslash
@Doriandotslash 3 жыл бұрын
Glad to help!
@nichtgestalt
@nichtgestalt 3 жыл бұрын
Hey there buddy! Thanks to your Gentoo tutorial I installed it on hardware with the kde-plasma desktop just today. I tried it many times but it all makes more and more sense with each and every day. HUGE shout out to you, sir! I couldn't do it without you. I guess the lockdown seems to be the perfect time for gentoo. Right now I'm learning about packet managing and keeping the system nice and clean. Hope I can maintain my system for a while. Again: thank you so much. I'm very happy with the outcome. Looking forward for more great content! ~Peace :)
@Doriandotslash
@Doriandotslash 3 жыл бұрын
Awesome that's great to hear! I'm glad it helped you out, cheers!
@rectify2003
@rectify2003 9 ай бұрын
Great explanation Dorian I have always avoided what I don't understand I will attempt to install this at the weekend
@novagiantmedia1154
@novagiantmedia1154 Жыл бұрын
Thank you. Great explination. The info on the flatpak site was quite vauge, even though I do like dicovering things on my own. Your video really helped me.
@sneff80
@sneff80 3 жыл бұрын
Great video. Delivered nicely.
@Doriandotslash
@Doriandotslash 3 жыл бұрын
Thank you kindly!
@TheGannoK
@TheGannoK 3 жыл бұрын
Awesome content as always.
@Doriandotslash
@Doriandotslash 3 жыл бұрын
Thank you!
@zeroxhunter826
@zeroxhunter826 3 жыл бұрын
Damn, i learnt a lot from this 11 min video
@alexandreaugustus8277
@alexandreaugustus8277 3 жыл бұрын
Good Explanation
@aaronryder4008
@aaronryder4008 3 жыл бұрын
Now I want to see some editor war!! Been watching some threads on reddit and it kind of hyped me up for it!
@Doriandotslash
@Doriandotslash 3 жыл бұрын
Yeah VI(M), emacs, Ed, nano... It really just depends on what you want to edit. Nano works fine for me 99% of the time. If it’s not installed then I’ll use VI(M).
@krislong9338
@krislong9338 3 жыл бұрын
@@Doriandotslash same. Nano is just like pico which was what I was using on SunOS 4.1 and functions a lot like DOS edit so it was a no-brainer. It also is dead simple to cut, paste or paste from the clipboard every time. I'm I'm doing substitutions vi(m) would be better, but I prefer sed -i. I know enough vm to get around and get sharper qhen I'm always using it, it also works on very primitive or broken terminal types. But I almost always have nano installrd or available (read: about to be installed).
@Ranblv
@Ranblv 3 жыл бұрын
very useful thanks. replace 4 apps with its flat version and limited permissions.
@Ms.Robot.
@Ms.Robot. 2 жыл бұрын
That was nice. I enjoyed your voice. It put me to sleep. 💋❤️
@notionpicture
@notionpicture 3 жыл бұрын
It would be awesome if you did a video on how to get flatpack programs to follow system theme, I've followed a ton of tutorials but haven't been able to make it work.
@wernerclaassen4787
@wernerclaassen4787 3 жыл бұрын
using Endless Os. all on my system is flatpaks and the whole Os is built on Os tree..... it is cool, secure and just works!!!!
@Doriandotslash
@Doriandotslash 3 жыл бұрын
👍
@burhanfarooq7436
@burhanfarooq7436 2 жыл бұрын
nice this looks like kubernates implementation if I am getting it right ?
@jordir.8750
@jordir.8750 2 жыл бұрын
Can you virtualize operating systems within flatpak? for example, install VMware Workstation.
@wolfenstein6676
@wolfenstein6676 5 ай бұрын
I'm a new Linux Mint user, so if a program isn't already contained in the 'Software Manager' I can't install it. For example, I want to install Gimp 2.8 (an older version) and I've downloaded the flatpak for it to my downloads folder, but I've got no idea how to install it. How do we install flatpaks that we've already downloaded?
@canoshizrocks
@canoshizrocks 3 жыл бұрын
Just a random question. What's the hotkey combo to resize the terminal text? You do it at 4:00
@Doriandotslash
@Doriandotslash 3 жыл бұрын
CTRL+SHIFT and the =/+ key next to backspace.
@canoshizrocks
@canoshizrocks 3 жыл бұрын
@@Doriandotslash Thanks for the quick reply! :)
@osamaanees8406
@osamaanees8406 3 жыл бұрын
Flatpack helped me in installing Discord's Emojis. The official version had black and white emojis. That means I had to search for different fonts. Some fonts were conflicting with each other. And some fonts were outdated. Most of them were in the AUR and I dont want to use some random AUR just for fonts. Flatpack Fixed it. Anyways is there a way to see what dependencies flatpack installed?? That way i can find out what fonts it used to show the emojis and can use the official version in the future?
@Doriandotslash
@Doriandotslash 3 жыл бұрын
If you open up a terminal and type "flatpak list" it will show you all the flatpaks and dependencies installed.
@PhilipDudley3
@PhilipDudley3 3 жыл бұрын
Can you do a review of Flatpak Extension SDKs?
@Doriandotslash
@Doriandotslash 3 жыл бұрын
I'm not really much of a developer anymore outside of basic Python or Bash scripts on occasion.
@andytheodorko9874
@andytheodorko9874 2 жыл бұрын
I was confused that PyCharm has a separate python 3.9 installed (because it runs in a Flatpack) and my system python is 3.10
@kaysersozze
@kaysersozze 3 жыл бұрын
How do you make flatpak apps to use the system gtk3 theme ? or set some other than the default adwaita white which seems to be the default for all flatpak apps
@JahidulIslam
@JahidulIslam 3 жыл бұрын
You can install flatpak versions of some theme. There are few themes in flathub repo. You may also create flatpak version of your own theme and use it that way
@kaysersozze
@kaysersozze 3 жыл бұрын
@@JahidulIslam yeah I tried that and it doesn't work
@hammerheadcorvette4
@hammerheadcorvette4 3 жыл бұрын
There is still some tweaking involved with themes, What I've seen works is to install the themes flatpak, but there are some flatpaks that use specific themes and not the "org.freedesktop.", this is going to be a problem for a while I think.
@HamguyBacon
@HamguyBacon 2 жыл бұрын
1:02 so like registry
@ArtOfHealth
@ArtOfHealth 3 жыл бұрын
Is this similar to what you can do with QubesOS? Thanks
@Doriandotslash
@Doriandotslash 3 жыл бұрын
Not really, but the separation of the application from your system is a little similar. Qubes uses full virtual machines to run an application in which cannot communicate with the host at all. Flatpaks run in a container which can if you allow it.
@ArtOfHealth
@ArtOfHealth 3 жыл бұрын
@@Doriandotslash Thanks very much!
@mrblank-zh1xy
@mrblank-zh1xy 7 ай бұрын
So Flatpak is Docker?
@lazi21
@lazi21 3 жыл бұрын
Flatpaks seem great, though I have some issues with them on my machine. Flatpak Firefox doesn't play Odysee videos very well. They stutter. And in Flatpak Steam I couldn't get some games to run but other games ran more stable than before. Using Manjaro btw
@Doriandotslash
@Doriandotslash 3 жыл бұрын
Might be a video driver issue
@lazi21
@lazi21 3 жыл бұрын
@@Doriandotslash Don't know. I'm using Nvidia and the "normal" packages don't have the stated problems
@hammerheadcorvette4
@hammerheadcorvette4 3 жыл бұрын
@@lazi21 do you have the flatpak nvidia driver installed ?
@lazi21
@lazi21 3 жыл бұрын
@@hammerheadcorvette4 No, I haven't thought of that. Where can I find it?
@hammerheadcorvette4
@hammerheadcorvette4 3 жыл бұрын
@@lazi21 org.freedesktop.Platform.nvidia-455-45-01 that's the latests flatpak ref for your nvidia card. sorry for the late reply, I though i mentioned this. You can get this from the flathub repo. flatpak -y install org.freedesktop.Platform.nvidia-455-45-01
@learningbird9940
@learningbird9940 3 жыл бұрын
Why do Flatpak apps create huge files in /var ?
@Doriandotslash
@Doriandotslash 3 жыл бұрын
System Flatpaks or dependencies are installed in /var/lib/flatpak/
@learningbird9940
@learningbird9940 3 жыл бұрын
@@Doriandotslash And one gets a /var partition growing to 4, 5 and more GB in size because of that.
@learningbird9940
@learningbird9940 3 жыл бұрын
@@Doriandotslash And I've never had snaps behaving so badly in terms of file size as flatpaks. Neither appimages. But appimages also cannot be updated from the package manager and don't install a .desktop file to integrate them on the menu.
@Doriandotslash
@Doriandotslash 3 жыл бұрын
​@@learningbird9940 Once all the major dependencies have been installed, it will only install the applications themselves since they share dependencies. Also, hard disk space is very cheap.
@Appalling68
@Appalling68 3 жыл бұрын
The only downside of flatpacks (IMHO of course), is the huge file size. I’ve seen some that exceed 1GB in size.
@Doriandotslash
@Doriandotslash 3 жыл бұрын
Yes but that includes its dependencies. Dependencies are also shared which means you only have to download them once and multiple Flatpaks can use it.
@Appalling68
@Appalling68 3 жыл бұрын
@@Doriandotslash Yeah, I gettcha. I use flatpacks both in my Linux Mint and Arch installs. Just making an observation. Very well done video, btw.
@bertblankenstein3738
@bertblankenstein3738 4 ай бұрын
Agreed, I don't use flatpacks, because typically the flatpack is 250 times the size of the system package. It isn't that it is one package, but a dozen packages, meaning 12 gigs if wasted space.
@PelenTan
@PelenTan 3 жыл бұрын
So... it's "docker-stupid" for those who want to Power-to-the-People(tm) and Fight-the-Man(tm) by refusing to use Docker. Because Docker Sold-Out(tm) by keeping all the Docker development owned by the community as a whole and tricked Big-Tech(tm) into strongly supporting the community-controlled and completely free Docker engine for a lot of their systems. Good call, there skipper.
@Doriandotslash
@Doriandotslash 3 жыл бұрын
Yep pretty much. Like a much easier to use version that integrates into your existing package manager and requires no managing. Much better option for the average user.
@andythurman2390
@andythurman2390 3 жыл бұрын
What you're talking about sounds more like podman. Flatpaks are meant to serve a much more specific purpose than docker. However, they operate on similar cgroup etc. technology.
@patriotic1526
@patriotic1526 2 жыл бұрын
that intro music thing was rather jarring. awful
@QuarKSonTV
@QuarKSonTV 3 жыл бұрын
Almost all popular apps on Flathub still come with filesystem=host or filesystem=home permissions, in other words, write access to the user home directory (and more) so all it takes to escape the sandbox is trivial echo download_and_execute_evil >> ~/.bashrc
@Doriandotslash
@Doriandotslash 3 жыл бұрын
That’s no different than installing something from a regular repo that would also have access to the host. By the way, Flatpaks only have read-only access to the host outside of the home folder, just like a regular user. And anything executed does not have sudo permissions so it can’t really do much anyways.
@hammerheadcorvette4
@hammerheadcorvette4 3 жыл бұрын
Fortunately you can change the permissions now. It used to be a PAIN, in the early days with having to rewrite permissions and flatpak-build all your apps. Thank God for Flatseal !!!
Linux File System/Structure Explained!
15:59
DorianDotSlash
Рет қаралды 4 МЛН
The 12 Linux Apps Everyone Should Know About
21:20
DistroTube
Рет қаралды 446 М.
Её Старший Брат Настоящий Джентельмен ❤️
00:18
Глеб Рандалайнен
Рет қаралды 7 МЛН
Countries Treat the Heart of Palestine #countryballs
00:13
CountryZ
Рет қаралды 22 МЛН
FLATPAK EXPLAINED: Theming, permissions, command line, browser installs...
15:32
Flatpak vs Snaps vs Appimage vs Packages - Linux packaging formats compared
14:12
18 Commands That Will Change The Way You Use Linux Forever
29:50
Akamai Developer
Рет қаралды 1,2 МЛН
I was WRONG! This is the BEST Package Manager.
10:25
Chris Titus Tech
Рет қаралды 133 М.
When to use Flatpak
2:37
Titus Tech Talk
Рет қаралды 28 М.
Why I Switched from Arch to Debian
10:16
DorianDotSlash
Рет қаралды 193 М.
Linux Directories Explained in 100 Seconds
2:53
Fireship
Рет қаралды 1,4 МЛН
Stop using APT
9:56
Chris Titus Tech
Рет қаралды 490 М.
Debian is 30 this year. Here's why it's still worth using.
10:22
Veronica Explains
Рет қаралды 174 М.
HUGE Speed Differences! Flatpak vs. Snap vs. AppImage
11:08
iPhone 12 socket cleaning #fixit
0:30
Tamar DB (mt)
Рет қаралды 31 МЛН
сюрприз
1:00
Capex0
Рет қаралды 1,2 МЛН
С ноутбуком придется попрощаться
0:18
Up Your Brains
Рет қаралды 430 М.