{"id":482481,"date":"2022-08-08T23:00:00","date_gmt":"2022-08-08T20:00:00","guid":{"rendered":"https:\/\/en.buradabiliyorum.com\/how-to-install-and-use-the-linux-bash-shell-on-windows-10\/"},"modified":"2022-08-08T23:00:00","modified_gmt":"2022-08-08T20:00:00","slug":"how-to-install-and-use-the-linux-bash-shell-on-windows-10","status":"publish","type":"post","link":"https:\/\/buradabiliyorum.com\/en\/how-to-install-and-use-the-linux-bash-shell-on-windows-10\/","title":{"rendered":"#How to Install and Use the Linux Bash Shell on Windows 10"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_84 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6a26eadd231fb\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #dd3333;color:#dd3333\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #dd3333;color:#dd3333\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6a26eadd231fb\" checked aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-install-and-use-the-linux-bash-shell-on-windows-10\/#%E2%80%9CHow_to_Install_and_Use_the_Linux_Bash_Shell_on_Windows_10%E2%80%9D\" >&#8220;How to Install and Use the Linux Bash Shell on Windows 10&#8221;<\/a><ul class='ez-toc-list-level-2' ><li class='ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-install-and-use-the-linux-bash-shell-on-windows-10\/#What_You_Need_to_Know_About_Windows_10s_Bash_Shell\" >What You Need to Know About Windows 10\u2019s Bash Shell<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-install-and-use-the-linux-bash-shell-on-windows-10\/#How_Windows_Subsystem_for_Linux_1_WSL1_Works\" >How Windows Subsystem for Linux 1 (WSL1) Works<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-install-and-use-the-linux-bash-shell-on-windows-10\/#How_Windows_Subsystem_for_Linux_2_WSL2_Works\" >How Windows Subsystem for Linux 2 (WSL2) Works<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-install-and-use-the-linux-bash-shell-on-windows-10\/#How_to_Install_Bash_on_Windows_10\" >How to Install Bash on Windows 10<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-install-and-use-the-linux-bash-shell-on-windows-10\/#How_to_Use_The_Bash_Shell_and_Install_Linux_Software\" >How to Use The Bash Shell and Install Linux Software<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-install-and-use-the-linux-bash-shell-on-windows-10\/#Bonus_Install_the_Ubuntu_Font_for_a_True_Ubuntu_Experience\" >Bonus: Install the Ubuntu Font for a True Ubuntu Experience<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h1><span class=\"ez-toc-section\" id=\"%E2%80%9CHow_to_Install_and_Use_the_Linux_Bash_Shell_on_Windows_10%E2%80%9D\"><\/span>&#8220;How to Install and Use the Linux Bash Shell on Windows 10&#8221;<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<div>\n<figure style=\"width: 1200px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"type:primaryImage wp-image-822702 size-full\" data-pagespeed-no-defer=\"\" src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2018\/03\/WSL-Header.png?width=1198&amp;trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Windows Subsystem for Linux header. \" width=\"1200\" height=\"675\" data-credittext=\"Larry Ewing\/Microsoft\"\/><figcaption class=\"wp-caption-text\"><span class=\"type:primaryImage imagecredit\">Larry Ewing\/Microsoft<\/span><\/figcaption><\/figure>\n<p>The Windows Subsystem for Linux, introduced in the Anniversary Update, became a stable feature in the Fall Creators Update. You can now run Ubuntu, openSUSE, a remix of Fedora, and plenty of others on Windows, with more Linux distributions coming soon.<\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"What_You_Need_to_Know_About_Windows_10s_Bash_Shell\"><\/span>What You Need to Know About Windows 10\u2019s Bash Shell<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><strong>RELATED:<\/strong> <strong><em>Everything You Can Do With Windows 10&#8217;s New Bash Shell<\/em><\/strong><\/p>\n<h3><span class=\"ez-toc-section\" id=\"How_Windows_Subsystem_for_Linux_1_WSL1_Works\"><\/span>How Windows Subsystem for Linux 1 (WSL1) Works<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Windows 10 offers a full Windows Subsystem intended for Linux (WSL) for running Linux software. This isn\u2019t a virtual machine, a container, or Linux software compiled for Windows (like Cygwin). It\u2019s based on Microsoft\u2019s abandoned Project Astoria work for running Android <a href=\"https:\/\/buradabiliyorum.com\/en\/category\/download-scripts-themes-apps\/\" data-internallinksmanager029f6b8e52c=\"9\" title=\"Download Scripts &amp; Themes &amp; Apps\" target=\"_blank\" rel=\"noopener\">app<\/a>s on Windows.<\/p>\n<p>Think of it as the opposite of Wine. While Wine allows you to run Windows applications directly on Linux, the Windows Subsystem for Linux allows you to run Linux applications directly on Windows.<\/p>\n<p>Microsoft worked with Canonical to offer a full Ubuntu-based Bash shell environment that runs atop this subsystem. Technically, this isn\u2019t Linux at all. Linux is the underlying operating system kernel, and that isn\u2019t available here. Instead, this allows you to run the Bash shell and the exact same binaries you\u2019d normally run on Ubuntu Linux. Free software purists often argue the average Linux operating system should be called \u201cGNU\/Linux\u201d because it\u2019s really a lot of GNU software running on the Linux kernel. The Bash shell you\u2019ll get is really just all those GNU utilities and other software.<\/p>\n<p>While this feature was originally called \u201cBash on Ubuntu on Windows,\u201d it also allows you to run Zsh and other command-line shells. It now supports other Linux distributions, too. You can choose openSUSE Leap or SUSE Enterprise Server instead of Ubuntu, and there is a remix of Fedora available.<\/p>\n<p>There are some limitations here. It won\u2019t officially work with graphical Linux desktop applications. Not every command-line application works, either, as the feature isn\u2019t perfect.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"How_Windows_Subsystem_for_Linux_2_WSL2_Works\"><\/span>How Windows Subsystem for Linux 2 (WSL2) Works<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Windows Subsystem for Linux 2 (WSL2) is designed to provide the exact same user experience as its predecessor, but the similarities mostly end there.<\/p>\n<p>WSL2 runs a full Linux Kernel in an extremely efficient virtual machine. Just like WSL1, WSL2 allows you use a range of different Linux Distros including, Ubuntu, Debian, Kali, openSUSE, Fedora, and others. That also means that most any Linux application, package, or command will work without an issue.<\/p>\n<blockquote class=\"admonishment_note\"><p><strong>Note:<\/strong> WSL2 supports GUI applications on Windows 11.<\/p><\/blockquote>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"How_to_Install_Bash_on_Windows_10\"><\/span>How to Install Bash on Windows 10<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><strong>RELATED:<\/strong> <strong><em>How Do I Know if I&#8217;m Running 32-bit or 64-bit Windows?<\/em><\/strong><\/p>\n<p>This feature doesn\u2019t work on the 32-bit version of Windows 10, so ensure you\u2019re using the 64-bit version of Windows. It\u2019s time to switch to the 64-bit version of Windows 10 if you\u2019re still using the 32-bit version, anyway.<\/p>\n<p>Assuming you have 64-bit Windows, to get started, head to Control Panel &gt; Programs &gt; Turn Windows Features On Or Off. Enable the \u201cWindows Subsystem for Linux\u201d option in the list, and then click the \u201cOK\u201d button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\" alignnone wp-image-344616 size-full\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2018\/03\/img_5a985001e7f37.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"\" width=\"650\" height=\"375\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>Click \u201cRestart now\u201d when you\u2019re prompted to restart your computer. The feature won\u2019t work until you reboot.<\/p>\n<blockquote class=\"admonishment_note\"><p><strong>Note:<\/strong> Starting with the Fall Creators Update, you no longer have to enable Developer Mode in the Settings app to use this feature. You just need to install it from the Windows Features window.<\/p><\/blockquote>\n<p>Alternatively, you can also install it using PowerShell. Launch PowerShell as an Administrator, then enter:<\/p>\n<pre>wsl --install<\/pre>\n<p>It\u2019ll take a few minutes to download and install all of the required components \u2014 after it does, you need to restart your computer.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-822586\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2018\/03\/WSL-install.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"PowerShell running WSL install command successfully. \" width=\"650\" height=\"499\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>After your computer restarts, open the Microsoft Store from the Start menu, and search for \u201cLinux\u201d in the store.<\/p>\n<blockquote class=\"admonishment_note\"><p><strong>Note:<\/strong> Starting with the Fall Creators Update, you can no longer install Ubuntu by running the \u201cbash\u201d command. Instead, you have to install Ubuntu or another Linux distribution from the Store app or using the <code>wsl --install -d &lt;Distribution&gt;<\/code> command.<\/p><\/blockquote>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-822671\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2018\/03\/search-linux.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Search &quot;linux&quot; on the Microsoft Store to show available distros. \" width=\"650\" height=\"413\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p><strong>RELATED:<\/strong> <strong><em>What&#8217;s the Difference Between Ubuntu, openSUSE, and Fedora on Windows 10?<\/em><\/strong><\/p>\n<p>You\u2019ll see a list of every Linux distribution currently available in the Windows Store. As of the Fall Creators Update, this includes Ubuntu, openSUSE Leap, and openSUSE Enterprise, with a promise that Fedora will arrive soon.<\/p>\n<blockquote class=\"admonishment_update\"><p><strong>Update:<\/strong> <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/click.linksynergy.com\/deeplink?id=2QzUaswX1as&amp;mid=24542&amp;u1=htg\/249966|xid:{xid}&amp;murl=https%3A%2F%2Fblogs.msdn.microsoft.com%2Fcommandline%2F2018%2F03%2F06%2Fdebian-gnulinux-for-wsl-now-available-in-the-windows-store%2F&amp;___trxnet=ls\">Debian<\/a>, <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/click.linksynergy.com\/deeplink?id=2QzUaswX1as&amp;mid=24542&amp;u1=htg\/249966|xid:{xid}&amp;murl=https%3A%2F%2Fblogs.msdn.microsoft.com%2Fcommandline%2F2018%2F03%2F05%2Fkali-linux-for-wsl%2F&amp;___trxnet=ls\">Kali<\/a>, and a remix of Fedora are now available in the Store. Search for \u201cDebian Linux,\u201d \u201cKali Linux,\u201d or \u201cFedora Linux\u201d to find and install them.<\/p><\/blockquote>\n<p>To install a Linux distribution, click it, and then click the \u201cGet\u201d or \u201cInstall\u201d button to install it like any other Store application.<\/p>\n<p>If you\u2019re not sure which Linux environment to install, we recommend Ubuntu. This popular Linux distribution was previously the only option available, but other Linux systems are now available for people who have more specific needs.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-822589\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2018\/03\/ubuntu-download.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"\" width=\"650\" height=\"388\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>You can also install multiple Linux distributions and they\u2019ll each get their own unique shortcuts. You can even run multiple different Linux distributions at a time in different windows.<\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"How_to_Use_The_Bash_Shell_and_Install_Linux_Software\"><\/span>How to Use The Bash Shell and Install Linux Software<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><strong>RELATED:<\/strong> <strong><em>How to Install Linux Software in Windows 10&#8217;s Ubuntu Bash Shell<\/em><\/strong><\/p>\n<p>You now have a full command-line bash shell based on Ubuntu, or whatever other Linux distribution you installed.<\/p>\n<p>Because they\u2019re the same binaries, you can use Ubuntu\u2019s apt or apt-get command to install software from Ubuntu\u2019s repositories if you\u2019re using Ubuntu. Just use whatever command you\u2019d normally use on that Linux distribution. You\u2019ll have access to all the Linux command line software out there, although some applications may not yet work perfectly.<\/p>\n<p>To open the Linux environment you installed, just open the Start menu and search for whatever distribution you installed. For example, if you installed Ubuntu, launch the Ubuntu shortcut.<\/p>\n<p>You can pin this application shortcut to your Start menu, taskbar, or desktop for easier access.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-822673\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2018\/03\/ubuntu-search-results.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"\" width=\"500\" height=\"500\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>The first time you launch the Linux environment, you\u2019re be prompted to enter a UNIX username and password. These don\u2019t have to match your Windows username and password, but will be used within the Linux environment.<\/p>\n<p>For example, if you enter \u201cbob\u201d and \u201cletmein\u201d as your credentials, your username in the Linux environment will be \u201cbob\u201d and the password you use inside the Linux environment will be \u201cletmein\u201d \u2014 no matter what your Windows username and password are.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-344621 \" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2018\/03\/img_5a985a5c26989.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Enter a username and password for your Linux distro. \" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p><strong>RELATED:<\/strong> <strong><em>How to Set Your Default Linux Distribution on Windows 10<\/em><\/strong><\/p>\n<p>You can launch your installed Linux environment by running the <code>wsl<\/code> command. If you have multiple Linux distributions installed, you can choose the default Linux environment this command launches.<\/p>\n<p>If you have Ubuntu installed, you can also run the <code>ubuntu<\/code> command to install it. For openSUSE Leap 42, use\u00a0 <code>opensuse-42<\/code> . For SUSE Linux Enterprise Sever 12, use <code>sles-12<\/code> . These commands are listed on each Linux distribution\u2019s page on the Windows Store.<\/p>\n<p>You can still launch your default Linux environment by running the <code>bash<\/code> command, but Microsoft says this is deprecated. This means the <code>bash<\/code> command may stop functioning in the future.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-344623 \" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2018\/03\/img_5a985b14e9795.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Running &quot;bash&quot; in the Command Prompt will launch your default Linux environment.\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>If you\u2019re experienced using a Bash shell on Linux, Mac OS X, or other platforms, you\u2019ll be right at home.<\/p>\n<p>On Ubuntu, you need to prefix a command with\u00a0 <code>sudo<\/code> to run it with root permissions. The \u201croot\u201d user on UNIX platforms has full system access, like the \u201cAdministrator\u201d user on Windows. Your Windows file system is located at <code>\/mnt\/c<\/code> in the Bash shell environment.<\/p>\n<p>Use the same Linux terminal commands you\u2019d use to get around. If you\u2019re used to the standard Windows Command Prompt with its DOS commands, here are a few basic commands common to both Bash and Windows:<\/p>\n<ul>\n<li>Change Directory: <code>cd<\/code> in Bash, <code>cd<\/code> or\u00a0 <code>chdir<\/code> in DOS<\/li>\n<li>List Contents of Directory:\u00a0 <code>ls<\/code> in Bash, <code>dir<\/code> in DOS<\/li>\n<li>Move or Rename a File: <code>mv<\/code> in Bash, <code>move<\/code> and\u00a0 <code>rename<\/code> in DOS<\/li>\n<li>Copy a File: <code>cp<\/code> in Bash,\u00a0 <code>copy<\/code> in DOS<\/li>\n<li>Delete a File: <code>rm<\/code> in Bash,\u00a0 <code>del<\/code> or <code>erase<\/code> in DOS<\/li>\n<li>Create a Directory:\u00a0 <code>mkdir<\/code> in Bash, <code>mkdir<\/code> in DOS<\/li>\n<li>Use a Text Editor: <code>vi<\/code> or <code>nano<\/code> in Bash,\u00a0 <code>edit<\/code> in DOS<\/li>\n<\/ul>\n<p><strong>RELATED:<\/strong> <strong><em>Beginner Geek: How to Start Using the Linux Terminal<\/em><\/strong><\/p>\n<p>It\u2019s important to remember that, unlike Windows, the Bash shell and its Linux-imitating environment are case-sensitive. In other words, \u201cFile.txt\u201d with a capital letter is different from \u201cfile.txt\u201d without a capital.<\/p>\n<p>For more instructions, consult our beginner\u2019s guide to the Linux command-line and other similar introductions to the Bash shell, Ubuntu command line, and Linux terminal online.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-344625 \" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2018\/03\/img_5a985d46b3c57.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"The command &quot;ls&quot; run in the C:\\ directory to list files and folders. \" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>You\u2019ll need to use the apt command to install and update the Ubuntu environment\u2019s software.\u00a0 Be sure to prefix these commands with <code>sudo<\/code> , which makes them run as root\u2013the Linux equivalent of Administrator. Here are the apt-get commands you\u2019ll need to know:<\/p>\n<ul>\n<li>Download Updated Information About Available Packages: <code>sudo apt update<\/code><\/li>\n<li>Install an Application Package:\u00a0 <code>sudo apt install packagename<\/code> (Replace \u201cpackagename\u201d with the package\u2019s name.)<\/li>\n<li>Uninstall an Application Package:\u00a0 <code>sudo apt remove packagename<\/code> (Replace \u201cpackagename\u201d with the package\u2019s name.)<\/li>\n<li>Search for Available Packages:\u00a0 <code>sudo apt search word<\/code> (Replace \u201cword\u201d with a word you want to search package names and descriptions for.)<\/li>\n<li>Download and Install the Latest Versions of Your Installed Packages: <code>sudo apt upgrade<\/code><\/li>\n<\/ul>\n<p>If you installed a SUSE Linux distribution, you can use the <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/doc.opensuse.org\/documentation\/leap\/reference\/html\/book.opensuse.reference\/cha.sw_cl.html\">zypper command<\/a> to install software instead.<\/p>\n<p>After you\u2019ve downloaded and installed an application, you can type its name at the prompt, and then press Enter to run it. Check that particular application\u2019s documentation for more details.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-344626 \" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2018\/03\/img_5a985e7d80a6b.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Installing GNU Compiler Collection with apt. \" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"Bonus_Install_the_Ubuntu_Font_for_a_True_Ubuntu_Experience\"><\/span>Bonus: Install the Ubuntu Font for a True Ubuntu Experience<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>If you want a more accurate Ubuntu experience on Windows 10, you can also install the Ubuntu fonts and enable them in the terminal. You don\u2019t have to do this, as the default Windows command prompt font looks pretty good to us, but it\u2019s an option.<\/p>\n<p>Here\u2019s what it looks like:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\" alignnone wp-image-344655 size-full\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2018\/03\/img_5a9864cb2035c.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"The default font, Consolas. \" width=\"650\" height=\"248\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>To install the font, first download the <a rel=\"nofollow noopener\" target=\"_blank\" href=\"http:\/\/font.ubuntu.com\/\">Ubuntu Font Family<\/a> from Ubuntu\u2019s website. Open the downloaded .zip file and locate the \u201cUbuntuMono-R.ttf\u201d file. This is the Ubuntu monospace font, which is the only one used in the terminal. It\u2019s the only font you need to install.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-344627 \" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2018\/03\/img_5a985eba01a04.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>Double-click the \u201cUbuntuMono-R.ttf\u201d file and you\u2019ll see a preview of the font. Click \u201cInstall\u201d to install it to your system.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-344628 \" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2018\/03\/img_5a985ee273570.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p><strong>RELATED:<\/strong> <strong><em>Learning to Use the Registry Editor Like a Pro<\/em><\/strong><\/p>\n<p>To make the Ubuntu monospace font become an option in the console, you\u2019ll need to add a setting to the Windows registry.<\/p>\n<p>Open a registry editor by pressing Windows+R on your keyboard, typing <code>regedit<\/code> , and then pressing Enter. Navigate to the following key or copy and paste it into the Registry Editor\u2019s address bar:<\/p>\n<pre>HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Console\\TrueTypeFont<\/pre>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-344656 \" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2018\/03\/img_5a986517b1bec.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Navigate to the &quot;TrueTypeFont&quot; key. \" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>Right-click in the right pane and select New &gt; String Value. Name the new value\u00a0<code>000<\/code> .<\/p>\n<p>Double-click the \u201c000\u201d string you just created, and then enter <code>Ubuntu Mono<\/code> as its value data.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-344657 \" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2018\/03\/img_5a98652a926c4.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Create a new string named &quot;000&quot;, then set the value to &quot;Ubuntu Mono&quot;. \" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>Launch an Ubuntu window, right-click the title bar, and then select the \u201cProperties\u201d command. Click the \u201cFont\u201d tab, and then select \u201cUbuntu Mono\u201d in the font list.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-344658 \" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2018\/03\/img_5a986560320a0.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>Software you install in the Bash shell is restricted to the Bash shell. You can access these programs from the Command Prompt, PowerShell, or elsewhere in Windows, but only if you run the <code>bash -c<\/code> command.<\/p>\n<\/div>\n<p><script>\n setTimeout(function(){\n  !function(f,b,e,v,n,t,s)\n  {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n  n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n  if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n  n.queue=[];t=b.createElement(e);t.async=!0;\n  t.src=v;s=b.getElementsByTagName(e)[0];\n  s.parentNode.insertBefore(t,s) } (window, document,'script',\n  'https:\/\/connect.facebook.net\/en_US\/fbevents.js');\n   fbq('init', '335401813750447');\n   fbq('track', 'PageView');\n  },3000);\n<\/script><\/p>\n<blockquote><p><strong><span style=\"color: #ff6600;\">If you liked the article, do not forget to share it with your friends. Follow us on\u00a0<span style=\"color: #ff0000;\"><a style=\"color: #ff0000;\" href=\"https:\/\/news.google.com\/publications\/CAAqBwgKMLG0nwswvr63Aw\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Google News<\/a><\/span>\u00a0too, click on the star and choose us from your favorites.<\/span><\/strong><\/p><\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\">For forums sites go to <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/forum.buradabiliyorum.com\/\" target=\"_blank\" rel=\"noopener\">Forum.BuradaBiliyorum.Com<\/a><\/span><\/strong><\/p>\n<\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\"><strong>If you want to read more like this article, you can visit our <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/en.buradabiliyorum.com\/technology\/\" target=\"_blank\" rel=\"noopener\">Technology category.<\/a><\/span><\/strong><\/p>\n<\/blockquote>\n<p><span style=\"color: black;\"><a style=\"color: #ff9900;\" href=\"https:\/\/www.howtogeek.com\/249966\/how-to-install-and-use-the-linux-bash-shell-on-windows-10\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;How to Install and Use the Linux Bash Shell on Windows 10&#8221; Larry Ewing\/Microsoft The Windows Subsystem for Linux, introduced in the Anniversary Update, became a stable feature in the Fall Creators Update. You can now run Ubuntu, openSUSE, a remix of Fedora, and plenty of others on Windows, with more Linux distributions coming soon&#8230;.<\/p>\n","protected":false},"author":1,"featured_media":482482,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2018\/03\/WSL-Header.png?height=200p&trim=2,2,2,2","fifu_image_alt":"","footnotes":""},"categories":[18],"tags":[],"class_list":["post-482481","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technology"],"_links":{"self":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/482481","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/comments?post=482481"}],"version-history":[{"count":0,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/482481\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media\/482482"}],"wp:attachment":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media?parent=482481"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/categories?post=482481"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/tags?post=482481"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}