Linux Notes #01 # Build Python Environment & VIM code highlighting

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.