User Tools

Site Tools


ubuntu_compilation_howto

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ubuntu_compilation_howto [2017/08/20 16:24]
maefloresta
ubuntu_compilation_howto [2019/07/16 20:31]
Line 1: Line 1:
-;#; 
-[[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: 
-<​code>​ 
-sudo apt-get install build-essential 
-sudo apt-get install ruby 
-sudo apt-get install libavcodec-dev libavformat-dev libswscale-dev 
-sudo apt-get install libogg-dev libtheora-dev 
-sudo apt-get install zlib1g-dev 
-sudo apt-get install libgl1-mesa-dev 
-sudo apt-get install libpulse-dev 
-sudo apt-get install git 
-</​code>​ 
-2. Install the Qt5 framework (version 5.4 or higher):\\ 
-    * Download the installer for the architecture of your operating system (32 or 64 bit) from https://​www.qt.io/​download-open-source/​ 
-    * Run these commands from console: 
-<​code>​ 
-chmod 755 installer_name.run 
-./​installer_name.run (follow the step by step wizard) 
-</​code>​ 
-    * Modify your PATH variable including your Qt5 installation path: 
-<​code>​ 
-export PATH=/​*your*/​*Qt*/​*path*/​5.7.0/​gcc_64/​bin:​$PATH 
-</​code>​ 
-    * Verify your Qt5 version: 
-<​code>​ 
-qmake -version 
-</​code>​ 
-- Let's see an specific example (64 bit using account "​user"​):​ 
-<​code>​ 
-wget http://​download.qt.io/​official_releases/​qt/​5.7/​5.7.0/​qt-opensource-linux... 
-chmod 755 qt-opensource-linux-x64-5.7.0.run 
-./​qt-opensource-linux-x64-5.7.0.run 
-</​code>​ 
-- The Qt5 installation path was: /​home/​user/​Qt5.7.0 
-<​code>​ 
-export PATH=/​home/​user/​Qt5.7.0/​5.7/​gcc_64/​bin:​$PATH 
-qmake -version 
- 
-  QMake version 3.0 
-  Using Qt version 5.7.0 in /​home/​user/​Qt5.7.0/​5.7/​gcc_64/​lib 
-</​code>​ 
-3. Install the Quazip dependency:​\\ 
- 
-**Warning:​** If you want to use the Quazip package from Ubuntu'​s repository, ensure it was created using Qt5, otherwise TupiTube Desk compilation will fail.\\ 
- 
-- Download the source code from https://​sourceforge.net/​projects/​quazip/​files/​quazip/​0.7.3/​quazip-0.7.3.tar.gz/​download 
-<​code>​ 
-tar xvfz quazip-0.7.3.tar.gz 
-cd quazip-0.7.3 
-qmake "​PREFIX=/​usr/​local"​ "​LIBS+=-lz"​ 
-make 
-sudo make install 
-</​code>​ 
-4. Get TupiTube Desk source code: 
-<​code>​ 
-git clone https://​github.com/​xtingray/​tupitube.desk.git 
-</​code>​ 
-**Note:** If you want to try the devel version, use this command: 
-<​code>​ 
-git clone https://​github.com/​xtingray/​tupitube.desk.git -b devel 
-</​code>​ 
-5. Compile the source code: 
-<​code>​ 
-cd tupitube.desk 
-./configure --prefix=/​usr/​local/​tupitube.desk --with-quazip=/​usr/​local 
-make 
-sudo make install 
-</​code>​ 
-6. Enjoy TupiTube Desk! 
-<​code>​ 
-/​usr/​local/​tupi/​bin/​tupitube.desk & 
-</​code>​ 
-;#; 
-[[developer_resources|Back to Developers Page]] 
-;#; 
  
ubuntu_compilation_howto.txt ยท Last modified: 2019/07/16 20:31 (external edit)