/etc/distro.repos.d
- Create mkdir /opt/tmp cd /opt/tmp-repo
- Download file centos-repos-8.1-1.1911.0.8.el8.x86_64.rpm (sesuaikan dengan “cat /etc/centos–release” atau “rpm —query centos–release“)
wget http://mirror.centos.org/centos/8/BaseOS/x86_64/os/Packages/centos-repos-8.1-1.1911.0.8.el8.x86_64.rpm - Extract file
rpm2cpio centos-repos-8.1-1.1911.0.8.el8.x86_64.rpm | cpio –extract –make-directories –verbose “*.repo” - Atau copy file hasil download ke /etc/distro.repos.d/
- sudo dnf makecache
- sudo dnf check-update
- sudo dnf update
- // or
- sudo dnf upgrade
No comments:
Post a Comment