00:00hello everyone we've got the membership for this channel
00:04please if you don't mind become a member i wanted to set up snaps on my arch linux machine
00:12and to do so we need to have up armor set up so we start by going to a file
00:20under etc default grab like this using a text editor before i forget
00:35it should be grab underscore cmd line underscore linux underscore default so under that one we add
00:42lsum equals land land lock lockdown
01:12like this we need to have this bigger like this to make sure it is correct so it needs to
01:22be land
01:23lock lockdown yama integrity up armor bpf save and exit and then we run sudo grab dash mk config
01:37dash o slash boot slash grab slash grab dot cfg like this
01:52i'm not able to uh record the system reboot so i'm gonna stop the video
02:01and with video editing is gonna be stuck to the other piece of video and there will be one video
02:10so i meet you after i reboot the system which i'm gonna do now my system is rebooted we can
02:17check if
02:18the configurations were enabled successfully were set the way we wanted them by running
02:29this one this one this command enter yes i think this is what we should have here and we can
02:44run also z grab
02:51config
03:07yes we run now the command sudo pacman dash uppercase s up armor in order to install it password
03:35we press y and enter here
03:42we press y and enter here
03:48we press y and enter here and press y and enter here and enter here and enter here and enter
03:49here and
03:49in order to start up armor we check the status
04:07and we enable the service
04:13we can also add dash dash now in order to start it when it is enabled I mean
04:20when we enable it it's it is also started this makes this command not
04:27needed to be run enter
04:34we clear out the screen now we can install the package snap t it is
04:41available in the AUR and since not all of you like to use an AUR helper I will
04:50show you two methods for the installation one doesn't need an AUR
04:55helper and another needs it we run git clone HTTPS like this I ran the command
05:19purposely to make sure that it exists I mean the link is correct
05:26and then you run CD snap D and then you run make package dash SI adding that
05:39symbol in front of the command makes it a comment so it will not be run in case
05:47you want to use an AUR helper in my case I'm gonna use a dash uppercase s snap D
05:55the command should be like this parou has a similar syntax if you have a
06:02different syntax make sure that you type the correct command to install this some
06:11AUR helpers do not have exactly the same syntax as yay and parou so we run yay dash uppercase s
06:18snap D in order to install it enter enter enter again
06:39why and enter why and enter here we press y and enter
06:51why and enter here we press y and enter
06:58the symbolic link between slash var slash lab slash snap D slash snap and snap like this
07:13this is for the classic style snaps if I'm not mistaken enter we run so the snap list
07:29oh yeah we need to make we need to start the service so the system CTL start snap D we
07:39can check the status of this service like this it's running clear out the screen snap list
07:52we can see the warnings they're talking about we can start the service they're talking about sudo snap system
08:07system CTL enable dash dash now snap D dot up armor like this then system CTL status snap D dot
08:30up armor and it is running and enabled
08:36clear clear we can try to install some apps like yes visual studio codium as you can see I've got
08:58an error it says error system does not fully support snap D cannot mount squash fs
09:05snaps snaps rely entirely on squash fs there is a kernel module called squash fs
09:11we need to load it by running the command squash fs like this I need to restart my computer since
09:23I recently updated the kernel in order to it to be able to load the
09:34module for the module for the newly installed kernel I need to restart it I rebooted my computer
09:42I rebooted my computer let's load the kernel uh load the kernel module mod probe squash fs and then it
09:54is loaded so if we try to run snap
10:02install sublime text
10:04install sublime text
10:06like this
10:12maybe like this
10:13maybe like this
10:16yes sometimes it requires you to add the argument classic since it is a classic type of snap
10:25snap
10:27and it should install for us
10:37ok so sublime text has been installed we can run which sublime text to see where it is
10:52yes I have it though in the menus here let's try to run it
11:06I'm not sure if I installed it before or this is from the snaps
11:25it's the version for 4200 yes it's 4200 and it sounds like it is not installed through the official package
11:36manager
11:37uh it recommends us to restart the session you may need you may need to do it for me
11:44you saw that I have sublime text installed and added into the menus successfully
11:51so
11:51um
11:52I guess I'm signing out the snaps were successfully installed the configuration is correct
11:59up armor also has been enabled
12:01please don't forget to subscribe like share and comment and peace
12:05not
12:05just
12:05you
Comments