User Tools

Site Tools


ubuntu_compilation_howto

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ubuntu_compilation_howto [2020/04/12 14:29]
maefloresta
ubuntu_compilation_howto [2020/07/21 00:03] (current)
maefloresta
Line 10: Line 10:
 sudo apt-get install build-essential sudo apt-get install build-essential
 sudo apt-get install ruby sudo apt-get install ruby
-sudo apt-get ​install ​libavcodec-dev libavformat-dev libswscale-dev +sudo gem install ​so
-sudo apt-get install libogg-dev libtheora-dev+
 sudo apt-get install zlib1g-dev sudo apt-get install zlib1g-dev
 sudo apt-get install libgl1-mesa-dev sudo apt-get install libgl1-mesa-dev
Line 17: Line 16:
 sudo apt-get install git sudo apt-get install git
 </​code>​ </​code>​
-2. Install the Qt5 framework (version 5.or higher):​\\ +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://www.qt.io/download-open-source/+    * 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:     * Run these commands from console:
 <​code>​ <​code>​
Line 26: Line 25:
     * Modify your PATH variable including your Qt5 installation path:     * Modify your PATH variable including your Qt5 installation path:
 <​code>​ <​code>​
-export PATH=/​*your*/​*Qt*/​*path*/​5.7.0/​gcc_64/​bin:​$PATH+export PATH=/​*your*/​*Qt*/​*path*/​5.*.*/​gcc_64/​bin:​$PATH
 </​code>​ </​code>​
     * Verify your Qt5 version:     * Verify your Qt5 version:
Line 34: Line 33:
 - Let's see an specific example (64 bit using account "​user"​):​ - Let's see an specific example (64 bit using account "​user"​):​
 <​code>​ <​code>​
-wget http://​download.qt.io/​official_releases/qt/5.7/5.7.0/​qt-opensource-linux... +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.7.0.run +chmod 755 qt-opensource-linux-x64-5.14.2.run 
-./​qt-opensource-linux-x64-5.7.0.run+./​qt-opensource-linux-x64-5.14.2.run
 </​code>​ </​code>​
-- The Qt5 installation path was: /​home/​user/​Qt5.7.0+- The Qt5 installation path was: /​home/​user/​Qt5.14.2
 <​code>​ <​code>​
-export PATH=/​home/​user/​Qt5.7.0/5.7/​gcc_64/​bin:​$PATH+export PATH=/​home/​user/​Qt5.14.2/5.14.2/​gcc_64/​bin:​$PATH
 qmake -version qmake -version
  
-  QMake version 3.0 +  QMake version 3.1 
-  Using Qt version 5.7.in /​home/​user/​Qt5.7.0/5.7/gcc_64/lib+  Using Qt version 5.14.in /​home/​user/​Qt5.14.2/5.14.2/gcc_64/lib
 </​code>​ </​code>​
-3. Install the Quazip dependency:\\ +3. Install the Quazip dependency:​ 
- +Run these commands ​from console:
-**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>​ <​code>​
-tar xvfz quazip-0.7.3.tar.gz +git clone https://​github.com/​xtingray/​quazip 
-cd quazip-0.7.3+cd quazip
 qmake "​PREFIX=/​usr/​local"​ "​LIBS+=-lz"​ qmake "​PREFIX=/​usr/​local"​ "​LIBS+=-lz"​
 make make
 sudo make install sudo make install
 </​code>​ </​code>​
-4. Get TupiTube Desk source code:+4. Get and compile FFmpeg source code: 
 +- Run these commands from console: 
 +<​code>​ 
 +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 
 +</​code>​ 
 +5. Get TupiTube Desk source code:
 <​code>​ <​code>​
 git clone https://​github.com/​xtingray/​tupitube.desk.git -b devel git clone https://​github.com/​xtingray/​tupitube.desk.git -b devel
Line 65: Line 70:
 <​code>​ <​code>​
 cd tupitube.desk cd tupitube.desk
-./configure --prefix=/​usr/​local/​tupitube.desk --with-quazip=/​usr/​local+./configure --prefix=/​usr/​local/​tupitube.desk --with-quazip=/​usr/​local/quazip  
 +--with-ffmpeg=/​usr/​local/​ffmpeg
 make make
 sudo make install sudo make install
ubuntu_compilation_howto.1586719769.txt.gz · Last modified: 2020/04/12 14:29 by maefloresta