;#;
[[developer_resources|Back to Developers Page]]
;#;
=====How to compile TupiTube Desk from source code (Ubuntu + Qt5)=====
1. Install all the dependencies required using Ubuntu packages:\\
- Run these commands from console:
sudo apt-get install build-essential
sudo apt-get install ruby
sudo gem install so
sudo apt-get install zlib1g-dev
sudo apt-get install libgl1-mesa-dev
sudo apt-get install libpulse-dev
sudo apt-get install git
2. Install the Qt5 framework (version 5.13 or higher):\\
* Download the installer for the architecture of your operating system (32 or 64 bit) from https://download.qt.io/archive/qt/
* Run these commands from console:
chmod 755 installer_name.run
./installer_name.run (follow the step by step wizard)
* Modify your PATH variable including your Qt5 installation path:
export PATH=/*your*/*Qt*/*path*/5.*.*/gcc_64/bin:$PATH
* Verify your Qt5 version:
qmake -version
- Let's see an specific example (64 bit using account "user"):
wget https://download.qt.io/archive/qt/5.14/5.14.2/qt-opensource-linux-x64-5.14.2.run
chmod 755 qt-opensource-linux-x64-5.14.2.run
./qt-opensource-linux-x64-5.14.2.run
- The Qt5 installation path was: /home/user/Qt5.14.2
export PATH=/home/user/Qt5.14.2/5.14.2/gcc_64/bin:$PATH
qmake -version
QMake version 3.1
Using Qt version 5.14.2 in /home/user/Qt5.14.2/5.14.2/gcc_64/lib
3. Install the Quazip dependency:
- Run these commands from console:
git clone https://github.com/xtingray/quazip
cd quazip
qmake "PREFIX=/usr/local" "LIBS+=-lz"
make
sudo make install
4. Get and compile FFmpeg source code:
- Run these commands from console:
wget https://ffmpeg.org/releases/ffmpeg-4.3.tar.gz
tar xvfz ffmpeg-4.3.tar.gz
cd ffmpeg-4.3
./configure --prefix=/usr/local/ffmpeg --enable-shared --disable-doc --enable-libx264
--enable-gpl --disable-swresample --disable-avresample
5. Get TupiTube Desk source code:
git clone https://github.com/xtingray/tupitube.desk.git -b devel
5. Compile the source code:
cd tupitube.desk
./configure --prefix=/usr/local/tupitube.desk --with-quazip=/usr/local/quazip
--with-ffmpeg=/usr/local/ffmpeg
make
sudo make install
6. Enjoy TupiTube Desk!
/usr/local/tupitube.desk/bin/tupitube.desk &
;#;
[[developer_resources|Back to Developers Page]]
;#;