Compile Ubuntu: Difference between revisions

From Strawberry Music Player Wiki
Jump to navigation Jump to search
(Created page with "Compiling on Ubuntu Install the required dependencies: apt install -y git make cmake gcc g++ gettext \ libglib2.0-dev libdbus-1-dev \ libboost-dev libprotobuf-dev protobuf-compiler libsqlite3-dev libgnutls28-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 libt...")
 
No edit summary
 
(One intermediate revision 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 libasound2-dev libpulse-dev \
     libboost-dev libprotobuf-dev protobuf-compiler 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 \
Line 12: Line 12:
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 07:19, 23 October 2023

Compiling on Ubuntu

Install the required dependencies:

   apt install -y git make cmake gcc g++ gettext \
   libglib2.0-dev libdbus-1-dev \
   libboost-dev libprotobuf-dev protobuf-compiler 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

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).