Skip to content

Instantly share code, notes, and snippets.

@soulslicer
Created May 12, 2016 03:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save soulslicer/77a6450d7aab0f09bb3eb2cbf76ec2a4 to your computer and use it in GitHub Desktop.
Save soulslicer/77a6450d7aab0f09bb3eb2cbf76ec2a4 to your computer and use it in GitHub Desktop.
1. Run commands
sudo apt-get update
sudo apt-get install terminator
sudo apt-get install terminator
sudo apt-get remove nvidia* && sudo apt-get autoremove
sudo apt-get install dkms fakeroot build-essential linux-headers-generic cmake git
2. Neovim
sudo add-apt-repository ppa:neovim-ppa/unstable
sudo apt-get update
sudo apt-get install neovim
sudo apt-get install python-dev python-pip python3-dev python3-pip
Install the bootstrap thing and place it in ~/.config/nvim/init.vim
sudo pip install neovim
3. Oh my ZSH
sudo apt-get install zsh
sudo apt-get install git-core
Go into zsh once
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
chsh -s /bin/zsh
Do everything here
https://gist.github.com/soulslicer/25c4f1426ba4663b8a8f5ddebf7e7cf1
4. Download and install CUDA Driver
https://developer.nvidia.com/cuda-downloads
Use the run file
sudo apt-get install clinfo
Add to zshrc:
export CUDA_HOME=/usr/local/cuda-7.5
export LD_LIBRARY_PATH=${CUDA_HOME}/lib64
PATH=${CUDA_HOME}/bin:${PATH}
export PATH
6. i3 Stuff
sudo apt-get install i3
sudo apt-get install feh
sudo apt-get install arandr
xprop to find out more about program
Install Fonts -
https://github.com/FortAwesome/Font-Awesome/releases
mv fontawesome-webfont.ttf ~/.fonts
https://github.com/supermarin/YosemiteSanFranciscoFont
sudo apt-get install lxappearance
use lxappearance and set font
use nvim to edit .gtkrc-2.0
nvim .config/gtk-3.0/settings.ini
http://installion.co.uk/ubuntu/wily/universe/r/rofi/install/index.html
Download and install rofi
sudo apt-get install compton
sudo apt-get install i3blocks
cp /etc/i3blocks.conf ~/.i3
sudo apt-get install libxcb1-dev libxcb-keysyms1-dev libpango1.0-dev libxcb-util0-dev libxcb-icccm4-dev libyajl-dev libstartup-notification0-dev libxcb-randr0-dev libev-dev libxcb-cursor-dev libxcb-xinerama0-dev libxcb-xkb-dev libxkbcommon-dev libxkbcommon-x11-dev
git clone https://www.github.com/Airblader/i3 i3-gaps
cd i3-gaps
git checkout gaps && git pull
make
sudo make install
REMOVE THE DEP AFTER THAT
6.5 OpenCL Driver
sudo apt-get install opencl-headers
sudo apt-get install ocl-icd-libopencl1
7. OpenCV
http://www.pyimagesearch.com/2015/06/22/install-opencv-3-0-and-python-2-7-on-ubuntu/
http://blog.aicry.com/ubuntu-14-04-install-opencv-with-cuda/
cmake -D CMAKE_BUILD_TYPE=RELEASE \
-D CMAKE_INSTALL_PREFIX=/usr/local \
-D INSTALL_C_EXAMPLES=OFF \
-D INSTALL_PYTHON_EXAMPLES=ON \
-D OPENCV_EXTRA_MODULES_PATH=~/opencv_contrib/modules \
-D WITH_TBB=ON \
-D WITH_OPENMP=ON \
-D WITH_V4L=ON \
-D WITH_QT=ON \
-D WITH_OPENGL=ON \
-D ENABLE_FAST_MATH=1 \
-D CUDA_FAST_MATH=1 \
-D WITH_CUBLAS=1 \
-D BUILD_NEW_PYTHON_SUPPORT=ON \
-D CUDA_NVCC_FLAGS="-ccbin gcc-4.8" \
-D BUILD_TESTS=OFF \
-D BUILD_EXAMPLES=ON ..
http://techtidings.blogspot.sg/2012/01/problem-with-libglso-on-64-bit-ubuntu.html
bpaluri3@bpaluri3:~/libfreenect/build$ sudo rm /usr/lib/x86_64-linux-gnu/libGL.so
bpaluri3@bpaluri3:~/libfreenect/build$ sudo ln -s /usr/lib/libGL.so.1 /usr/lib/x86_64-linux-gnu/libGL.so
8. PCL
https://larrylisky.com/2014/03/03/installing-pcl-on-ubuntu/
sudo apt-get install libsuitesparse-dev
sudo rm /usr/lib/x86_64-linux-gnu/libEGL.so; sudo ln /usr/lib/x86_64-linux-gnu/libEGL.so.1 /usr/lib/x86_64-linux-gnu/libEGL.so
cmake -DBUILD_GPU=ON -DBUILD_apps=ON -DBUILD_examples=ON ..
But set surfaces on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment