CentOS 8

Repositories out of the box:

  • AppStream
  • BaseOS
  • extras

Working with yum

List installed packages:

$ yum list installed

Common tools/packages

To enable a graphical desktop environment:

sudo yum groupinstall gnome-desktop x11 fonts

To set up a simple web server:

sudo yum install -y httpd
# Then, modify web content in /var/www
sudo systemctl start httpd

Services

To reload Nginx:

sudo service nginx reload

Troubleshooting

“Not using ius/repomd.xml because it is older than what we have”

  • Try cleaning yum’s cache, using yum clean all