Skip to content

Instantly share code, notes, and snippets.

@ederrafo
Last active November 18, 2016 19:07
Show Gist options
  • Save ederrafo/ca9429b76dba15a2f4fe7b2514871464 to your computer and use it in GitHub Desktop.
Save ederrafo/ca9429b76dba15a2f4fe7b2514871464 to your computer and use it in GitHub Desktop.
this gist should help you transfer your knowledge to working with yum on Fedora/RHEL/CentOS/etc. fedora, centOS, redhat
==== REPOSITORIES ====
In Fedora - su nano /etc/yum.repos.d
To check your hostname run:
$ hostname
$ hostname -f
The first command should show your short hostname,
and the second should show your fully qualified domain name (FQDN).
Update your system
$ sudo yum update
$ yum info search mysql-server
$ yum info policy mysql-server
$ yum search mysql
$ yum remove <library>
* apt-get purge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment