FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
gpython/bin/install-python.sh at main · go-python/gpython · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
go-python
/
gpython
Public
Notifications
You must be signed in to change notification settings
Fork
105
Star
1k
Code
Issues
49
Pull requests
5
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
gpython
/
bin
/
install-python.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
26 lines (21 loc) · 585 Bytes
Breadcrumbs
gpython
/
bin
/
install-python.sh
Copy path
File metadata and controls
executable file
·
26 lines (21 loc) · 585 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!
/bin/bash
#
This downloads and install python3.4 to the directory passed in
VERSION=3.4.9
DEST=
$1
if
[
"
$DEST
"
=
"
"
]
;
then
echo
"
Syntax:
$0
<install-directory>
"
exit
1
fi
if
[
-e
"
$DEST
/bin/python3.4
"
]
;
then
echo
"
Python already installed in
$DEST
- skipping install
"
exit
0
fi
mkdir -p
$DEST
cd
/tmp
curl https://www.python.org/ftp/python/
${VERSION}
/Python-
${VERSION}
.tar.xz --output Python-
${VERSION}
.tar.xz --silent
tar Jxf Python-
${VERSION}
.tar.xz
cd
Python-
${VERSION}
./configure --prefix=
$DEST
make
make install
echo
"
Python
$VERSION
installed in
$DEST
"
Back
|
FazBrowse Home
|
New Git URL