Skip to content

Instantly share code, notes, and snippets.

@monkut
Last active August 17, 2018 01:47
Show Gist options
  • Save monkut/ee94924e9e1bad6d12bfde095e93551a to your computer and use it in GitHub Desktop.
Save monkut/ee94924e9e1bad6d12bfde095e93551a to your computer and use it in GitHub Desktop.
Base install/setup of ubuntu 18.04.1

Install

Setup a big empty partition in ext4 and assign to / root.

Proceed with install

This assumes you have the latest Ubuntu Desktop 18.04 image on a USB key.

Go the iso download and burn key with Etcher

http://releases.ubuntu.com/18.04/

Remove unnecessary software

From the Ubuntu Software center select all the programs not needed and select remove.

  • Thunderbird
  • amazon
  • firefox

Update settings

Switch mouse to natural scroll

Standard Software

  • From Ubuntu Software center install

    • pycharm CE
    • Chromimum
  • Slack Download from site

    The Ubuntu software center version seems to have a bug where Japanese can not be entered.

    Once downloaded, open and install via the software center (this will resolve any dependency issues around the .deb)
    
  • From apt install

    sudo apt install htop tmux vim curl
    sudo apt install git build-essential
    sudo apt install python3.6-dev
    sudo apt install python3-pip
    
  • install base python packages:

    pip3 install pipenv
    
    # This will install pipenv and dependencies to `~/.local/`
    # to use it imediately execute the following
    source ~/.profile
    
  • Install docker

    Refer to:
    https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-18-04
    

    NOTE: after adding your user to the docker group (so you don't need to use sudo each time) need to REBOOT. Logout/login didn't work for me (group diappeared) su - ${USER} only worked temporarily

  • Install nvidia drivers

Razer Blade has GeForce GTX 1060 Mobile installed Check with command: lspci | grep VGA Current Version for GTX 1060 Mobile as of 2018-8-8 is: nvidia-390 https://websiteforstudents.com/install-proprietary-nvidia-gpu-drivers-on-ubuntu-16-04-17-10-18-04/

  • Install cuda/cuDNN

    sudo add-apt-repository ppa:graphics-drivers/ppa\
    sudo apt update
    
    # use `lspci | grep VGA` to determine the nvidia version used, and lookup the latest supported driver for your card
    # Select the appropriate driver and install
    sudo apt install nvidia-390
    
    # After installation, reboot
    sudo shutdown -r now
    
  • Install NODEJS/NPM (for frontend development)

    For whatever reason the 18.04 repository has an older version of npm From: https://linuxize.com/post/how-to-install-node-js-on-ubuntu-18.04/

    # Add nodejs repository
    curl -sL https://deb.nodesource.com/setup_8.x | sudo bash -
    
    # refresh and install
    sudo apt update
    
    # nodejs will install npm as well
    sudo apt install nodejs
    
    
    

Fixes

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