-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinstall-ubuntu.sh
37 lines (30 loc) · 893 Bytes
/
install-ubuntu.sh
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
27
28
29
30
31
32
33
34
35
36
37
#!/bin/bash
sudo apt-get install -y \
python3-pip \
build-essential \
git \
python3 \
python3-dev \
# Install necessary system packages
sudo apt-get install -y \
libsdl2-dev \
libsdl2-image-dev \
libsdl2-mixer-dev \
libsdl2-ttf-dev \
libportmidi-dev \
libswscale-dev \
libavformat-dev \
libavcodec-dev \
zlib1g-dev
# Install gstreamer for audio, video (optional)
sudo apt-get install -y \
libgstreamer1.0 \
gstreamer1.0-plugins-base \
gstreamer1.0-plugins-good
sudo add-apt-repository ppa:kivy-team/kivy
sudo apt-get update
sudo apt-get install python3-kivy
python3 -m venv ubuntu-env && cd ./ubuntu-env && . ./bin/activate
pip3 install kivy
# python3 -m PyInstaller --onefile --name SOCIAL_NETWORK_TEST --distpath packages/projectTest --workpath .cache/ app.py
# export PATH="/home/nidza/.local/bin/pyinstaller:$PATH"