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,769
  • 10
  • 24
  • 41

2 Answers2

-1

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

UglyBob
  • 247
  • 1
  • 14
-1

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,665
  • 17
  • 38