본문 바로가기

Computer/Linux

How to download and install Linux

https://learn.microsoft.com/en-us/linux/install

 

 

 

with Windows Sybsystem for Linux (WSL)

 

 

 

 

 

 

Linux

 

  • An operating system with many different versions due to the nature of being open source and fully customizable.

 

 

To install Linux:

 

  1. Choose an install method: Windows Sybsystem for Linux (WSL), Bare metal Linux; or create a Virtual Machine (VM) to run Linux locally or in the cloud.
  2. Choose a Linux distribution: Ubuntu, Debian, Kali Linux, openSUSE, etc.
  3. Follow the steps for your perferred install method:
    • Use the install Linux command with Windows Sybsystem for Linux (WSL)
    • Create a Linux Virtual Machine (VM) in the cloud
    • Create a Linux Virtual Machine (VM) on your local machine
    • Create a bootable USB to install bare-metal Linux
  4. After installing Linux: Get familiar with your distribution's package manager, update and upgrade the packages available, and get familiar with the other Linux resources at Microsoft, such as training courses, Linux-versions of popular tools, news, and Open Source events.

 

 

 

 

 

Step 1 - Choose a method to install Linux

 

Windows Sybsystem for Linux (WSL)

 

wsl --install

 

to install the Ubuntu distribution.

 

 

 

WSL

 

 

 

 

 

Step 2 - Choose a Linux distrubution

 

Required Linux experience

Ubuntu
  • Offers a destop-version and a server-sersion depending on how you plan to use it
  • New to Linux
Arch Linux
  • A popular choice for those who wnat a highly customizable, do-it-yourself approach that is still stable and well-supported by a large user base

 

System requirements

Alpine Linux
  • A popular option where users will find most features disabled or not installed by default, but still has everything you need for a containerized app
  • Security needs
Kali Linux
  • An example of a distro designed for security tasks, sich as Penetration Testing, Security Research, Computer Forensics and Reverse Engineering

 

Business and Enterprise requirements

Red Hat Enterprise Linux (RHEL)
SUSE Linux Enterprise Server (SLES)
Oracle Linux
  • Offer 24/7 global support and subscription-based service
CentOS
  • Another popular enterprise distro that is community-supported but still compatiblle with RHEL

 

Community support

https://www.linux.org/pages/download/

 

 

 

 

 

 

 

 

 

 

Step 3 - Follow install method instructions

 

Install Linux with Windos Sybsystem for Linux

To install Linux on a Windows PC, use the install Linux command.

 

  1. Open PowerShell or Windows Command Prompt in administrator mode by right-clicking and selecting "Run as administrator"
  2. Enter the Linux install command: wsl --install.
  3. Restart your machine.

 

 

wsl --install

 

 

 

Install Linux command options

 

The install command will use the Ubuntu distribution of Linux.

wsl --install -d <Distro Name>

 

 

 

 

 

 

 

Step 4 - After installing Linux

 

  1. Get fmailiar with the preferred package manager used by your chosen Linux distribution. Linux uses package manager's to download and update any software that you plan to use.
  2. Use your distribution's package manager to update and upgrade your diestribution. Software packages in a stable release of a Linux distribution are often outdated. It is recommended to regularly run an update.
sudo apt update && sudo apt upgrade

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

'Computer > Linux' 카테고리의 다른 글

How to run an Ubuntu Desktop virtual machine using VirtualBox 7  (0) 2024.02.23