Fedora

Adding Repositories

Atom

rpm --import https://packagecloud.io/AtomEditor/atom/gpgkey
sh -c 'echo -e "[Atom]\nname=Atom Editor\nbaseurl=https://packagecloud.io/AtomEditor/atom/el/7/\$basearch\nenabled=1\ngpgcheck=0\nrepo_gpgcheck=1\ngpgkey=https://packagecloud.io/AtomEditor/atom/gpgkey" > /etc/yum.repos.d/atom.repo'

Tip

Install terminal in Atom with apm, Atom Package Manager

apm update
apm list
apm search terminal
apm install platformio-ide-terminal

Docker

dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo

RPM Fusion

dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \
  https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

RPM Cheat Sheet

# Install package
rpm -ivh {rpm-file}
rpm -ivh --test mozilla-mail-1.7.5-17.i586.rpm

# Upgrade package
rpm -Uvh {rpm-file}  Upgrade package
rpm -Uvh --test mozilla-mail-1.7.6-12.i586.rpm

# Erase/remove/ an installed package (without checking for dependencies)
rpm -ev {package}
rpm -ev --nodeps {package}

# Display list all installed packages (recently installed)
rpm -qa
rpm -qa --last
rpm -qa | less

# Display installed information along with package version and short description
rpm -qi {package}
rpm -qi mozilla-mail

# Find out what package a file belongs to i.e. find what package owns the file
rpm -qf {/path/to/file}
rpm -qf /etc/passwd
rpm -qf /bin/bash

# Display list of configuration file(s) for a package or a command
rpm -qc {pacakge-name}
rpm -qc httpd
rpm -qcf {/path/to/file}
rpm -qcf /usr/X11R6/bin/xeyes

# Find out what dependencies a rpm file has
rpm -qpR {.rpm-file}
rpm -qpR mediawiki-1.4rc1-4.i586.rpm
rpm -qR {package}
rpm -qR bash

DNF Cheat Sheet

# Informations
dnf check-update
dnf info `package`
dnf list installed
dnf provides "/usr/bin/shellcheck"

# History
dnf history list
dnf history info 12
dnf history undo 12
dnf history redo 12