Skip to content

Repository files navigation

ubuntu-setup

Setup ubuntu and install development tools, ROS, etc...
These scripts are tested in Ubuntu 14.04 LTS and 16.04 LTS 18.04 LTS.

Setup

Install git and curl

$ sudo apt update
$ sudo apt -y install git
$ sudo apt -y install curl

Clone repository

Execute following command:

$ cd && git clone https://github.com/karaage0703/ubuntu-setup

Update .bashrc

Execute following command:

$ curl -l https://raw.githubusercontent.com/karaage0703/ubuntu-setup/master/bashrc.patch >> ~/.bashrc

Install/Update Google Chrome

Execute following command:

$ curl -s https://raw.githubusercontent.com/karaage0703/ubuntu-setup/master/install-google-chrome.sh | /bin/bash

Change light Window manager

Execute following command:

$ sudo apt install -y lubuntu-gtk-core

Select lightdm

$ sudo apt install -y lubuntu-desktop fcitx-mozc

Select lubuntu from upper right icon of login screen

Install VS Code Editor

Execute following command:

$ curl -s https://raw.githubusercontent.com/karaage0703/ubuntu-setup/master/install-vscode.sh | /bin/bash

Change Directory name from Japanese to English(Japanese only)

Execute following command:

$ LANG=C xdg-user-dirs-gtk-update

Clock Adjust

Execute following command:

$ sudo date --set @"$(wget -q https://ntp-a1.nict.go.jp/cgi-bin/jst -O - | sed -n 4p | cut -d. -f1)"

You can execute above command under proxy.

Install Docker and NVIDIA Container Toolkit

Install Docker:

$ curl -s https://raw.githubusercontent.com/karaage0703/ubuntu-setup/master/install-docker.sh | /bin/bash

Install NVIDIA Container Toolkit:

$ curl -s https://raw.githubusercontent.com/karaage0703/ubuntu-setup/master/install-nvidia-container-toolkit.sh | /bin/bash

Install NVIDIA Docker:

$ curl -s https://raw.githubusercontent.com/karaage0703/ubuntu-setup/master/install-nvidia-docker.sh | /bin/bash

Install ROS

Execute following command(This step takes 10-20minutes).

Kinetic(Ubuntu 16.04)

$ curl -s https://raw.githubusercontent.com/karaage0703/ubuntu-setup/master/install-ros-kinetic.sh | /bin/bash

Melodic(Ubuntu 18.04)

$ curl -s https://raw.githubusercontent.com/karaage0703/ubuntu-setup/master/install-ros-melodic.sh | /bin/bash

Noetic(Ubuntu 20.04)

$ curl -s https://raw.githubusercontent.com/karaage0703/ubuntu-setup/master/install-ros-noetic.sh | /bin/bash

Install librealsense

$ curl -s https://raw.githubusercontent.com/karaage0703/ubuntu-setup/master/install-librealsense.sh | /bin/bash

Install development tools

Execute following command(This step takes 10-20minutes):

$ curl -s https://raw.githubusercontent.com/karaage0703/ubuntu-setup/master/install-tools.sh | /bin/bash

Install Pyenv

Execute following command:

$ curl -s https://raw.githubusercontent.com/karaage0703/ubuntu-setup/master/install-pyenv.sh | /bin/bash

Special Thanks

License

This software is released under the BSD License, see LICENSE.

About

Ubuntu setup script (Installing development tools, ROS, etc...)

Resources

Stars

22 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages