Daily Collection
Vim editor:how do I enable and disable VIM syntax highlighting?
Building a Python environment
vim editor:how do I enable and disable VIM syntax highlighting?
Perfect Solution:https://alvinalexander.com/linux/vi-vim-editor-syntax-highlighting
Building a Python environment
This theme is not original: Installing Python 3 on Linux (PS. This site is very much in line with my aesthetics) write your own process, record & backup:
1, first check their own machine has not installed Python
[Email protected]:~# python--versionpython 2.7.9
The result is loaded, but I am not satisfied, I must install Python 3.6
2, then according to the specific operating system to decide what to do
I am using Debian 8.8 64-bit , COPY from how to install Python 3.6?
sudo apt-get install python3 没办法安装到最新版本:
sudo apt-get updatesudoinstall-3.4. 2
Need to download directly from the official website:
wget https://www.python.org/ftp/python/3.6.3/Python-3.6.3.tgztar xvf python- 3.6. 3 . TGZCD Python-3.6. 3 . /configure--enable-Optimizations make –j8sudo make Altinstallpython3. 6
Input instructions, patience and wait on the can.
Some package need to being installed to avoid Some known problems
sudo Install make build-essential libssl-dev zlib1g-dev sudoinstallwget sudoinstall -y libncurses5-dev libncursesw5-dev xz-utils Tk-dev
(This can be a problem to reload)
Figure:
3. Setuptools & Pip is normally installed by default (Python version > 3.4)
Setuptools and Pip are two key Python third-party package management tools, see the original tutorial in detail.
[Email protected]:~/python-3.6. 3# command-v Pip/usr/local/bin/pip
Linux Notes #01 # Build Python Environment & VIM code highlighting