install ReText editor for Ubuntu - a script

This commit is contained in:
Cyryl Plotnicki-Chudyk 2015-06-04 10:20:21 +02:00
parent 49a1e867e3
commit 4345c2b09a
2 changed files with 13 additions and 17 deletions

View file

@ -1,17 +0,0 @@
#!/bin/bash
#ReText
aria2c http://sourceforge.net/projects/pyqt/files/sip/sip-4.16.2/sip-4.16.2.tar.gz -d /tmp
tar -C /tmp -xf /tmp/sip-4.16.2.tar.gz
cd /tmp/sip-4.16.2
python3 configure.py
make
sudo make install
aria2c http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-5.3.1/PyQt-gpl-5.3.1.tar.gz -d /tmp
tar -C /tmp -xf /tmp/PyQt-gpl-5.3.1.tar.gz
cd /tmp/PyQt-gpl-5.3.1
python3 configure.py --qmake /usr/bin/qmake-qt5
make -j8
sudo make install
sudo pip-python3 install retext

13
ubuntu/install_retext Executable file
View file

@ -0,0 +1,13 @@
#!/bin/bash
set -e
set -v
#ReText
sudo aptitude -y install python3-pyqt5 python3-pip python3-pyqt5.qtwebkit
aria2c -c http://sourceforge.net/projects/pyqt/files/sip/sip-4.16.2/sip-4.16.2.tar.gz -d /tmp
tar -C /tmp -xf /tmp/sip-4.16.2.tar.gz
cd /tmp/sip-4.16.2
python3 configure.py
make
sudo make install
sudo pip3 install retext