Skip to content

Instantly share code, notes, and snippets.

@Sotilrac
Last active November 4, 2019 18:24
Show Gist options
  • Save Sotilrac/0d4a6c5dfa7fe9958590eadf6d41d190 to your computer and use it in GitHub Desktop.
Save Sotilrac/0d4a6c5dfa7fe9958590eadf6d41d190 to your computer and use it in GitHub Desktop.
Useful commands

Delete submodule

git submodule deinit -f -- your/submodule; rm -rf .git/modules/your/submodule; git rm -f your/submodule

Install Cuda Laptop

1- Remove all cuda packages

2- Download x86_64 Ubuntu 16.04 deb(local) https://developer.nvidia.com/cuda-80-ga2-download-archive

sudo dpkg -i cuda-repo-ubuntu1604-8-0-local-ga2_8.0.61-1_amd64.deb;
sudo apt update;
sudo apt install cuda

Install Librealsense Laptop

sudo apt-get install git libssl-dev libusb-1.0-0-dev pkg-config libgtk-3-dev libglfw3-dev

Purge Non-essential Packages from Ubuntu on a Robots

sudo apt purge -y aisleriot apport baobab cups cups-common eog evince evince-common file-roller gedit gedit-common gnome-calendar gnome-calculator gnome-font-viewer gnome-keyring gnome-mahjongg gnome-mines gnome-sudoku libreoffice-.* rhythmbox.* shotwell shotwell-common simple-scan thunderbird.* totem totem-common totem-plugins transmission-common transmission-gtk ubuntu-wallpapers.* ubuntu-mono
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment