====== Part 1: How to Install and Setup Debian on a Virtual Machine ====== This page will get you started on installing Debian OS using VirtualBox and let you install and switch to a desktop environment of your choosing. ----- ===== Installation ===== This section will show you how to install Debian OS on a VirtualBox Virtual Machine. ----- **Note: The version we will be using is Debian 12.9.0 codenamed Bookworm.** 1. Install Debian version 12.9.0 .iso file from the website www.debian.org. \\ {{image_2025-01-16_025648033.png?nolink&200}} 2. Open Oracle VirtualBox. \\ {{image_2025-01-16_030120704.png?nolink&600}} 3. Click on New. {{image_2025-01-16_030935632.png?nolink}} 4. Go under the Name and Operating System tab. \\ {{image_2025-01-16_031118813.png?nolink&600}} 5. Type in the name of the OS which is Debian. {{image_2025-01-16_031334454.png?nolink}} 6. At ISO Image, click the drop down menu and click Other. \\ {{image_2025-01-16_031406909.png?nolink&600}} 7. Choose the downloaded Debian .iso file. \\ {{image_2025-01-16_031653448.png?nolink}} \\ {{image_2025-01-16_031837248.png?nolink&600}} 8. Go under the Unattended Install tab. \\ {{image_2025-01-16_032143376.png?nolink&600}} 9. Change the username and password to your liking. \\ {{image_2025-01-16_032300008.png?nolink&600}} 10. Go under the Hardware tab. You can change the Base Memory and Processors according to your liking. We will keep it as is. \\ {{image_2025-01-16_032332155.png?nolink&600}} 11. Go under the Hard Disk tab. You can change the hard disk space and other settings. We will keep it as is. \\ {{image_2025-01-16_032812862.png?nolink&600}} 12. Click Finish. {{image_2025-01-16_033345621.png?nolink}} 13. Wait for the installation to finish. \\ {{image_2025-01-16_033409390.png?nolink&600}} 14. After installation, it should look like this. \\ {{image_2025-01-16_033539654.png?nolink&600}} 15. Click the username and sign in using the password you set before. \\ {{image_2025-01-16_033801639.png?nolink&600}} 16. Debian OS is now installed successfully! \\ {{image_2025-01-16_034042770.png?nolink&600}} ----- ===== Installing Windows Manager ===== The following steps will show you how to install another desktop environment. We will be utilizing [[tasksel|tasksel]]. ----- **Note: Debian 12.9.0 comes preinstalled with GNOME desktop environment.** 1. In the terminal, type: sudo tasksel \\ {{image_2025-01-16_142505681.png?nolink&600}} \\ Notice that the terminal will look like this. \\ {{image_2025-01-16_142514426.png?nolink&600}} **Note: If you are unable to run sudo commands, follow the instructions on this [[root|link]].** 2. We want to install the Xfce desktop environment. Navigate the menu using up and down key. Press space to mark Xfce for installation. Make sure there is the (*) symbol. {{image_2025-01-16_142655265.png?nolink}} 3. Press Tab until Ok button is highlighted. {{image_2025-01-16_142733645.png?nolink}} Press Enter. 4. Wait for the installation to finish. \\ {{image_2025-01-16_142827704.png?nolink&600}} 5. Once the installation finish, we will try and switch to the Xfce desktop environment. Click the top right button on the screen. {{image_2025-01-16_142948053.png?nolink}} 6. Click the power button. {{image_2025-01-16_143037961.png?nolink}} 7. Click Log Out... \\ {{image_2025-01-16_143047249.png?nolink}} 8. Now, click your user. \\ {{image_2025-01-16_143158773.png?nolink}} 9. Click the Gear icon on the bottom right corner. {{image_2025-01-16_143220215.png?nolink}} 10. Click Xfce Session. \\ {{image_2025-01-16_143301425.png?nolink}} 11. Login as usual. 12. Notice that your desktop looks different. You have successfully changed your desktop environment! \\ {{image_2025-01-16_143425788.png?nolink&600}} ----- Now you are all set and ready to explore your very own Debian OS!