Skip to content

Instantly share code, notes, and snippets.

@momota
Created May 31, 2018 09:56
Show Gist options
  • Select an option

  • Save momota/84e4e96c71f5fa47f62e6ab9387a32e6 to your computer and use it in GitHub Desktop.

Select an option

Save momota/84e4e96c71f5fa47f62e6ab9387a32e6 to your computer and use it in GitHub Desktop.

Revisions

  1. momota created this gist May 31, 2018.
    26 changes: 26 additions & 0 deletions install_chromium_on_ubuntu.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,26 @@
    # Install chromium on ubuntu (WSL) on Windows 10

    My computer is under a proxy environment in a private network.

    # Install chromium

    ```sh
    $ sudo -E apt-get update
    $ sudo -E apt-get install chromium-browser -y
    $ sudo -E apt-get install fonts-ipafont-gothic fonts-ipafont-mincho -y
    ```

    # Install chromedriver for Selenium scripts

    ```sh
    # 以下から最新版のChromeDriverをダウンロード
    # http://chromedriver.storage.googleapis.com/index.html
    $ curl -O http://chromedriver.storage.googleapis.com/2.39/chromedriver_linux64.zip
    $ unzip chromedriver_linux64.zip
    $ sudo mkdir -p /opt/google/chromedriver
    $ sudo mv chromedriver /opt/google/chromedriver/

    # Add PATH
    $ echo 'export PATH="/opt/google/chromedriver:$PATH"' >> ~/.bashrc
    $ source ~/.bashrc
    ```