Skip to content

Instantly share code, notes, and snippets.

@kkirsche
Last active April 11, 2018 14:53
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 kkirsche/d9906303202721846c583afba342be84 to your computer and use it in GitHub Desktop.
Save kkirsche/d9906303202721846c583afba342be84 to your computer and use it in GitHub Desktop.
CentOS 7 Python / Sublime Text Setup
# Installation
sudo yum update
sudo yum install -y epel-release
sudo yum install -y python34 python34-setuptools
sudo easy_install-3.4 pip
# Project Setup
mkdir -p ~/dev/project_name
cd ~/dev/project_name
python3 -m venv venv
source ./venv/bin/activate
# Setup Sublime Text
## https://www.sublimetext.com/docs/3/linux_repositories.html#yum
sudo rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg
sudo yum-config-manager --add-repo https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo
sudo yum install sublime-text
# Clean up the desktop
gsettings set org.gnome.nautilus.desktop trash-icon-visible false
gsettings set org.gnome.nautilus.desktop home-icon-visible false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment