{"id":57748,"date":"2022-06-30T13:42:17","date_gmt":"2022-06-30T13:42:17","guid":{"rendered":"\/tutorials\/?p=57748"},"modified":"2026-10-14T15:49:38","modified_gmt":"2026-10-14T15:49:38","slug":"how-to-install-ubuntu","status":"publish","type":"post","link":"\/ng\/tutorials\/how-to-install-ubuntu\/","title":{"rendered":"How to install Ubuntu: 3 methods for beginners"},"content":{"rendered":"<p class=\"wp-block-paragraph\">To install Ubuntu on a laptop or desktop computer, download the Ubuntu Desktop ISO file, create a bootable USB drive, and follow the installation wizard. You can replace your existing operating system, install Ubuntu alongside Windows, or run it in a virtual machine using VirtualBox.<\/p><p class=\"wp-block-paragraph\">The best installation method depends on your needs:<\/p><ul class=\"wp-block-list\">\n<li><strong>Replace Windows with Ubuntu:<\/strong> Install Ubuntu directly on your computer for full hardware access, removing the existing operating system from the selected drive.<\/li>\n\n\n\n<li><strong>Install Ubuntu alongside Windows:<\/strong> Set up a dual-boot system that lets you choose between Windows and Ubuntu when starting your computer.<\/li>\n\n\n\n<li><strong>Use VirtualBox:<\/strong> Run Ubuntu inside Windows or another supported operating system without replacing your existing installation.<\/li>\n<\/ul><p class=\"wp-block-paragraph\">Before installing Ubuntu on a physical drive, <strong>back up your important files<\/strong> and check your disk configuration. Selecting the wrong installation option can permanently erase existing data.<\/p><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a aria-label=\"Linux Commands Cheat Sheet\" href=\"https:\/\/assets.hostinger.com\/content\/tutorials\/pdf\/Linux-Commands-Cheat-Sheet.pdf\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"2048\" height=\"566\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/11\/Linux-cheat-sheet.png\/w=1024,h=1024,fit=scale-down\" alt=\"\" class=\"wp-image-69262\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/11\/Linux-cheat-sheet.png\/w=2048,fit=scale-down 2048w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/11\/Linux-cheat-sheet.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/11\/Linux-cheat-sheet.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/11\/Linux-cheat-sheet.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/11\/Linux-cheat-sheet.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 2048px) 100vw, 2048px\" \/><\/a><\/figure>\n<\/div><p>\n\n\n\n<\/p><h2 class=\"wp-block-heading h-t-title-2\" id=\"h-what-do-you-need-to-install-ubuntu\">What do you need to install Ubuntu?<\/h2><p class=\"wp-block-paragraph\">Before installing Ubuntu Desktop, make sure your computer meets the minimum hardware requirements and that you&rsquo;ve prepared the necessary installation files.<\/p><p class=\"wp-block-paragraph\">For Ubuntu 26.04 LTS, the recommended requirements are:<\/p><ul class=\"wp-block-list\">\n<li><strong>Processor:<\/strong> 2 GHz dual-core processor or better.<\/li>\n\n\n\n<li><strong>RAM:<\/strong> At least 6 GB.<\/li>\n\n\n\n<li><strong>Storage:<\/strong> At least 25 GB of free disk space.<\/li>\n\n\n\n<li><strong>USB drive:<\/strong> At least 8 GB of capacity for creating installation media.<\/li>\n\n\n\n<li><strong>Internet connection:<\/strong> Recommended for downloading updates and drivers, but not required for installation.<\/li>\n<\/ul><p><div class=\"announcement-block announcement-block--important\">\n            <span class=\"announcement-block__heading\">\n                <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                    <path fill-rule=\"evenodd\" clip-rule=\"evenodd\"\n                          d=\"M12 22.5C17.799 22.5 22.5 17.799 22.5 12C22.5 6.20101 17.799 1.5 12 1.5C6.20101 1.5 1.5 6.20101 1.5 12C1.5 17.799 6.20101 22.5 12 22.5ZM13.637 7.65198C13.637 6.74791 12.9041 6.01501 12 6.01501C11.0959 6.01501 10.363 6.74791 10.363 7.65198C10.5335 9.53749 10.875 13.383 10.875 13.383C10.875 14.0043 11.3787 14.508 12 14.508C12.6213 14.508 13.125 14.0043 13.125 13.383V13.38L13.637 7.65198ZM11.9927 15.714C11.3714 15.714 10.8677 16.2177 10.8677 16.839C10.8677 17.4603 11.3714 17.964 11.9927 17.964H12.0073C12.6286 17.964 13.1323 17.4603 13.1323 16.839C13.1323 16.2177 12.6286 15.714 12.0073 15.714H11.9927Z\"\n                          fill=\"#FEA419\"\/>\n                <\/svg>\n                Important\n            <\/span>\n            <p class=\"announcement-block__content\">\n                Back up your important files before installing Ubuntu. Creating a bootable USB drive erases its contents, while choosing to replace your existing operating system can permanently delete data from the selected disk.\n            <\/p><\/div>\n<\/p><p class=\"wp-block-paragraph\">If you&rsquo;re installing Ubuntu alongside Windows, check whether BitLocker encryption is enabled before modifying disk partitions. We&rsquo;ll cover this in the dual-boot installation steps.<\/p><p class=\"wp-block-paragraph\">If you&rsquo;re using VirtualBox instead, you don&rsquo;t need a USB drive, but your computer must have enough available RAM and storage to run both operating systems.<\/p><figure class=\"wp-block-image size-large\"><a aria-label=\"Vps hosting\" class=\"hgr-tutorials-cta hgr-tutorials-cta-vps-hosting\" href=\"\/ng\/vps-hosting\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"300\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/02\/VPS-hosting-banner.png\/w=1024,h=1024,fit=scale-down\" alt=\"\" class=\"wp-image-77934\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/02\/VPS-hosting-banner.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/02\/VPS-hosting-banner.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/02\/VPS-hosting-banner.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/02\/VPS-hosting-banner.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><h2 id=\"h-how-to-install-ubuntu-wiping-out-the-old-operating-system\" class=\"wp-block-heading h-t-title-2\">How to install Ubuntu by replacing your existing operating system<\/h2><p class=\"wp-block-paragraph\">Installing Ubuntu directly on your computer gives it access to your hardware without running a virtual machine. This method is suitable if you want Ubuntu to replace Windows or another existing operating system.<\/p><p class=\"wp-block-paragraph\">Replacing your operating system erases the data on the selected installation drive. Back up important files and confirm which drive you intend to use before proceeding.<\/p><h3 class=\"wp-block-heading h-t-title-3\">1. Download the Ubuntu Desktop ISO<\/h3><ol class=\"wp-block-list\"><\/ol><p class=\"wp-block-paragraph\">Download the latest Ubuntu Desktop LTS ISO file from the <a href=\"https:\/\/ubuntu.com\/download\/desktop\" target=\"_blank\" rel=\"noopener\">official Ubuntu website<\/a>.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"\/ng\/tutorials\/wp-content\/uploads\/sites\/2\/2022\/06\/Ubuntu-22.04-LTS-download.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1064\" height=\"339\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/06\/Ubuntu-22.04-LTS-download.png\/w=1024,h=1024,fit=scale-down\" alt=\"Official download page for desktop Linux distribution &ndash; Ubuntu 22.04 LTS. Red border indicating the download button\" class=\"wp-image-57749\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/06\/Ubuntu-22.04-LTS-download.png\/w=1064,fit=scale-down 1064w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/06\/Ubuntu-22.04-LTS-download.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/06\/Ubuntu-22.04-LTS-download.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/06\/Ubuntu-22.04-LTS-download.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/06\/Ubuntu-22.04-LTS-download.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1064px) 100vw, 1064px\" \/><\/a><\/figure><\/div><p class=\"wp-block-paragraph\">Choose the Desktop version for a graphical interface and save the ISO file to your computer. You&rsquo;ll use it to create a bootable USB drive.<\/p><h3 id=\"h-2-create-a-bootable-usb\" class=\"wp-block-heading h-t-title-3\">2. Create a bootable USB drive<\/h3><p class=\"wp-block-paragraph\">A bootable USB drive lets you start the Ubuntu installer without launching your existing operating system.<\/p><p class=\"wp-block-paragraph\">On Windows, you can create one using <a href=\"https:\/\/rufus.ie\/\" target=\"_blank\" rel=\"noopener\">Rufus<\/a>:<\/p><ol start=\"1\" class=\"wp-block-list\">\n<li>Download and open Rufus.<\/li>\n\n\n\n<li>Connect a USB drive with at least 8 GB of storage.<\/li>\n\n\n\n<li>Under <strong>Device<\/strong>, select the correct USB drive.<\/li>\n\n\n\n<li>Click <strong>SELECT<\/strong> under Boot selection and choose your downloaded Ubuntu ISO file.<\/li>\n\n\n\n<li>Leave the default partition scheme and file system settings unless your computer requires a specific configuration. Modern UEFI-only systems typically use GPT.<\/li>\n\n\n\n<li>Click <strong>START<\/strong> and confirm the prompts to create the installation media.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/ng\/tutorials\/wp-content\/uploads\/sites\/2\/2022\/06\/Rufus-drive-properties.png\"><img loading=\"lazy\" decoding=\"async\" width=\"470\" height=\"268\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/06\/Rufus-drive-properties.png\/public\" alt=\"Drive Properties section on the Rufus program\" class=\"wp-image-57751\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/06\/Rufus-drive-properties.png\/w=470,fit=scale-down 470w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/06\/Rufus-drive-properties.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/06\/Rufus-drive-properties.png\/w=150,fit=scale-down 150w\" sizes=\"auto, (max-width: 470px) 100vw, 470px\" \/><\/a><\/figure><\/div><p><div class=\"announcement-block announcement-block--important\">\n            <span class=\"announcement-block__heading\">\n                <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                    <path fill-rule=\"evenodd\" clip-rule=\"evenodd\"\n                          d=\"M12 22.5C17.799 22.5 22.5 17.799 22.5 12C22.5 6.20101 17.799 1.5 12 1.5C6.20101 1.5 1.5 6.20101 1.5 12C1.5 17.799 6.20101 22.5 12 22.5ZM13.637 7.65198C13.637 6.74791 12.9041 6.01501 12 6.01501C11.0959 6.01501 10.363 6.74791 10.363 7.65198C10.5335 9.53749 10.875 13.383 10.875 13.383C10.875 14.0043 11.3787 14.508 12 14.508C12.6213 14.508 13.125 14.0043 13.125 13.383V13.38L13.637 7.65198ZM11.9927 15.714C11.3714 15.714 10.8677 16.2177 10.8677 16.839C10.8677 17.4603 11.3714 17.964 11.9927 17.964H12.0073C12.6286 17.964 13.1323 17.4603 13.1323 16.839C13.1323 16.2177 12.6286 15.714 12.0073 15.714H11.9927Z\"\n                          fill=\"#FEA419\"\/>\n                <\/svg>\n                Important\n            <\/span>\n            <p class=\"announcement-block__content\">\n                Rufus erases all existing data on the selected USB drive. Make sure you&rsquo;ve selected the correct device before starting.\n            <\/p><\/div>\n<\/p><p class=\"wp-block-paragraph\">Wait until Rufus displays <strong>READY<\/strong>, then safely eject the USB drive.<\/p><h3 id=\"h-3-install-ubuntu-os-from-the-usb\" class=\"wp-block-heading h-t-title-3\">3. Boot your computer from the USB drive<\/h3><p class=\"wp-block-paragraph\">With the Ubuntu bootable drive ready, proceed with the installation. For that, restart your computer and Once your bootable USB drive is ready, restart your computer and select it as the startup device.<\/p><ol start=\"1\" class=\"wp-block-list\">\n<li>Insert the USB drive into the computer where you want to install Ubuntu.<\/li>\n\n\n\n<li>Restart the computer and open the <strong>boot menu<\/strong>. The required key depends on your manufacturer, but common options include F12, F10, Esc, or F2.<\/li>\n\n\n\n<li>Select your USB drive from the available boot devices. On UEFI systems, it may appear with a UEFI label.<\/li>\n\n\n\n<li>Wait for the Ubuntu startup screen, then select the option to try or install Ubuntu.<\/li>\n<\/ol><p class=\"wp-block-paragraph\">If your computer doesn&rsquo;t recognize the USB drive, check its UEFI boot settings and confirm that the installation media was created correctly. You usually don&rsquo;t need to change the permanent boot order.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/ng\/tutorials\/wp-content\/uploads\/sites\/2\/2022\/06\/MSI-Bios-settings.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1017\" height=\"251\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/06\/MSI-Bios-settings.png\/public\" alt=\"Boot Priority settings for MSI BIOS\" class=\"wp-image-57754\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/06\/MSI-Bios-settings.png\/w=1017,fit=scale-down 1017w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/06\/MSI-Bios-settings.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/06\/MSI-Bios-settings.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/06\/MSI-Bios-settings.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1017px) 100vw, 1017px\" \/><\/a><\/figure><\/div><p class=\"wp-block-paragraph\">When the installer reaches <strong>Disk setup<\/strong>, choose <strong>Erase disk and install Ubuntu<\/strong> only if you intend to replace the operating system on the selected physical drive. Double-check the drive before confirming.<\/p><p class=\"wp-block-paragraph\">The remaining installer settings, including language, keyboard, user account, and restart, are covered in the installation completion section.<\/p><h2 class=\"wp-block-heading h-t-title-2\" id=\"h-how-to-install-ubuntu-alongside-windows\">How to install Ubuntu alongside Windows<\/h2><p class=\"wp-block-paragraph\">You can install Ubuntu alongside Windows using a <strong>dual-boot configuration<\/strong>, which lets you choose which operating system to run when starting your computer. Unlike a virtual machine, both operating systems run directly on your hardware.<\/p><p class=\"wp-block-paragraph\">Before installing Ubuntu alongside Windows:<\/p><ul class=\"wp-block-list\">\n<li><strong>Back up your files.<\/strong> Changing disk partitions carries a risk of data loss, even when you intend to keep Windows.<\/li>\n\n\n\n<li><strong>Check BitLocker encryption.<\/strong> If your Windows drive uses BitLocker or Device Encryption, save your recovery key and check whether encryption must be disabled before installation. Ubuntu can&rsquo;t safely install alongside an encrypted Windows partition using the guided installer.<\/li>\n\n\n\n<li><strong>Check available storage.<\/strong> Make sure your drive has enough free space for Ubuntu and your existing Windows files.<\/li>\n<\/ul><p class=\"wp-block-paragraph\">If BitLocker is enabled on the Windows installation drive, follow Canonical&rsquo;s instructions to <a href=\"https:\/\/ubuntu.com\/desktop\/docs\/en\/26.04\/how-to\/turn-off-bitlocker-in-windows\/\" target=\"_blank\" rel=\"noopener\">turn off BitLocker in Windows<\/a> and wait for decryption to finish before proceeding. Disabling encryption may have security implications, so check whether you can re-enable it afterward.<\/p><p class=\"wp-block-paragraph\">To install Ubuntu alongside Windows:<\/p><ol start=\"1\" class=\"wp-block-list\">\n<li><strong>Boot from the Ubuntu USB drive.<\/strong> Restart your computer, open the boot menu, and select the USB installation media.<\/li>\n\n\n\n<li><strong>Launch the Ubuntu installer.<\/strong> Choose the installation language, keyboard layout, and other initial preferences.<\/li>\n\n\n\n<li><strong>Choose the dual-boot option.<\/strong> Under Disk setup, select <strong>Install Ubuntu alongside Windows<\/strong> or the equivalent option if Windows is detected.<\/li>\n\n\n\n<li><strong>Allocate disk space.<\/strong> Select the installation drive and adjust how much space Ubuntu will use. Make sure Windows retains enough space for your existing files and applications.<\/li>\n\n\n\n<li><strong>Review the disk changes.<\/strong> Confirm that Ubuntu will be installed alongside Windows rather than replacing it. Carefully review the installation summary before proceeding.<\/li>\n\n\n\n<li><strong>Complete the installation.<\/strong> Configure your user account, password, and time zone, then finish the installation and restart your computer.<\/li>\n\n\n\n<li><strong>Choose your operating system.<\/strong> Remove the USB drive when prompted. After restarting, use the operating system selection menu to boot into Ubuntu or Windows. If the menu doesn&rsquo;t appear, check your UEFI boot options.<\/li>\n<\/ol><p><div class=\"announcement-block announcement-block--important\">\n            <span class=\"announcement-block__heading\">\n                <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                    <path fill-rule=\"evenodd\" clip-rule=\"evenodd\"\n                          d=\"M12 22.5C17.799 22.5 22.5 17.799 22.5 12C22.5 6.20101 17.799 1.5 12 1.5C6.20101 1.5 1.5 6.20101 1.5 12C1.5 17.799 6.20101 22.5 12 22.5ZM13.637 7.65198C13.637 6.74791 12.9041 6.01501 12 6.01501C11.0959 6.01501 10.363 6.74791 10.363 7.65198C10.5335 9.53749 10.875 13.383 10.875 13.383C10.875 14.0043 11.3787 14.508 12 14.508C12.6213 14.508 13.125 14.0043 13.125 13.383V13.38L13.637 7.65198ZM11.9927 15.714C11.3714 15.714 10.8677 16.2177 10.8677 16.839C10.8677 17.4603 11.3714 17.964 11.9927 17.964H12.0073C12.6286 17.964 13.1323 17.4603 13.1323 16.839C13.1323 16.2177 12.6286 15.714 12.0073 15.714H11.9927Z\"\n                          fill=\"#FEA419\"\/>\n                <\/svg>\n                Important\n            <\/span>\n            <p class=\"announcement-block__content\">\n                Do not select Erase disk and install Ubuntu when installing alongside Windows on the same drive. This option removes the existing partitions on the selected drive.\n            <\/p><\/div>\n<\/p><p class=\"wp-block-paragraph\">If the installer doesn&rsquo;t display an option to install Ubuntu alongside Windows, stop and check your disk configuration and encryption settings before continuing. Manual partitioning is intended for advanced users.<\/p><h2 id=\"h-how-to-install-ubuntu-on-windows-using-virtualbox\" class=\"wp-block-heading h-t-title-2\">How to install Ubuntu on Windows using VirtualBox<\/h2><p class=\"wp-block-paragraph\">You can install Ubuntu on Windows using <strong>Oracle VirtualBox<\/strong>, which runs Ubuntu inside a virtual machine without replacing your existing operating system.<\/p><p class=\"wp-block-paragraph\">This method is useful for testing Ubuntu, learning Linux, or running applications in an isolated environment. Unlike dual-booting, you can use Ubuntu and Windows simultaneously without restarting your computer.<\/p><h3 id=\"h-1-download-and-install-virtualbox\" class=\"wp-block-heading h-t-title-3\">1. Download and install VirtualBox<\/h3><p class=\"wp-block-paragraph\">Start by downloading the latest version of <a href=\"https:\/\/www.virtualbox.org\/wiki\/Downloads\" target=\"_blank\" rel=\"noopener\">Oracle VirtualBox<\/a> for Windows.<\/p><p class=\"wp-block-paragraph\">Open the installation file and follow the setup wizard. You can keep the default settings for most installations.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/ng\/tutorials\/wp-content\/uploads\/sites\/2\/2022\/06\/VirtualBox-installer-first-step.png\"><img loading=\"lazy\" decoding=\"async\" width=\"483\" height=\"353\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/06\/VirtualBox-installer-first-step.png\/public\" alt=\"VirtualBox installation process\" class=\"wp-image-57755\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/06\/VirtualBox-installer-first-step.png\/w=483,fit=scale-down 483w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/06\/VirtualBox-installer-first-step.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/06\/VirtualBox-installer-first-step.png\/w=150,fit=scale-down 150w\" sizes=\"auto, (max-width: 483px) 100vw, 483px\" \/><\/a><\/figure><\/div><p class=\"wp-block-paragraph\">During setup, VirtualBox may temporarily interrupt your internet connection while configuring its network components.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/ng\/tutorials\/wp-content\/uploads\/sites\/2\/2022\/06\/VirtualBox-installer-network-interfaces-warning.png\"><img loading=\"lazy\" decoding=\"async\" width=\"481\" height=\"358\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/06\/VirtualBox-installer-network-interfaces-warning.png\/public\" alt=\"VirtualBox installer network interfaces warning\" class=\"wp-image-57756\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/06\/VirtualBox-installer-network-interfaces-warning.png\/w=481,fit=scale-down 481w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/06\/VirtualBox-installer-network-interfaces-warning.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/06\/VirtualBox-installer-network-interfaces-warning.png\/w=150,fit=scale-down 150w\" sizes=\"auto, (max-width: 481px) 100vw, 481px\" \/><\/a><\/figure><\/div><p class=\"wp-block-paragraph\">Once the installation finishes, open VirtualBox to create your Ubuntu virtual machine.<\/p><h3 id=\"h-2-download-and-install-linux-iso\" class=\"wp-block-heading h-t-title-3\">2. Create an Ubuntu virtual machine<\/h3><p class=\"wp-block-paragraph\">Before creating the virtual machine, download the Ubuntu Desktop ISO from the <a href=\"https:\/\/ubuntu.com\/download\/desktop\" target=\"_blank\" rel=\"noopener\">official Ubuntu website<\/a> if you haven&rsquo;t already.<\/p><p class=\"wp-block-paragraph\">Follow these steps:<\/p><ol start=\"1\" class=\"wp-block-list\">\n<li>Open VirtualBox and click <strong>New<\/strong> to create a virtual machine.<\/li>\n\n\n\n<li>Enter a name, such as Ubuntu, and select the downloaded ISO file under <strong>ISO Image<\/strong>.<\/li>\n\n\n\n<li>Disable <strong>Install OS Using Unattended Installation<\/strong> to complete the installation manually using Ubuntu&rsquo;s installer.<\/li>\n\n\n\n<li>Allocate memory and processor resources. Aim for at least 4 GB of RAM if your computer has sufficient resources, leaving enough memory and CPU capacity for Windows.<\/li>\n\n\n\n<li>Create a virtual hard disk with at least 25 GB of storage. You can use dynamically allocated storage so the disk file grows as needed, up to its configured limit.<\/li>\n\n\n\n<li>Review the virtual machine settings and click <strong>Finish<\/strong>.<\/li>\n\n\n\n<li>Select your new Ubuntu virtual machine and click <strong>Start<\/strong> to launch the installer.<\/li>\n<\/ol><p class=\"wp-block-paragraph\">When Ubuntu starts, follow the installation wizard to configure the operating system.<\/p><p><div class=\"announcement-block announcement-block--important\">\n            <span class=\"announcement-block__heading\">\n                <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                    <path fill-rule=\"evenodd\" clip-rule=\"evenodd\"\n                          d=\"M12 22.5C17.799 22.5 22.5 17.799 22.5 12C22.5 6.20101 17.799 1.5 12 1.5C6.20101 1.5 1.5 6.20101 1.5 12C1.5 17.799 6.20101 22.5 12 22.5ZM13.637 7.65198C13.637 6.74791 12.9041 6.01501 12 6.01501C11.0959 6.01501 10.363 6.74791 10.363 7.65198C10.5335 9.53749 10.875 13.383 10.875 13.383C10.875 14.0043 11.3787 14.508 12 14.508C12.6213 14.508 13.125 14.0043 13.125 13.383V13.38L13.637 7.65198ZM11.9927 15.714C11.3714 15.714 10.8677 16.2177 10.8677 16.839C10.8677 17.4603 11.3714 17.964 11.9927 17.964H12.0073C12.6286 17.964 13.1323 17.4603 13.1323 16.839C13.1323 16.2177 12.6286 15.714 12.0073 15.714H11.9927Z\"\n                          fill=\"#FEA419\"\/>\n                <\/svg>\n                Important\n            <\/span>\n            <p class=\"announcement-block__content\">\n                If you select Erase disk and install Ubuntu inside a correctly configured VirtualBox virtual machine, the installer erases the selected virtual disk, not your Windows installation. Always verify the target disk before confirming.\n            <\/p><\/div>\n<\/p><p class=\"wp-block-paragraph\">The next section explains how to complete the Ubuntu installation wizard.<\/p><h2 class=\"wp-block-heading h-t-title-2\" id=\"h-how-to-complete-the-ubuntu-installation\">How to complete the Ubuntu installation<\/h2><p class=\"wp-block-paragraph\">Once Ubuntu starts from your bootable USB drive or VirtualBox virtual machine, follow the installation wizard to configure your operating system.<\/p><p class=\"wp-block-paragraph\">Most steps are the same regardless of your installation method. However, <strong>the disk setup option depends on whether you&rsquo;re replacing Windows, dual-booting, or using VirtualBox<\/strong>.<\/p><ol start=\"1\" class=\"wp-block-list\">\n<li><strong>Select your language and keyboard layout.<\/strong> Choose your preferred language, configure accessibility settings if needed, and select your keyboard layout.<\/li>\n\n\n\n<li><strong>Choose Install Ubuntu.<\/strong> You can select Try Ubuntu to test the operating system without installing it. Otherwise, proceed with the installation and connect to the internet if available.<\/li>\n\n\n\n<li><strong>Configure installation preferences.<\/strong> Choose Interactive installation, then select Default selection for essential applications or Extended selection for additional software. You can also enable third-party drivers and media support.<\/li>\n\n\n\n<li><strong>Choose the correct disk setup option.<\/strong> To replace Windows, select Erase disk and install Ubuntu, which deletes the data on the selected drive. For a dual-boot setup, select &ldquo;Install Ubuntu alongside Windows&rdquo; if available, and allocate disk space for Ubuntu. In VirtualBox, select Erase disk and install Ubuntu only after confirming that the selected disk is the virtual hard drive created for the virtual machine.<strong>Important:<\/strong> Review the selected disk carefully before proceeding. If the expected installation option isn&rsquo;t available, stop and check your disk configuration.<\/li>\n\n\n\n<li><strong>Create your user account.<\/strong> Enter your name, computer name, username, and password. Choose whether Ubuntu should require your password when logging in.<\/li>\n\n\n\n<li><strong>Set your time zone.<\/strong> Select your location and preferred time zone.<\/li>\n\n\n\n<li><strong>Review and confirm the installation.<\/strong> Check the installation summary, especially the changes to the selected drive and partition. Click Install only when the settings match your intended setup.<\/li>\n\n\n\n<li><strong>Complete the installation.<\/strong> Wait for Ubuntu to finish installing, then select Restart Now when prompted. For USB installations, remove the USB drive when instructed. In VirtualBox, make sure the virtual machine boots from its installed virtual hard drive instead of restarting the installer.<\/li>\n<\/ol><p class=\"wp-block-paragraph\">Once Ubuntu restarts, sign in with your new credentials. Your Ubuntu desktop is ready to use.<\/p><h2 id=\"h-conclusion\" class=\"wp-block-heading h-t-title-2\">Next steps: Set up Ubuntu after installation<\/h2><p class=\"wp-block-paragraph\">After installing Ubuntu, check that your system boots correctly and that essential features, such as your internet connection, audio, and display, work as expected. If you installed Ubuntu alongside Windows, restart your computer to confirm that both operating systems remain accessible.<\/p><p class=\"wp-block-paragraph\">Before you start using Ubuntu regularly:<\/p><ol start=\"1\" class=\"wp-block-list\">\n<li><strong>Install system updates.<\/strong> Open Software Updater and install available security updates and bug fixes. Restart your computer if prompted.<\/li>\n\n\n\n<li><strong>Verify your installation.<\/strong> <a href=\"\/ng\/tutorials\/how-to-check-ubuntu-version\/\">Check your Ubuntu version<\/a> to confirm that the correct operating system release was installed.<\/li>\n\n\n\n<li><strong>Learn basic Linux commands.<\/strong> Get familiar with the terminal and practice <a href=\"\/ng\/tutorials\/linux-commands\/\">essential Linux commands<\/a> such as <code>ls<\/code>, <code>cd<\/code>, and <code>pwd<\/code> to navigate your system.<\/li>\n<\/ol><p class=\"wp-block-paragraph\">If you&rsquo;re running Ubuntu in VirtualBox, consider creating a virtual machine snapshot after completing your setup. This lets you restore a working configuration if something goes wrong while testing software.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To install Ubuntu on a laptop or desktop computer, download the Ubuntu Desktop ISO file, create a bootable USB drive, and follow the installation wizard. You can replace your existing operating system, install Ubuntu alongside Windows, or run it in a virtual machine using VirtualBox. The best installation method depends on your needs: Before installing [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"\/ng\/tutorials\/how-to-install-ubuntu\/\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":279,"featured_media":144395,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"rank_math_title":"How to install Ubuntu: 3 step-by-step methods","rank_math_description":"Learn how to install Ubuntu by replacing Windows, setting up dual boot, or using VirtualBox. Follow step-by-step instructions and avoid common setup mistakes.","rank_math_focus_keyword":"how to install ubuntu","footnotes":""},"categories":[22670],"tags":[],"class_list":["post-57748","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vps"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/tutorials\/how-to-install-ubuntu","default":0},{"locale":"pt-BR","link":"https:\/\/www.hostinger.com\/br\/tutoriais\/como-instalar-ubuntu\/","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/tutoriels\/comment-installer-ubuntu\/","default":0},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/tutoriales\/como-instalar-ubuntu\/","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/tutorial\/cara-install-ubuntu\/","default":0},{"locale":"en-PH","link":"https:\/\/www.hostinger.com\/ph\/tutorials\/how-to-install-ubuntu","default":0},{"locale":"en-MY","link":"https:\/\/www.hostinger.com\/my\/tutorials\/how-to-install-ubuntu","default":0},{"locale":"en-GB","link":"https:\/\/www.hostinger.com\/uk\/tutorials\/how-to-install-ubuntu","default":0},{"locale":"en-IN","link":"https:\/\/www.hostinger.com\/in\/tutorials\/how-to-install-ubuntu","default":0},{"locale":"en-CA","link":"https:\/\/www.hostinger.com\/ca\/tutorials\/how-to-install-ubuntu","default":0},{"locale":"en-AU","link":"https:\/\/www.hostinger.com\/au\/tutorials\/how-to-install-ubuntu","default":0},{"locale":"en-NG","link":"https:\/\/www.hostinger.com\/ng\/tutorials\/how-to-install-ubuntu","default":0},{"locale":"es-AR","link":"https:\/\/www.hostinger.com\/ar\/tutoriales\/como-instalar-ubuntu\/","default":0},{"locale":"es-MX","link":"https:\/\/www.hostinger.com\/mx\/tutoriales\/como-instalar-ubuntu\/","default":0},{"locale":"es-CO","link":"https:\/\/www.hostinger.com\/co\/tutoriales\/como-instalar-ubuntu\/","default":0},{"locale":"pt-PT","link":"https:\/\/www.hostinger.com\/pt\/tutoriais\/como-instalar-o-ubuntu-no-desktop-notebook-ou-pc\/","default":0}],"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/posts\/57748","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/users\/279"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/comments?post=57748"}],"version-history":[{"count":25,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/posts\/57748\/revisions"}],"predecessor-version":[{"id":153611,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/posts\/57748\/revisions\/153611"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/media\/144395"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/media?parent=57748"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/categories?post=57748"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/tags?post=57748"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}