---
# System prepended metadata

title: Fedora - Remember
tags: [Remember, Linux, Fedora]

---

Fedora - Remember
===
###### tags: `Linux` `Fedora` `Remember`


### Differences Between YUM and DNF Package Managers
Both YUM (Yellowdog Updater, Modified) and DNF (Dandified YUM) borrow the RPM (Red Hat Package Manager) package format to perform package management tasks like installing, updating, and removing packages.

The onset of Fedora 18 saw the introduction of DNF as a replacement for YUM. DNF came into the picture because of transparent YUM limitations that warranted a modern and feature-rich alternative.
[Read more...](https://www.linuxshelltips.com/difference-between-dnf-and-yum/)

### Instll Apps
```bash
# Install the DNF package
yum install dnf

sudo dnf install gnome-tweaks 

# Install SublimeText
sudo rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg
sudo dnf config-manager --add-repo https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo
sudo dnf install sublime-text

# Install Visual Studio Code
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo'
sudo dnf install code

```

### yum
```bash
# Removing repositories
sudo rm /etc/yum.repos.d/repository_name

```

### dnf
```bash
# Install package
sudo dnf install package_name
sudo dnf reinstall package_name

# Uninstall package
sudo dnf remove package_name

# Update package
sudo dnf update package_name

# Update every package on the system
sudo dnf check-update
sudo dnf upgrade --refresh

# List all packages (installed and available for installation)
sudo dnf list
sudo dnf list installed

# Packages
sudo dnf search [words]        # Search
sudo dnf list package_name     # List of specific package
sudo dnf info package_name     # Package Info
 
# Repositories
sudo dnf repolist all
sudo dnf repolist
sudo dnf repolist enabled
sudo dnf repolist disabled

# Clean all the caches
sudo dnf clean all

# Enter the dnf shell
sudo dnf shell
```
