跳至主要内容

博文

目前显示的是 五月, 2018的博文

Set up Python3 Environment on CentOS

Required Software Packages, Tools, and Files Installing Packages $ sudo su - $ yum update $ yum groupinstall -y "development tools" $ yum install -y \ lsof \ wget \ vim-enhanced \ words \ which $ exit Configuring Git $ git config --global user.name "Your Name" $ git config --global user.email "your_email@example.com" Customizing Bash $ curl https://raw.githubusercontent.com/linuxacademy/content-python3-sysadmin/master/helpers/bashrc -o ~/.bashrc Customizing Vim $ curl https://raw.githubusercontent.com/linuxacademy/content-python3-sysadmin/master/helpers/vimrc -o ~/.vimrc Download and Install Python 3 from Source $ sudo su - [root] $ yum groupinstall -y "development tools" [root] $ yum install -y \ libffi-devel \ zlib-devel \ bzip2-devel \ openssl-devel \ ncurses-devel \ sqlite-devel \ readline-devel \ tk-devel \ gdbm-devel \ db4-devel \ libpcap-devel \ xz-devel \ expat-devel [root ] $...