hey guys in this video I'm going to show you how you can install Ubuntu 24.0 4 on your Mac operating system virtually which supports M1 M2 or M3 chips we are going to use a tool called UTM which is similar to Virtual box and we will install open2 on our Mac operating system using UTM first of all we are going to install UTM let's see how we can install UTM on our Mac operating system so just search for UTM and the first link which will appear here will be from mac. getet UTM doapp so we are going to click on this link I'm going to provide this link in the description of this video also and straight away you can see the download button here you can also see the description here which says securely run operating system on your Mac and you can scroll down and read more about this UTM tool so here I'm going to click on this download button which is going to start the download of this UTM do DMG file so once this UTM DMG file is downloaded I'm going to click on this UTM DMG file and we are ready to install the UTM tool here you just need to select the UTM icon and then press command key and drag and drop this UTM icon on your applications folder which is going to install UTM on your Mac operating system now once UTM is installed we can minimize this and then we can go to the Launchpad area and we can see this UTM icon here so I'm going to open the UTM tool from here and you can see UTM is successfully installed and it's running on our Mac operating system so here you can see what's new I'm going to just click on continue here and this UTM tool looks something like this now once you have UTM installed we are going to move forward with the download of the obuntu ISO file so because we want to install Ubuntu on our Mac operating system with supports M1 or M2 which is the arm architecture we are going to download the arm image of Ubuntu so when I go to my favorite browser and search for Ubuntu I can see this first link which is ubuntu.com I'm going to click on this link here I'm going to select uh Ubuntu Server I can also select Ubuntu desktop but when I download the Ubuntu desktop ISO image it's an AMD image and at this point we want the arm image and that is only available for open to server so I'm going to select open to server here and then you can click on download open to server and then you need to go to Alternative architectures so here you can see the arm architecture and this is what we want right so you don't need to download this uh AMD uh ISO image you need to click on the alternative architecture and download the arm uh architecture ISO file so I'm going to click on arm here and then it says open to server for arm and then we are going to click on this download button which is going to start the download of this obuntu 24.4 live server which is the arm server right so I have already downloaded this ISO file so I'm going to cancel this download and let me show you the download section here so we are going to install Ubuntu using this Ubuntu Server arm image now I'm going to open my UTM manager which looks like this and here we are going to create a new virtual machine so I'm going to click on this create a new virtual machine button and then I'm going to select the first option and it says faster but can only run the native CPU architecture and that's why we have downloaded the arm based image and not AMD based image so I'm going to select virtualize here and then I'm going to select Lin here and here I'm going to select the path of the ISO file so you need to just leave these checkboxes as unchecked and in the third section you need to click on browse and select the obuntu live server image right you can see I have also downloaded the am MD uh image which is the AMD 64-bit image but this image we don't want we have downloaded the Arm based live server image and this is the image we want and then you can click on open and you can see it's selected here and then click on continue here now in the hardware section you can select the memory by default it's 4,000 MB you can increase this or decrease this depending on the capacity of your Mac operating system you can also select the number of processors so for example I'm going to select eight processors but it totally depends uh on your Mac operating system how much cores you have available you can also check this checkbox and then click on continue here now the storage by default which is assigned by UTM is 64 GB you can increase or decrease this uh storage depending on the capacity which is remaining on your Mac operating system I'm going to click on continue here and then you can also select the shared directory so I'm going to click on browse here and then I'm going to select downloads uh directory as the shared directory and then click on open and then click on continue here I can see the summary and I can also give the name to my open 2 uh machine so instead of Linux I'm going to write open 2 24.4 LTS okay and then you can also select this uh checkbox so just check this checkbox it's going to open the settings for your virtual machine which you are creating so I'm going to click on Save here which is going to just open the settings section so you can later also change these settings for example if you want to reduce the uh CPU count or the memory you can decrease it from here for now everything looks okay for me so I'm going to click on Save here and once my virtual machine is created I can click on this run button to start the installation of my Ubuntu server for now and here you just need to drag your mouse inside this black screen and using arrow keys you can move up or down and you need to select the first uh option which says try or install Ubuntu server and then press enter key on your keyboard and here you can see the Ubuntu Server installation has been started so here you can uh use your up or down arrow keys to select the language I'm going to use the English language for this installation so select English and then press enter key now in the next section I can select the keyboard layout which which I want to use for my open to operating system by default it's English us but I want to change it to German keyboard layout because I have the German keyboard layout so I'm going to select this and then I'm going to move my cursor to the German keyboard layout you can also change this from here so if you are using any other keyboard layout other than the default one you can always change this keyboard layout and then once it's selected just select done here and then press enter now in the next section it says choose the type of uh installation by default it's uh obuntu server so we are going to uh just leave it as default and then use the arrow keys to move your selection upwards and we also want to select this option which says search third party drivers so use space key to select this option and then use Arrow key to move down where it highlights the done option and then press enter and in the next section network configuration will be uh shown so I'm going to leave everything as default and then press enter and now you can also give the proxy configuration for now I don't want to give any proxy configuration so I'm going to press enter here and now it says this mirror location pass the test so I'm going to just press enter here and now in the next section I have guided storage configuration so I'm going to leave everything as default here which is use an entire disk and then use my down arrow key to move to the done section and then press enter and then you have the file system summary here I'm going to just press on enter or return key and here I can move my arrow key to continue and then press enter and now I have the next section which says profile configuration here I'm going to give the name to my machine so I'm going to name my machine as code bind here and then move to the next section also server name will be code bind in my case you can give any name here and then I'm going to give the username which is code bind again and then the password I'm going to choose a varable very simple password here and then I'm going to choose done and then press enter and then uh here it says upgrade to open 2 Pro I don't want to do that so I'm going to just skip this for now and then it says you can choose to install open SSH package to enable secure remote access I want to do this so I'm going to select uh this option by pressing space key which is going to add the X in front of install open SSS server and then move the down arrow key to the done and then press enter and then it says third party driver so I'm going to click on continue here and then here for now I don't want to install any third party drivers so I'm going to just move my cursor to done and then press enter and then it's going to start the installation of the system so at this point you just need to wait for a few seconds so once the installation is finished it's going to uh look like this at the end it says late for slash run colon that means the installation is finished now you can just use your arrow keys to move down here and just select the option which says reboot now and then press enter which is going to start the reboot now at this point if the reboot doesn't start then you can manually close this window and and start the open to operating system so as I can see this reboot is not starting at this point what I can do is I can select this option which says shut down or stop the virtual machine and then click on okay here which is going to stop the virtual machine and you can close this window now once your virtual machine is closed what you need to do here is you just need to uh make this little bit bigger here then when you uh start your virtual machine it's going to again try to install your Ubuntu if you don't clear this uh section for your ISO file okay so here in this last section you just need to select clear here if you don't choose this then the installation process is going to start again which we don't want right so choose uh the clear option once it's cleared just start your virtual machine again and now our Ubuntu server has been started so now because we have installed the Ubuntu Server which doesn't come with GUI that's why the login comes with the command line so here you can provide your username I'm going to provide my username as code bind here and then it's going to ask me for my password I'm going to just provide my uh password here and then press enter which will log me into my Ubuntu Server so now our untu server is installed but we want to use the Ubuntu using the graphical user interface which we are used to and we don't want to use this command line tool to uh work with our Ubuntu operating system on the Mac so for that I have some command which I'm going to give you in the description of this video also and these commands look like this so to install the obuntu desktop we want to use this command which says Pudo appt install open to desktop but before that we need to give this command which is Pudo appt update and we need to also give the Pudo appt install tasks cell so let's give these commands one by one first one is Pudo appt update so let's open our open to server here here I'm going to just write Pudo apt update and then press enter and here you need to provide your ubun to's password which you have given at the time of installation of UB 2 and then press enter once that's done let me clear the terminal and then we are going to give the next command and that command is sudo apt install task seel and then press enter here and then press Y and then press enter again which is going to install this tool and once that's done we going to give the next command and this will be the installation of our open to desktop so the third command here is Pudo app install open to hyphen desktop so let's give that command I'm going to just write PSE sudo app install open to hyphen desktop and then press enter and it's going to start the graphical user interface for Ubuntu press y here and then press enter now this process of installation of gome desktop is going to take around 20 to 30 minutes so you don't need to touch anything just make sure that your Mac operating system is connected to the power source and then just leave this uh window open and wait until this process is finished as I said it can take 20 minutes to half an hour so now the installation of Ubuntu desktop has been finished so we can restart our uh virtual machine which is the open to server machine so for that you can clear the terminal I am going to uh give the clear command to clear the terminal and then you can just write sud sudo reboot now and then press enter and give your open to password again and then press enter which is going to reboot your open to operating system now every time you reboot your buntu operating system it might take few uh seconds to reboot so you just need to wait for few seconds to a minute depending on the speed of uh your Mac operating system and now I can see the graphical user interface so now I can log in with my username this is the username which I have given at the time of installation of open to server and then I'm going to just give my password here and I'm logged into my open 2 operating system and now I can see the graphical user interface here now here this is the welcome window for Ubuntu I can click on next here and for Ubuntu Pro I'm going to skip for now so click on next and then I'm going to click on no I don't want to share any data and click on next and then I'm going to finish this so now you can start using Ubuntu on your Mac operating system now uh I'm going to give you two more commands so that uh you can use the shared folder with your Mac operating system and also we can increase the resolution of our Mac operating system uh by just tweaking a small setting in our virtual machine so for that first of all we are going to open the terminal just click on this show apps icon and then click on the terminal option and this time we are going to give this command which is pseudo app install spice VD agent and pseudo app install spice web davd you can you can also combine these two commands in one command by just uh giving this command which is pseudo appt install spice hyphen VD agent space the spice hyphen web da VD okay these commands also I'm going to give you in the description of this video so let's give this command and I'm going to press enter here and then give my open to password and then press enter which is going to install these two uh tools and once that's done we are going to reboot our system once again so I'm going to close this terminal and then click on this power button and then click on this power icon and then click on power off and then click on power off which is going to shut down my open to machine and then I can close this window now once again I'm going to open UTM here and this time I'm going to select my virtual machine and then I'm going to addit some settings so so here is the set settings icon so click on these three lines icon here and then I can go to the sharing section and this time you will see this option which says sprice webdav so click on this option and then we have already selected the downloads folder for sharing right so I'm going to click on open here and then click on Save here and once that's done one more thing we can do here is just open the settings once again and then click on display here and then click on retia mode which is going to enhance your display resolution of your open to operating system and then click on Save once again once that's done I'm going to click on the Run button again which is going to start my open to Virtual Machine and once I see the login window I'm going to give my my open to's password again and log to my obuntu operating system and this time when I just uh increase the size of this uh Ubuntu desktop you can see the resolution of Ubuntu is increased now right now I can click on this uh File Explorer or folder Explorer and then maximize the size and then when I click on other locations here I can see the spice client folder here I can see all the files which are available in my MacBooks download folder so let me open my MacBooks download folder here and I have three files here and all those three files I can see here also so this download folder has been shared so for example I want to transfer some file from my open to operating system to my Mac operating system or from my Mac operating system to my open to operating system I can do this easily so let me create a folder in my uh open to operating system inside my documents folder and I'm going to name this folder as test here and then what I can do here is I can right click here and then click on copy and then go to the spice client folder here and then right click and paste this folder here and and when I go to the downloads folder of my Mac operating system now I can see this test folder there also so this folder is shared between my open 2 and my Mac operating system so this is how you can install Ubuntu 24.0 4 on your Mac operating system using UTM I hope you enjoyed this video and I will see you in the next video