GuiSam Notebook


Adding Repositories


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


Install terminal in Atom with apm, Atom Package Manager

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


dnf config-manager --add-repo

Docker moby-engine

dnf remove "docker-*"
dnf config-manager --disable "docker-*"
grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=0"\n
firewall-cmd --permanent --zone=trusted --add-interface=docker0
firewall-cmd --permanent --zone=FedoraWorkstation --add-masquerade
dnf install moby-engine docker-compose
docker-compose version

RPM Fusion

dnf install$(rpm -E %fedora).noarch.rpm \$(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 evolution

# 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 {package-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

# List file in package
rpm -ql evolution

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