2

I would like to install my own package in my local dir (I do not have the root privilege). How to install python3-dev locally? I am using ubuntu 16.04.

karl_TUM
  • 5,549
  • 9
  • 22
  • 40

2 Answers2

0

You can use Brew package manager to install pyhon locally by:

wget https://raw.githubusercontent.com/Linuxbrew/install/master/install
ruby ./install

add the Brew to the PATH variable (better insert it into bashrc)

PATH="$HOME/.linuxbrew/bin:$HOME/.linuxbrew/sbin:$PATH"

To install e.g. python3 run:

brew install python3
Tobias Senst
  • 2,407
  • 14
  • 33
-1

I think you have to build it yourself from source... You can easily find a guide for that if you google it.

UglyBob
  • 235
  • 1
  • 12