Provide your doubts and queries regarding installation : Click Here
STAY HUNGRY, STAY FOOLISH
Provide your doubts and queries regarding installation : Click Here
Running Ubuntu (Linux) bash shell in Windows 10:
Download and Install Windows PowerShell tool : Download-Install Commands
Enable “Windows Subsystem for Linux (WSL)” feature :
Method 1 : Search windows powershell in search bar and run it as a administrator by right click on it. Use following command to enable Bash in Windows 10.
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Method 2 : Search for "Turn windows features on or off" in windows search bar. Go to "Windows Subsystem for Linux" and tick mark if it is not. Click on "Ok".
Restart your system.
Downloading a Linux System from Windows Store:
Click on Ubuntu (First) , Click on "Get" or "Install" ....It will start downloading....click on Launch ... it will launch Ubuntu shell.
Run following commands for basic Linux updates, upgrades and installations:
sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get upgrade -y && sudo apt-get dist-upgrade -y && sudo apt-get autoremove -y
sudo apt install -y ca-certificates findutils command-not-found vim nano curl openssh-client less screen apt-utils htop whois git python3-pip
Running Graphical Applications of Linux such as "gedit" in WSL
Install X Server
VcXsrv is the only fully open source and up-do-date native X server for Windows. Download and run the latest installer, then locate the XLaunch shortcut in the Start Menu, and click it.
Configure Bash :
Run following command one by one:
echo "set -x DISPLAY localhost:0.0" >> ~/.config/fish/config.fish
. ~/.config/fish/config.fish
sudo apt-get install x11-apps
gedit hi.txt, it will look like,