INDI及びPHD2のインストール

Once you've finished configuring your Ubuntu environment, you can finally install INDI and PHD2.

Start the Terminal app and enter sudo apt-add-repository ppa:mutlaqja/ppa at the command prompt. Follow the instructions as you will be prompted to press Enter during the process. Next, enter sudo apt-add-repository ppa:pch/phd2. Follow the instructions as you will be prompted to press Enter during this process as well. Enter sudo apt update, and once the command has finished executing, enter sudo apt upgrade. Once the packages have been installed, enter sudo apt autoremove.

To install INDI and PHD2, enter sudo apt install indi-full gsc phd2. If you are also installing KStars, enter sudo apt install indi-full gsc kstars-bleeding phd2. This command will download and install the INDI and PHD2 packages.

Finally, if you want to use INDIWebManager, enter sudo pip3 install --break-system-packages indiweb. This will install the necessary packages and INDIWebManager. If a package error occurs here, this means that the python3 package installed by pip3 is a different version from the system package, so delete the system package and enter the command to install indiweb again.

Create the indiwebmanager.service file to start INDIWebManager when Ubuntu starts. Enter sudo vi /lib/systemd/system/indiwebmanager.service. Enter the following as the file contents. Note that you should generally enter your login ID in User.

[Unit]
Description=INDI Web Manager
After=multi-user.target

[Service]
Type=idle
User=pi
ExecStart=/usr/local/bin/indi-web -v
Restart=always
RestartSec=5

[Install]
WantedBy=multi-user.target

To check if indiwebmanager.service is working properly, enter sudo systemctl start indiwebmanager. If no errors occur, enter sudo systemctl enable indiwebmanager to set it to start automatically when Ubuntu starts.

Now you can start the INDI server via INDI Web Manager and use the client software to control the equatorial mount and camera to take deep space celestial photographs. If you are taking deep space celestial photographs on a Mac, we recommend that you use our ParsecDeepSky.