How To Install elements on CentOS 8
Introduction
In this tutorial we learn how to install elements
on CentOS 8.
What is elements
Elements is a C++/Python build framework. It helps to organize the software into modules which are gathered into projects.
We can use yum
or dnf
to install elements
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install elements.
Install elements 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 elements
using dnf
by running the following command:
sudo dnf -y install elements
Install elements 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 elements
using yum
by running the following command:
sudo yum -y install elements
How To Uninstall elements on CentOS 8
To uninstall only the elements
package we can use the following command:
sudo dnf remove elements
elements Package Contents on CentOS 8
/usr/bin/AddCppClass
/usr/bin/AddCppProgram
/usr/bin/AddElementsModule
/usr/bin/AddPythonModule
/usr/bin/AddPythonProgram
/usr/bin/AddScript
/usr/bin/CreateElementsProject
/usr/bin/ElementsNameCheck
/usr/bin/GetElementsFiles
/usr/bin/RemoveCppClass
/usr/bin/RemoveCppProgram
/usr/bin/RemovePythonModule
/usr/bin/RemovePythonProgram
/usr/lib/.build-id
/usr/lib/.build-id/6f
/usr/lib/.build-id/6f/8d7cea499066281bcbb3e8166f660dd2966e44
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/d81ae0590a735d975db93580f6be4e37310cfc
/usr/lib64/cmake/ElementsProject
/usr/lib64/cmake/ElementsProject/ElementsEnvironment.xml
/usr/lib64/libElementsKernel.so.5.10
/usr/lib64/libElementsServices.so.5.10
/usr/lib64/python3.6/site-packages/ELEMENTS_INSTALL.py
/usr/lib64/python3.6/site-packages/ELEMENTS_VERSION.py
/usr/lib64/python3.6/site-packages/ElementsKernel
/usr/lib64/python3.6/site-packages/ElementsKernel/AddCppClass.py
/usr/lib64/python3.6/site-packages/ElementsKernel/AddCppProgram.py
/usr/lib64/python3.6/site-packages/ElementsKernel/AddModule.py
/usr/lib64/python3.6/site-packages/ElementsKernel/AddPythonModule.py
/usr/lib64/python3.6/site-packages/ElementsKernel/AddPythonProgram.py
/usr/lib64/python3.6/site-packages/ElementsKernel/AddScript.py
/usr/lib64/python3.6/site-packages/ElementsKernel/Auxiliary.py
/usr/lib64/python3.6/site-packages/ElementsKernel/Configuration.py
/usr/lib64/python3.6/site-packages/ElementsKernel/Constants.py
/usr/lib64/python3.6/site-packages/ElementsKernel/CreateProject.py
/usr/lib64/python3.6/site-packages/ElementsKernel/Environment.py
/usr/lib64/python3.6/site-packages/ElementsKernel/Exit.py
/usr/lib64/python3.6/site-packages/ElementsKernel/GetFiles.py
/usr/lib64/python3.6/site-packages/ElementsKernel/Logging.py
/usr/lib64/python3.6/site-packages/ElementsKernel/NameCheck.py
/usr/lib64/python3.6/site-packages/ElementsKernel/ParseCmakeLists.py
/usr/lib64/python3.6/site-packages/ElementsKernel/ParseCmakeListsMacros.py
/usr/lib64/python3.6/site-packages/ElementsKernel/Path.py
/usr/lib64/python3.6/site-packages/ElementsKernel/PhysicalConstants.py
/usr/lib64/python3.6/site-packages/ElementsKernel/Program.py
/usr/lib64/python3.6/site-packages/ElementsKernel/Project.py
/usr/lib64/python3.6/site-packages/ElementsKernel/ProjectCommonRoutines.py
/usr/lib64/python3.6/site-packages/ElementsKernel/RemoveCppClass.py
/usr/lib64/python3.6/site-packages/ElementsKernel/RemoveCppProgram.py
/usr/lib64/python3.6/site-packages/ElementsKernel/RemovePythonModule.py
/usr/lib64/python3.6/site-packages/ElementsKernel/RemovePythonProgram.py
/usr/lib64/python3.6/site-packages/ElementsKernel/System.py
/usr/lib64/python3.6/site-packages/ElementsKernel/SystemOfUnits.py
/usr/lib64/python3.6/site-packages/ElementsKernel/Temporary.py
/usr/lib64/python3.6/site-packages/ElementsKernel/Version.py
/usr/lib64/python3.6/site-packages/ElementsKernel/__init__.py
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/AddCppClass.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/AddCppClass.cpython-36.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/AddCppProgram.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/AddCppProgram.cpython-36.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/AddModule.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/AddModule.cpython-36.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/AddPythonModule.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/AddPythonModule.cpython-36.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/AddPythonProgram.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/AddPythonProgram.cpython-36.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/AddScript.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/AddScript.cpython-36.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/Auxiliary.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/Auxiliary.cpython-36.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/Configuration.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/Configuration.cpython-36.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/Constants.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/Constants.cpython-36.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/CreateProject.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/CreateProject.cpython-36.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/Environment.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/Environment.cpython-36.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/Exit.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/Exit.cpython-36.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/GetFiles.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/GetFiles.cpython-36.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/Logging.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/Logging.cpython-36.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/NameCheck.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/NameCheck.cpython-36.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/ParseCmakeLists.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/ParseCmakeLists.cpython-36.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/ParseCmakeListsMacros.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/ParseCmakeListsMacros.cpython-36.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/Path.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/Path.cpython-36.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/PhysicalConstants.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/PhysicalConstants.cpython-36.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/Program.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/Program.cpython-36.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/Project.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/Project.cpython-36.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/ProjectCommonRoutines.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/ProjectCommonRoutines.cpython-36.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/RemoveCppClass.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/RemoveCppClass.cpython-36.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/RemoveCppProgram.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/RemoveCppProgram.cpython-36.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/RemovePythonModule.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/RemovePythonModule.cpython-36.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/RemovePythonProgram.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/RemovePythonProgram.cpython-36.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/System.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/System.cpython-36.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/SystemOfUnits.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/SystemOfUnits.cpython-36.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/Temporary.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/Temporary.cpython-36.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/Version.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/Version.cpython-36.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/ElementsKernel/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/ElementsServices
/usr/lib64/python3.6/site-packages/ElementsServices/DataSync
/usr/lib64/python3.6/site-packages/ElementsServices/DataSync/ConnectionConfiguration.py
/usr/lib64/python3.6/site-packages/ElementsServices/DataSync/DataSyncUtils.py
/usr/lib64/python3.6/site-packages/ElementsServices/DataSync/DataSynchronizer.py
/usr/lib64/python3.6/site-packages/ElementsServices/DataSync/DataSynchronizerMaker.py
/usr/lib64/python3.6/site-packages/ElementsServices/DataSync/DependencyConfiguration.py
/usr/lib64/python3.6/site-packages/ElementsServices/DataSync/IrodsSynchronizer.py
/usr/lib64/python3.6/site-packages/ElementsServices/DataSync/WebdavSynchronizer.py
/usr/lib64/python3.6/site-packages/ElementsServices/DataSync/__init__.py
/usr/lib64/python3.6/site-packages/ElementsServices/DataSync/__pycache__
/usr/lib64/python3.6/site-packages/ElementsServices/DataSync/__pycache__/ConnectionConfiguration.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/ElementsServices/DataSync/__pycache__/ConnectionConfiguration.cpython-36.pyc
/usr/lib64/python3.6/site-packages/ElementsServices/DataSync/__pycache__/DataSyncUtils.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/ElementsServices/DataSync/__pycache__/DataSyncUtils.cpython-36.pyc
/usr/lib64/python3.6/site-packages/ElementsServices/DataSync/__pycache__/DataSynchronizer.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/ElementsServices/DataSync/__pycache__/DataSynchronizer.cpython-36.pyc
/usr/lib64/python3.6/site-packages/ElementsServices/DataSync/__pycache__/DataSynchronizerMaker.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/ElementsServices/DataSync/__pycache__/DataSynchronizerMaker.cpython-36.pyc
/usr/lib64/python3.6/site-packages/ElementsServices/DataSync/__pycache__/DependencyConfiguration.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/ElementsServices/DataSync/__pycache__/DependencyConfiguration.cpython-36.pyc
/usr/lib64/python3.6/site-packages/ElementsServices/DataSync/__pycache__/IrodsSynchronizer.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/ElementsServices/DataSync/__pycache__/IrodsSynchronizer.cpython-36.pyc
/usr/lib64/python3.6/site-packages/ElementsServices/DataSync/__pycache__/WebdavSynchronizer.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/ElementsServices/DataSync/__pycache__/WebdavSynchronizer.cpython-36.pyc
/usr/lib64/python3.6/site-packages/ElementsServices/DataSync/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/ElementsServices/DataSync/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/ElementsServices/__init__.py
/usr/lib64/python3.6/site-packages/ElementsServices/__pycache__
/usr/lib64/python3.6/site-packages/ElementsServices/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/ElementsServices/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/__pycache__/ELEMENTS_INSTALL.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/__pycache__/ELEMENTS_INSTALL.cpython-36.pyc
/usr/lib64/python3.6/site-packages/__pycache__/ELEMENTS_VERSION.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/__pycache__/ELEMENTS_VERSION.cpython-36.pyc
/usr/share/auxdir
/usr/share/auxdir/ElementsKernel
/usr/share/auxdir/ElementsKernel/templates
/usr/share/auxdir/ElementsKernel/templates/CMakeLists.txt.in
/usr/share/auxdir/ElementsKernel/templates/CMakeLists.txt.mod.in
/usr/share/auxdir/ElementsKernel/templates/ClassName_template.cpp.in
/usr/share/auxdir/ElementsKernel/templates/ClassName_template.h.in
/usr/share/auxdir/ElementsKernel/templates/Euclid_cpp_license.txt
/usr/share/auxdir/ElementsKernel/templates/Euclid_python_license.txt
/usr/share/auxdir/ElementsKernel/templates/Makefile.in
/usr/share/auxdir/ElementsKernel/templates/Program_template.cpp.in
/usr/share/auxdir/ElementsKernel/templates/PythonModule_template.py.in
/usr/share/auxdir/ElementsKernel/templates/PythonProgram_template.py.in
/usr/share/auxdir/ElementsKernel/templates/PythonTest_template.py.in
/usr/share/auxdir/ElementsKernel/templates/Script_template.in
/usr/share/auxdir/ElementsKernel/templates/UnitTestFile_template.cpp.in
/usr/share/auxdir/ElementsKernel/templates/doc_module.rst.in
/usr/share/auxdir/ElementsKernel/templates/doc_project.rst.in
/usr/share/auxdir/ElementsKernel/templates/editorconfig
/usr/share/auxdir/ElementsKernel/templates/gitignore_template.in
/usr/share/auxdir/ElementsKernel/templates/mainpage.dox.in
/usr/share/auxdir/ElementsKernel/tests
/usr/share/auxdir/ElementsKernel/tests/PathSearch
/usr/share/auxdir/ElementsKernel/tests/PathSearch/ElementsKernel
/usr/share/auxdir/ElementsKernel/tests/PathSearch/ElementsKernel/MockFile_in_ElementsKernel_up.conf
/usr/share/auxdir/ElementsKernel/tests/PathSearch/ElementsKernel/MockFile_replicate.conf
/usr/share/auxdir/ElementsKernel/tests/PathSearch/MockFile_up.conf
/usr/share/auxdir/ElementsKernel/tests/PathSearch/dirForTestingRecursiveSearch
/usr/share/auxdir/ElementsKernel/tests/PathSearch/dirForTestingRecursiveSearch/ElementsKernel
/usr/share/auxdir/ElementsKernel/tests/PathSearch/dirForTestingRecursiveSearch/ElementsKernel/MockFile_in_ElementsKernel_down.conf
/usr/share/auxdir/ElementsKernel/tests/PathSearch/dirForTestingRecursiveSearch/ElementsKernel/MockFile_replicate.conf
/usr/share/auxdir/ElementsKernel/tests/PathSearch/dirForTestingRecursiveSearch/MockFile_down.conf
/usr/share/conf
/usr/share/conf/ElementsServices
References
Summary
In this tutorial we learn how to install elements
on CentOS 8 using yum and dnf.