User Tools

Site Tools


fedora_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
fedora_compilation_howto [2017/08/05 10:36]
maefloresta
fedora_compilation_howto [2019/07/16 20:31] (current)
Line 6: Line 6:
  
 1. Install Fedora packages 1. Install Fedora packages
- +<​code>​ 
-    ​* ​sudo dnf install ruby +sudo dnf install ruby 
-    ​* ​sudo dnf install make +sudo dnf install make 
-    ​* ​sudo dnf automake +sudo dnf automake 
-    ​* ​sudo dnf install gcc +sudo dnf install gcc 
-    ​* ​sudo dnf install gcc-c++ +sudo dnf install gcc-c++ 
-    ​* ​sudo dnf install zlib-devel +sudo dnf install zlib-devel 
-    ​* ​sudo dnf install libogg-devel +sudo dnf install libogg-devel 
-    ​* ​sudo dnf install libtheora-devel +sudo dnf install libtheora-devel 
-    ​* ​sudo dnf install yasm +sudo dnf install yasm 
 +</​code>​
 2. Compile & Install libav 2. Compile & Install libav
- +<​code>​ 
-    ​* ​wget https://​libav.org/​releases/​libav-9.18.tar.gz +wget https://​libav.org/​releases/​libav-9.18.tar.gz 
-    ​* ​tar xvfz libav-9.18.tar.gz +tar xvfz libav-9.18.tar.gz 
-    ​* ​cd libav-9.18 +cd libav-9.18 
-    ​* ​./configure --prefix=/​usr --enable-shared +./configure --prefix=/​usr --enable-shared 
-    ​* ​make +make 
-    ​* ​sudo make install +sudo make install 
 +</​code>​
 3. Install Qt5 (version > 5.4) 3. Install Qt5 (version > 5.4)
  
     * Download the Qt installer from http://​www.qt.io/​download-open-source/​     * Download the Qt installer from http://​www.qt.io/​download-open-source/​
     * In my case, the installer file is called: qt-unified-linux-x64-2.0.2-2-online.run     * In my case, the installer file is called: qt-unified-linux-x64-2.0.2-2-online.run
-      * chmod 755 qt-unified-linux-x64-2.0.2-2-online.run +<​code>​ 
-      ​* ​./​qt-unified-linux-x64-2.0.2-2-online.run+chmod 755 qt-unified-linux-x64-2.0.2-2-online.run 
 +./​qt-unified-linux-x64-2.0.2-2-online.run 
 +</​code>​
     * Follow the wizard and pay attention to the path where Qt has been installed. In my case: /​home/​user/​Qt     * Follow the wizard and pay attention to the path where Qt has been installed. In my case: /​home/​user/​Qt
     * To ensure that your system is using this Qt version, and not other, you have to redefine your PATH variable from the console where you're compiling all the software required. In my case:     * To ensure that your system is using this Qt version, and not other, you have to redefine your PATH variable from the console where you're compiling all the software required. In my case:
-      * % export PATH=/​home/​user/​Qt/​5.5/​gcc_64/​bin:​$PATH+<​code>​ 
 +% export PATH=/​home/​user/​Qt/​5.5/​gcc_64/​bin:​$PATH 
 +</​code>​
     * To check that everything is ok, if you run the command "qmake -version"​ you'll see an output like this in your console:     * To check that everything is ok, if you run the command "qmake -version"​ you'll see an output like this in your console:
-    * qmake -version+<​code>​ 
 +qmake -version
     QMake version 3.0     QMake version 3.0
     Using Qt version 5.5.0 in /​home/​user/​Qt/​5.5/​gcc_64/​lib     Using Qt version 5.5.0 in /​home/​user/​Qt/​5.5/​gcc_64/​lib
 +</​code>​
 4. Compile & Install Quazip\\ 4. Compile & Install Quazip\\
  
 - Download the latest version of Quazip from http://​sourceforge.net/​projects/​quazip/​ - Download the latest version of Quazip from http://​sourceforge.net/​projects/​quazip/​
- +<​code>​ 
-    ​* ​tar xvfz quazip-0.7.3.tar.gz +tar xvfz quazip-0.7.3.tar.gz 
-    ​* ​cd quazip-0.7.3 +cd quazip-0.7.3 
-    ​* ​qmake "​PREFIX=/​usr/​local"​ "​LIBS+=-lz"​ +qmake "​PREFIX=/​usr/​local"​ "​LIBS+=-lz"​ 
-    ​* ​make +make 
-    ​* ​sudo make install +sudo make install 
 +</​code>​
 5. Compile & Install TupiTube 5. Compile & Install TupiTube
-  +<​code>​ 
-    ​* ​git clone https://​github.com/​xtingray/​tupitube.desk.git -b devel +git clone https://​github.com/​xtingray/​tupitube.desk.git -b devel 
-    ​* ​cd tupi +cd tupi 
-    ​* ​./configure --prefix=/​usr/​local/​tupitube.desk --with-libav=/​usr --with-quazip=/​usr/​local +./configure --prefix=/​usr/​local/​tupitube.desk --with-libav=/​usr --with-quazip=/​usr/​local 
-    ​* ​make +make 
-    ​* ​sudo make install +sudo make install 
 +</​code>​
 6. If everything goes well, run TupiTube Desk! 6. If everything goes well, run TupiTube Desk!
-    * /​usr/​local/​tupitube.desk/​bin/​tupitube.desk & +<​code>​ 
 +/​usr/​local/​tupitube.desk/​bin/​tupitube.desk & 
 +</​code>​
 ;#; ;#;
 [[developer_resources|Back to Developers Page]] [[developer_resources|Back to Developers Page]]
 ;#; ;#;
fedora_compilation_howto.1501947415.txt.gz · Last modified: 2019/07/16 20:31 (external edit)