Home / Tools and services / wsl (Windows Subsystem For Linux) edit
Try Documentalist, my app that offers fast, offline access to 190+ programmer API docs.

  • configuring via .profile
    Content of .profile
    # kjk modifications
    export PATH=$PATH:/usr/local/go/bin
    export GOPATH=$HOME/src/go
    export PATH=$PATH:$GOPATH/bin
    alias cdsrc="cd /mnt/c/Users/kjk/src"
For installation script for gcc 7, clang 5, go, valgrind: https://raw.githubusercontent.com/kjk/exp/master/bootstrap_ubuntu.sh
  • Installing gcc 7
    sudo apt-get update -y && \
    sudo apt-get upgrade -y && \
    sudo apt-get dist-upgrade -y && \
    sudo apt-get install build-essential software-properties-common -y && \
    sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && \
    sudo apt-get update -y && \
    sudo apt-get install gcc-7 g++-7 -y && \
    sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60 --slave /usr/bin/g++ g++ /usr/bin/g++-7 && \
    sudo update-alternatives --config gcc
  • installing latest go
    wget https://redirector.gvt1.com/edgedl/go/go1.9.2.linux-amd64.tar.gz 
    sudo tar -C /usr/local -xzf go1.9.2.linux-amd64.tar.gz
    rm go1.9.2.linux-amd64.tar.gz
  • installing latest valgrind
    sudo apt-get install libc6-dbg  # valgrind needs debug info for library code
    wget ftp://sourceware.org/pub/valgrind/valgrind-3.13.0.tar.bz2 
    tar -xvjf valgrind-3.13.0.tar.bz2 
    cd valgrind-3.13.0 
    sudo make install 

Feedback about page:

Optional: your email if you want me to get back to you:

Share on        

Need fast, offline access to 190+ programmer API docs? Try my app Documentalist for Windows