I would like to replace the existing pylint
and astroid
version on my computer with its current versions which are available via Github and make it available to the vim plugin syntastic
.
In particular, I use Ubuntu 14.04 and pylint 1.6.4 and astroid 1.4.9 are installed on my computer. I cannot find a PPA to update these two programs to its newest versions. The website of pylint
says I can install pylint
and astroid
from source using git. The relevant links are:
git clone https://github.com/PyCQA/pylint
git clone https://github.com/PyCQA/astroid
The new installation should be available to the vim
plugin syntastic
.
Can somebody kindly explain me how to achieve these two goals?
Via Pip
Pypi has a package for Pylint.
You can install Pypi packages
for Python 2 with
for for Python 3:
This will install the package for current user only. For a system-wide installation use
sudo
and omit--user
, e. g.sudo pip install [package]
.If you don't have Pip you can install it from Ubuntu's repositories; the package names are
pip
andpip3
for Python 2 and Python 3 respectively.From source
Taken straight from the section titled “Install” of the read-me file in the source code repository:
1 Obviously, instead of a source code "tarball" you can also use the cloned Git repository.