Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
manhattan
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
InnovacionDocente
manhattan
Commits
8bbc570e
Commit
8bbc570e
authored
Feb 22, 2019
by
Enrique Matías Sánchez (Quique)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Script para compilar e instalar Python en Debian
parent
d38ebb50
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
compile_python.sh
compile_python.sh
+23
-0
No files found.
compile_python.sh
0 → 100755
View file @
8bbc570e
#!/bin/bash
# Script para descargar, compilar e instalar Python 3.7 en Debian/Ubuntu/Linux Mint
# Actualizar el sistema
apt update
apt
-y
upgrade
# Instalar las herramientas necesarias para compilar el código fuente de Python
apt
install
-y
build-essential
apt
install
-y
libbz2-dev libffi-dev libgdbm-dev liblzma-dev libncurses5-dev
\
libncursesw5-dev libnss3-dev libreadline-dev libsqlite3-dev libssl-dev tk-dev
\
uuid-dev zlib1g-dev
# Descargar y descomprimir Python
cd
/usr/local/src
wget https://www.python.org/ftp/python/3.7.2/Python-3.7.2.tgz
tar
xzf Python-3.7.2.tgz
# Compilar e instalar Python
cd
Python-3.7.2
./configure
--enable-optimizations
--with-ensurepip
=
install
make
-j8
make altinstall
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment