Compile Fedora: Difference between revisions

From Strawberry Music Player Wiki
Jump to navigation Jump to search
(Created page with "Compiling on Fedora Install the required dependencies: dnf install \ glibc gcc-c++ git tar rpmdevtools make cmake glib man gettext \ boost-devel dbus-devel protobuf-devel protobuf-compiler sqlite-devel alsa-lib-devel pulseaudio-libs-devel libnotify-devel gnutls-devel \ qt6-qtbase-devel qt6-qtbase-private-devel qt6-qttools-devel \ gstreamer1-devel gstreamer1-plugins-base-devel \ libcdio-devel libgpod-devel libplist-devel libusbmuxd-devel libmtp-d...")
 
No edit summary
Line 3: Line 3:
Install the required dependencies:
Install the required dependencies:


     dnf install \
     sudo dnf install \
     glibc gcc-c++ git tar rpmdevtools make cmake glib man gettext \
     glibc gcc-c++ git tar rpmdevtools make cmake glib man gettext \
     boost-devel dbus-devel protobuf-devel protobuf-compiler sqlite-devel alsa-lib-devel pulseaudio-libs-devel libnotify-devel gnutls-devel \
     boost-devel dbus-devel protobuf-devel protobuf-compiler glib2-devel sqlite-devel alsa-lib-devel pulseaudio-libs-devel libnotify-devel gnutls-devel \
     qt6-qtbase-devel qt6-qtbase-private-devel qt6-qttools-devel \
     qt6-qtbase-devel qt6-qtbase-private-devel qt6-qttools-devel \
     gstreamer1-devel gstreamer1-plugins-base-devel \
     gstreamer1-devel gstreamer1-plugins-base-devel \

Revision as of 17:36, 10 January 2023

Compiling on Fedora

Install the required dependencies:

   sudo dnf install \
   glibc gcc-c++ git tar rpmdevtools make cmake glib man gettext \
   boost-devel dbus-devel protobuf-devel protobuf-compiler glib2-devel sqlite-devel alsa-lib-devel pulseaudio-libs-devel libnotify-devel gnutls-devel \
   qt6-qtbase-devel qt6-qtbase-private-devel qt6-qttools-devel \
   gstreamer1-devel gstreamer1-plugins-base-devel \
   libcdio-devel libgpod-devel libplist-devel libusbmuxd-devel libmtp-devel \
   taglib-devel libchromaprint-devel fftw-devel

Compile and install:

   git clone https://github.com/strawberrymusicplayer/strawberry
   cd strawberry
   mkdir build
   cd build
   cmake ..
   make -j$(nproc)
   sudo make install

(If you already did `git clone`, do `git pull` to make sure you have the latest code).