How To Install sourcextractor++ on CentOS 8

sourcextractor++ is A program that extracts a catalog of sources from astronomical images, and the successor of SExtractor

Introduction

In this tutorial we learn how to install sourcextractor++ on CentOS 8.

What is sourcextractor++

sourcextractor++ is a program that extracts a catalog of sources from astronomical images. It is the successor to the original SExtractor package.

We can use yum or dnf to install sourcextractor++ on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install sourcextractor++.

Install sourcextractor++ on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install sourcextractor++ using dnf by running the following command:

sudo dnf -y install sourcextractor++

Install sourcextractor++ on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install sourcextractor++ using yum by running the following command:

sudo yum -y install sourcextractor++

How To Uninstall sourcextractor++ on CentOS 8

To uninstall only the sourcextractor++ package we can use the following command:

sudo dnf remove sourcextractor++

sourcextractor++ Package Contents on CentOS 8

/etc/sourcextractor++.conf
/usr/bin/sourcextractor++
/usr/lib/.build-id
/usr/lib/.build-id/36
/usr/lib/.build-id/36/3ab6f6d158e200596637bf9871b1d2cd63fdb6
/usr/lib/.build-id/66
/usr/lib/.build-id/66/041b7b2069bd92562430fe5a0d07bbd9048dac
/usr/lib/.build-id/77
/usr/lib/.build-id/77/deb0c8272d6875140b4a0d527973c97aab43e5
/usr/lib/.build-id/84
/usr/lib/.build-id/84/ea797624db51eb10440acd0d5ecab20fe2d165
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/828c8b1f9b73c8616d25917b28ae316622d173
/usr/lib/.build-id/e4
/usr/lib/.build-id/e4/cd382e76d2690057c4c97776fd649314bae30f
/usr/lib/.build-id/fb
/usr/lib/.build-id/fb/f889b99144d04f38fac3c96dfab77b69b7bfcf
/usr/lib64/cmake/ElementsProject/SourceXtractorPlusPlusEnvironment.xml
/usr/lib64/libModelFitting.so.0.12
/usr/lib64/libSEFramework.so.0.12
/usr/lib64/libSEImplementation.so.0.12
/usr/lib64/libSEMain.so.0.12
/usr/lib64/libSEUtils.so.0.12
/usr/lib64/python3.6/lib-dynload/_SourceXtractorPy.so
/usr/lib64/python3.6/site-packages/SOURCEXTRACTORPLUSPLUS_INSTALL.py
/usr/lib64/python3.6/site-packages/SOURCEXTRACTORPLUSPLUS_VERSION.py
/usr/lib64/python3.6/site-packages/__pycache__/SOURCEXTRACTORPLUSPLUS_INSTALL.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/__pycache__/SOURCEXTRACTORPLUSPLUS_INSTALL.cpython-36.pyc
/usr/lib64/python3.6/site-packages/__pycache__/SOURCEXTRACTORPLUSPLUS_VERSION.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/__pycache__/SOURCEXTRACTORPLUSPLUS_VERSION.cpython-36.pyc
/usr/lib64/python3.6/site-packages/sourcextractor
/usr/lib64/python3.6/site-packages/sourcextractor/__init__.py
/usr/lib64/python3.6/site-packages/sourcextractor/__pycache__
/usr/lib64/python3.6/site-packages/sourcextractor/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/sourcextractor/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/sourcextractor/config
/usr/lib64/python3.6/site-packages/sourcextractor/config/__init__.py
/usr/lib64/python3.6/site-packages/sourcextractor/config/__pycache__
/usr/lib64/python3.6/site-packages/sourcextractor/config/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/sourcextractor/config/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/sourcextractor/config/__pycache__/aperture.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/sourcextractor/config/__pycache__/aperture.cpython-36.pyc
/usr/lib64/python3.6/site-packages/sourcextractor/config/__pycache__/argv.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/sourcextractor/config/__pycache__/argv.cpython-36.pyc
/usr/lib64/python3.6/site-packages/sourcextractor/config/__pycache__/measurement_images.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/sourcextractor/config/__pycache__/measurement_images.cpython-36.pyc
/usr/lib64/python3.6/site-packages/sourcextractor/config/__pycache__/model_fitting.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/sourcextractor/config/__pycache__/model_fitting.cpython-36.pyc
/usr/lib64/python3.6/site-packages/sourcextractor/config/__pycache__/output.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/sourcextractor/config/__pycache__/output.cpython-36.pyc
/usr/lib64/python3.6/site-packages/sourcextractor/config/aperture.py
/usr/lib64/python3.6/site-packages/sourcextractor/config/argv.py
/usr/lib64/python3.6/site-packages/sourcextractor/config/measurement_images.py
/usr/lib64/python3.6/site-packages/sourcextractor/config/model_fitting.py
/usr/lib64/python3.6/site-packages/sourcextractor/config/output.py
/usr/share/licenses/sourcextractor++
/usr/share/licenses/sourcextractor++/LICENSE

References

Summary

In this tutorial we learn how to install sourcextractor++ on CentOS 8 using yum and dnf.