<div dir="ltr"><div>Hello kstars fans. This is a shell script that you have to run as root once on Debian 11 (Bullseye) in order to install and build from source full Kstars . This means you will get in one single batch : Kstars + INDI + INDI 3rd party Drivers + StellarSolver. Make sure that there is a STABLE internet connection before running the script.</div><div><br></div><div>Please add the script if you are one of those who have access to editing the <a href="http://kde.org">kde.org</a> kstars pages. Thanks. <br></div><div><br></div><div>=====================Script is below this line===run as root===================</div><div><br></div><div><span style="font-family:monospace">echo "Installing the required packages for Kstars from Debian repos using apt-get..."<br>apt update<br>apt -y install breeze-icon-theme build-essential cdbs cmake dkms extra-cmake-modules fxload gettext git kdoctools5 kinit-dev kio libavcodec-dev libavdevice-dev libboost-dev libboost-regex-dev libcfitsio-dev libcurl4-gnutls-dev libdc1394-22-dev libeigen3-dev libfftw3-dev libftdi1-dev libftdi-dev libgmock-dev libgphoto2-dev libgps-dev libgsl0-dev libgsl-dev libgtest-dev libindi-dev libjpeg-dev libkf5crash-dev libkf5newstuff-dev libkf5notifications-dev libkf5notifyconfig-dev libkf5plotting-dev libkf5xmlgui-dev libkrb5-dev liblimesuite-dev libnova-dev libqt5svg5-dev libqt5websockets5-dev libraw-dev librtlsdr-dev libsecret-1-dev libtheora-dev libtiff-dev libusb-1.0-0-dev libusb-dev qt5keychain-dev qtdeclarative5-dev wcslib-dev xplanet xplanet-images zlib1g-dev aria2 axel wget qtbase5-dev <br>echo "Done installing therequired packages for kstarts using apt-get "<br><br>mkdir kstars_src && cd kstars_src<br>echo "Your current directory is `pwd` "<br>echo "Downloading project INDI source code using git .."<br>git clone --depth 1 <a href="https://github.com/indilib/indi.git">https://github.com/indilib/indi.git</a><br>cd indi && mkdir -p build<br>echo "Your current directory is `pwd`. preparing and building.."<br>cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug -B build/<br>cd build<br>make -j $(nproc)<br>make -j $(nproc) install<br>cd ../../<br><br>echo "Your current directory is `pwd` "<br>echo "Downloading project INDI 3rd party drivers and libraries source code using git .."<br>git clone --depth=1 <a href="https://github.com/indilib/indi-3rdparty">https://github.com/indilib/indi-3rdparty</a><br>cd  indi-3rdparty <br>echo "Your current directory is `pwd` .. preparing a building each driver and each library in this folder"<br>#$pwd=`pwd`;<br><br>mkdir -p indi-3rdparty-build-libraries<br>cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug -DBUILD_LIBS=1 -B indi-3rdparty-build-libraries<br>cd indi-3rdparty-build-libraries<br>make -j $(nproc)<br>make -j $(nproc) install<br>cd ..<br><br>mkdir -p indi-3rdparty-build-drivers<br>cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug -B indi-3rdparty-build-drivers<br>cd indi-3rdparty-build-drivers<br>make -j $(nproc)<br>make -j $(nproc) install<br>echo "Your current directory is `pwd` done with INDI 3rdparty drivers and libraries. "<br>cd ../../<br><br>echo "Downloading project StellarSolver using git .."<br>echo "Your current directory is `pwd`"<br>git clone <a href="https://github.com/rlancaste/stellarsolver.git">https://github.com/rlancaste/stellarsolver.git</a><br>cd stellarsolver<br>mkdir -p build<br>cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TESTER=ON -B build<br>cd build<br>make -j $(nproc)<br>make -j $(nproc) install<br>cd ../../<br><br>echo "Your current directory is `pwd` . Done with StellarSolver. "<br>echo "Downloading project kstars source code using git .."<br>git clone <a href="https://anongit.kde.org/kstars">https://anongit.kde.org/kstars</a><br>cd kstars && mkdir -p build<br>cmake  -DCMAKE_INSTALL_PREFIX=/usr -B build<br>cd build<br>make -j $(nproc)<br>make -j $(nproc) install</span><br><br><br></div><div>thanks.<br></div><div><br><br></div></div>