Skip to content

Instantly share code, notes, and snippets.

@Brainiarc7
Forked from AnmolTomer/ubuntu_setup.md
Created June 23, 2019 04:13
Show Gist options
  • Save Brainiarc7/86530a720b2500b8b2d91cb8d24cd62b to your computer and use it in GitHub Desktop.
Save Brainiarc7/86530a720b2500b8b2d91cb8d24cd62b to your computer and use it in GitHub Desktop.
Ubuntu Setup
  1. Installing NVIDIA Drivers โ—โ—
ubuntu-drivers devices
sudo ubuntu-drivers autoinstall
  1. From last command see nvidia-driver-number and use it in the command below and then reboot ๐Ÿ“บ โœ”๏ธ
sudo apt install nvidia-driver-#
  1. Install rclone for uploading and downloading to cloud storage and verify โซโฌ

    sudo apt install rclone
    rclone -V
    rclone config
    rclone listremotes
  2. Use alsamixer for audio and check gcc as well grub emulator to see your boot grub window as emulation and neofetch to see system specs ๐ŸŽน ๐ŸŽบ

    sudo apt-get install grub-emu
    gcc --version
    alsamixer
    sudo apt install neofetch
  3. For themes and other extensions install gnome extensions and ffmpeg for merging of best audio and video of a YT video downloaded using youtube-dl ๐ŸŽฅ โž•๐ŸŽ™๏ธ

    sudo apt install gnome-chrome-shell
    sudo apt install gnome-shell-extensions
    sudo apt install ffmpeg
  4. Installing grub customiser for easy modifications of boot options and boot time. ๐Ÿ› ๏ธ โณ โฐ

    sudo add-apt-repository ppa:danielrichter2007/grub-customizer
    sudo apt-get update
    sudo apt install grub-customizer
  5. POP OS THEME INSTALLATION ๐ŸŽ‰ ๐ŸŽŠ ๐Ÿ”ฎ

    sudo add-apt-repository ppa:system76/pop
    sudo apt-get update
    sudo apt install pop-theme
  6. INSTALL ANACONDA for Python and Data Science ๐Ÿ

    wget https://repo.anaconda.com/archive/Anaconda3-2019.03-Linux-x86_64.sh
    bash Anaconda3-2019.03-Linux-x86_64.sh
    conda install -y jupyter
    conda install -y scipy
    conda install -y sklearn
    conda install -y pandas
    conda install -y pandas-datareader
    conda install -y matplotlib pillow
    conda install -y upgrade requests
    conda install -y upgrade h5py
    conda install -y nb_conda
  7. Create a new tensorflow_1 environment and install whatever is required into this folder.

    conda create --name tensorflow_1 python=3.6
    python --version
    conda list
    conda install -y jupyter
    conda install -y scipy
    pip install --upgrade sklearn
    conda install -y pandas
    conda install -y pandas-datareader
    conda install -y matplotlib
    conda install -y pillow
    conda install -y upgrade requests
    conda install -y upgrade h5py
    conda install -y nb_conda
    pip install --upgrade tqdm
    pip install --upgrade requests
    pip install --upgrade h5py
    pip install --upgrade pyyaml
    pip install --upgrade tensorflow_hub
    pip install --upgrade bayesian-optimization
    pip install --upgrade tensorflow==1.12.0
    pip install --upgrade keras==2.2.4
    pip install --upgrade keras
    conda install scipy
    pip install --upgrade sklearn
    pip install --upgrade pandas
    pip install --upgrade pandas-datareader
    pip install --upgrade matplotlib
    pip install --upgrade pillow
    pip install tensorflow-gpu
  8. Go to this link for guide on installing TensorFlow with GPU support on Ubuntu 18.04 LTS + CUDA 10.1. ๐Ÿฅ‡

  9. Go to this link to see your GPU, CPU and Hard Drive Temperatures. โ™จ๏ธ๐Ÿ’ป

  10. Checking whether Python3 of anaconda is being used, and installing jre followed by scala ๐Ÿ

    which python
    sudo apt-get update
    sudo apt-get install default-jre
    java -version
    pip install py4j
    wget https://www.apache.org/dyn/closer.lua/spark/spark-2.4.3/spark-2.4.3-bin-hadoop2.7.tgz
    sudo tar -xvzf spark-2.4.3-bin-hadoop2.7.tgz
    export SPARK_HOME='/home/cosmic/spark-2.0.0-bin-hadoop2.7'
    export PATH=$SPARK_HOME:$PATH
    export PYTHONPATH=$SPARK_HOME/python:$PYTHONPATH
  11. Install flatpak for additional softwares ๐Ÿ“ฆ

    sudo apt install gnome-software-plugin-flatpak
    flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
    gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize'
  12. Stacer to keep track of CPU, Memory, Dashboard, a much more aesthetic and performance wise better alternative of its Windows counterpart CCleaner. ๐Ÿ’ฏ โ™ป๏ธ ๐Ÿ“Œ ๐Ÿด 1561236415424

1561236472552

1561236540472

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