Skip to content

Instantly share code, notes, and snippets.

@tyrell
Last active March 10, 2020 02:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tyrell/e3a23a62c422a6c505ed92371c05c41e to your computer and use it in GitHub Desktop.
Save tyrell/e3a23a62c422a6c505ed92371c05c41e to your computer and use it in GitHub Desktop.

How to Install Linux Bash Shell on Windows 10

These are the steps I followed to get Ubuntu installed in my Window 10 system.

PS> Start-Process powershell -Verb runAs

PS> Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

PS> Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux Do you want to restart the computer to complete this operation now? [Y] Yes [N] No [?] Help (default is "Y"): Y

Once your system is restarted, follow https://itsfoss.com/install-bash-on-windows/

Working behind proxy servers

apt-get

Create new conf empty file inside /etc/apt/ and do the following

$ sudo vi /etc/apt/apt.conf

add this line to the file if you are using http proxy else https of ftp:

Acquire::http::Proxy "http://user:pass@proxy_host:port";

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment