LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-28-2023, 01:52 PM   #1
jr_bob_dobbs
Member
 
Registered: Mar 2009
Distribution: Bedrock, Devuan, Slackware, Linux From Scratch, Void
Posts: 655
Blog Entries: 136

Rep: Reputation: 190Reputation: 190
pip3 DESTDIR install


Given a Python package that has to be installed via pip3, how can one get pip3 to perform a DESTDIR install?

The only good result I could get from googling was this stackoverflow link (best viewed in a text-mode browser) but I am unclear if they are discussing alternate install to a permanent directory (something like /opt) or instead a DESTDIR install (can tar then detar elsewhere later without breaking anything).

Thank you.
 
Old 04-28-2023, 01:59 PM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,080

Rep: Reputation: 7364Reputation: 7364Reputation: 7364Reputation: 7364Reputation: 7364Reputation: 7364Reputation: 7364Reputation: 7364Reputation: 7364Reputation: 7364Reputation: 7364
I guess you need to use python venv (virtual environment) for this.
 
  


Reply

Tags
python pip3 destdir



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] eudev destdir install jr_bob_dobbs Linux From Scratch 6 12-30-2017 10:23 PM
gnumeric: problem with "DESTDIR=" install jr_bob_dobbs Linux From Scratch 3 09-15-2017 08:01 AM
[SOLVED] How to install Python "pip"/"pip3" in slackware-arm? njathan Slackware - ARM 5 08-09-2017 12:35 PM
After upgrade python3.4 to python3.5.1 , not able to install packages "request" though pip3 YOGESHAS87 Linux - Software 1 08-03-2016 10:38 PM
Make DESTDIR=../builds install doesn't work binarybob0001 Linux - Software 1 10-29-2007 02:01 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration