【问题标题】:Python 3, Vim and Tmux - local installationPython 3、Vim 和 Tmux - 本地安装
【发布时间】:2016-09-27 13:14:40
【问题描述】:

如何在Ubuntu上本地安装Python3、Vim、Tmux而不需要root提升?

【问题讨论】:

  • 这里没有实际问题。你应该澄清你的具体问题。正如目前所写的那样,很难准确地说出你在问什么。见How to ask good questions
  • 是的,对不起。我想删除这个问题。我的错误

标签: python-3.x vi tmux


【解决方案1】:

ncurses-6.0和libevent-2.0.22-stable的安装

Python3的安装

$./configure --prefix=$HOME/local
$make && make install

Tmux 2.2的安装:

$./configure CFLAGS="-I$HOME/local/include -I$HOME/local/include/ncurses" LDFLAGS="-L$HOME/local/lib -L$HOME/local/include/ncurses -L$HOME/local/include" CPPFLAGS="-I$HOME/local/include -I$HOME/local/include/ncurses" --prefix=$HOME/local
$make && make install

VIM 7.4的安装:

$./configure CFLAGS="-I$HOME/local/include -I$HOME/local/include/ncurses" LDFLAGS="-L$HOME/local/lib -L$HOME/local/include/ncurses -L$HOME/local/include" CPPFLAGS="-I$HOME/local/include -I$HOME/local/include/ncurses" --prefix=$HOME/local --with-features=huge --enable-multibyte --enable-rubyinterp --enable-python3interp --with-python-config-dir=$HOME/local/lib/python3.5/config-3.5m --enable-perlinterp --enable-gui=gtk2 --enable-cscope
$make && make install

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2012-08-10
    • 1970-01-01
    • 1970-01-01
    • 2017-12-31
    • 2012-06-18
    • 2017-06-20
    • 1970-01-01
    相关资源
    最近更新 更多