Compile Ubuntu: Difference between revisions

From Strawberry Music Player Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
     apt install -y git make cmake gcc g++ gettext \
     apt install -y git make cmake gcc g++ gettext \
     libglib2.0-dev libdbus-1-dev \
     libglib2.0-dev libdbus-1-dev \
     libboost-dev libprotobuf-dev protobuf-compiler libsqlite3-dev libgnutls28-dev libicu-dev libasound2-dev libpulse-dev \
     libboost-dev libsqlite3-dev libgnutls28-dev libicu-dev libasound2-dev libpulse-dev \
     qt6-base-dev qt6-base-dev-tools qt6-tools-dev qt6-tools-dev-tools qt6-l10n-tools \
     qt6-base-dev qt6-base-dev-tools qt6-tools-dev qt6-tools-dev-tools qt6-l10n-tools \
     libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-good1.0-dev \
     libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-good1.0-dev \
     libchromaprint-dev libfftw3-dev libtag1-dev libcdio-dev libmtp-dev libgpod-dev
     libchromaprint-dev libfftw3-dev libtag1-dev libcdio-dev libmtp-dev libgpod-dev libebur128-dev


Compile and install:
Compile and install:


     git clone https://github.com/strawberrymusicplayer/strawberry
     git clone --recursive https://github.com/strawberrymusicplayer/strawberry
     cd strawberry
     cd strawberry
     mkdir build
     mkdir build

Latest revision as of 15:52, 23 November 2024

Compiling on Ubuntu

Install the required dependencies:

   apt install -y git make cmake gcc g++ gettext \
   libglib2.0-dev libdbus-1-dev \
   libboost-dev libsqlite3-dev libgnutls28-dev libicu-dev libasound2-dev libpulse-dev \
   qt6-base-dev qt6-base-dev-tools qt6-tools-dev qt6-tools-dev-tools qt6-l10n-tools \
   libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-good1.0-dev \
   libchromaprint-dev libfftw3-dev libtag1-dev libcdio-dev libmtp-dev libgpod-dev libebur128-dev

Compile and install:

   git clone --recursive 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).