How To Install artifacts on Fedora 34

artifacts is Collection of digital forensic artifacts

Introduction

In this tutorial we learn how to install artifacts on Fedora 34.

What is artifacts

A free, community-sourced, machine-readable knowledge base of digital forensic artifacts that the world can use both as an information source and within other tools. If you’d like to use the artifacts in your own tools, all you need to be able to do is read YAML. That is it, no other dependencies. The Python code in this project is just used to validate all the artifacts to make sure they follow the specification.

We can use yum or dnf to install artifacts on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install artifacts.

Install artifacts on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install artifacts

Install artifacts on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install artifacts

How To Uninstall artifacts on Fedora 34

To uninstall only the artifacts package we can use the following command:

sudo dnf remove artifacts

artifacts Package Contents on Fedora 34

/usr/bin/stats.py
/usr/bin/validator.py
/usr/lib/python3.9/site-packages/artifacts
/usr/lib/python3.9/site-packages/artifacts-20201106-py3.9.egg-info
/usr/lib/python3.9/site-packages/artifacts-20201106-py3.9.egg-info/PKG-INFO
/usr/lib/python3.9/site-packages/artifacts-20201106-py3.9.egg-info/SOURCES.txt
/usr/lib/python3.9/site-packages/artifacts-20201106-py3.9.egg-info/dependency_links.txt
/usr/lib/python3.9/site-packages/artifacts-20201106-py3.9.egg-info/top_level.txt
/usr/lib/python3.9/site-packages/artifacts/__init__.py
/usr/lib/python3.9/site-packages/artifacts/__pycache__
/usr/lib/python3.9/site-packages/artifacts/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/artifacts/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/artifacts/__pycache__/artifact.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/artifacts/__pycache__/artifact.cpython-39.pyc
/usr/lib/python3.9/site-packages/artifacts/__pycache__/definitions.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/artifacts/__pycache__/definitions.cpython-39.pyc
/usr/lib/python3.9/site-packages/artifacts/__pycache__/errors.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/artifacts/__pycache__/errors.cpython-39.pyc
/usr/lib/python3.9/site-packages/artifacts/__pycache__/reader.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/artifacts/__pycache__/reader.cpython-39.pyc
/usr/lib/python3.9/site-packages/artifacts/__pycache__/registry.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/artifacts/__pycache__/registry.cpython-39.pyc
/usr/lib/python3.9/site-packages/artifacts/__pycache__/source_type.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/artifacts/__pycache__/source_type.cpython-39.pyc
/usr/lib/python3.9/site-packages/artifacts/__pycache__/writer.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/artifacts/__pycache__/writer.cpython-39.pyc
/usr/lib/python3.9/site-packages/artifacts/artifact.py
/usr/lib/python3.9/site-packages/artifacts/definitions.py
/usr/lib/python3.9/site-packages/artifacts/errors.py
/usr/lib/python3.9/site-packages/artifacts/reader.py
/usr/lib/python3.9/site-packages/artifacts/registry.py
/usr/lib/python3.9/site-packages/artifacts/source_type.py
/usr/lib/python3.9/site-packages/artifacts/writer.py
/usr/share/artifacts
/usr/share/artifacts/antivirus.yaml
/usr/share/artifacts/applications.yaml
/usr/share/artifacts/cloud_services.yaml
/usr/share/artifacts/config_files.yaml
/usr/share/artifacts/docker.yaml
/usr/share/artifacts/hadoop.yaml
/usr/share/artifacts/installed_modules.yaml
/usr/share/artifacts/instant_messaging.yaml
/usr/share/artifacts/java.yaml
/usr/share/artifacts/kaspersky_careto.yaml
/usr/share/artifacts/legacy.yaml
/usr/share/artifacts/linux.yaml
/usr/share/artifacts/linux_proc.yaml
/usr/share/artifacts/macos.yaml
/usr/share/artifacts/ntfs.yaml
/usr/share/artifacts/tomcat.yaml
/usr/share/artifacts/unix_common.yaml
/usr/share/artifacts/webbrowser.yaml
/usr/share/artifacts/webservers.yaml
/usr/share/artifacts/windows.yaml
/usr/share/artifacts/windows_dll_hijacking.yaml
/usr/share/artifacts/wmi.yaml
/usr/share/doc/artifacts
/usr/share/doc/artifacts/ACKNOWLEDGEMENTS
/usr/share/doc/artifacts/AUTHORS
/usr/share/doc/artifacts/README
/usr/share/licenses/artifacts
/usr/share/licenses/artifacts/LICENSE

References

Summary

In this tutorial we learn how to install artifacts on Fedora 34 using yum and dnf.