Coder Social home page Coder Social logo

ubuntu-setup-scripts's Introduction

Ubuntu-Setup-Scripts

Everyone who has tried to mess around with their Ubuntu distro knows the pain of having to reinstall Ubuntu and set it up to their liking again

These are the scripts that I use to set my Ubuntu up as quick as possible.

Feel free to fork it and create your own version

Usage instructions

Run chmod u+x *.sh to make all scripts executable Then execute them in the terminal in the sequence of filenames.

Major Alterations

  • Default python will be changed to Anaconda, with the latest Python 3, and a conda environment called py27 running Python2.7 will be your alternate Python2 environment. Another Conda environment called py35 with Python 3.5 will also be set up
  • Default shell is changed to Zim, a zsh plugin, instead of bash. Why zsh? Because it simply has a much better autocomplete. And why zim? Because it's much faster than Oh My Zsh and Prezto

Aliases that are added

  • maxvol : Will set your volume to 150%
  • download <webpage-name>: Download the webpage and all sub-directories linked to it
  • server : Sets up a server for file sharing in your local network. Whatever is in your current directory will be visible on the ip. It will also print the possible set of IP addresses. To access from another computer, shoot up a browser and simply hit ip_add:port
  • weather : Will show weather forecast for the next three days
  • gpom : Alias for git push origin master. Will push your current directory
  • jn : Starts a jupyter notebook in that directory
  • ydl "URL": Downloads the song at URL at 12kbps, 44100Hz in m4a format with the title and song name automatically set in the metadata

Programs that are installed

Tmux, Tilda, Ubuntu-Restricted-Extras, Lyx, VLC, Chromium and Firefox, Dropbox, Gparted, Boot-Repair, Shutter,Grub Customizer, Ffmpeg, Qt5, CUDA, OpenCV (Python + C++ with VTK, V4L, QT and Optionally CUDA), gimp, meld(To be used with git mergetool), axel

Python Packages

  • Machine Learning Libraries: Tensorflow, Caffe and Pytorch built from source, optimized for user hardware. Theano, Keras, Gym installed from pip
  • Autopep8
  • scdl - a soundcloud downloader
  • org-e - An app to sort and declutter folders (like ~/Downloads/)
  • youtube-dl: A youtube downloader

Important points about the OpenCV Installation

  • OpenCV will be linked to Anaconda Python by default, and will be built for that, not the Linux default python. If you would like to compile for the Linux default Python, remove Anaconda from your path before running the opencvDirectInstall.sh script

  • If you would like to install with OpenCV for CUDA, change the flag in the file 7 - opencvInstall.sh for WITH_CUDA to ON

  • After installation, if you get an error of the sort illegal hardware instructions when you try to run a python or c++ program, that is because your CPU is an older one (Pentium/Celeron/...). You can overcome this by adding the following to the end of the cmake (just before the ..)

     -DENABLE_SSE=OFF \
     -DENABLE_SSE2=OFF \
     -DENABLE_SSE3=OFF ..

    If you still want to be able to receive the benefits of CPU optimization to whatever extent you can, then hit cat /proc/cpuinfo and see what sses are available under flags

ubuntu-setup-scripts's People

Contributors

atulapra avatar harikumar610 avatar karthikr1992 avatar rag1 avatar rsnk96 avatar suryadwar avatar

Forkers

virajpwr

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.