Posted On April 1, 2019

How to Remove Apps in CentOS/Redhat

kimconnect 0 comments
blog.KimConnect.com >> Linux >> How to Remove Apps in CentOS/Redhat
Check the repo directory:
[root@localhost ~]# ls /etc/yum.repos.d
CentOS-Base.repo CentOS-Sources.repo
CentOS-CR.repo CentOS-Vault.repo
CentOS-Debuginfo.repo docker-ce.repo
CentOS-fasttrack.repo download.docker.com_linux_centos_docker-ce.repo
CentOS-Media.repo
 
Test to see if such repo has been installed by RPM. If so, remove it using rpm
[root@localhost ~]# rpm -qa | grep -i download.docker.com_linux_centos_docker-ce.repo
[root@localhost ~]# rpm -e download.docker.com_linux_centos_docker-ce.repo
error: package download.docker.com_linux_centos_docker-ce.repo is not installed
 
As shown above, this download.docker.com_linux_centos_docker-ce.repo is not installed by RPM. Thus, it can be removed manually.
[root@localhost ~]# rm -f /etc/yum.repos.d/download.docker.com_linux_centos_docker-ce.repo

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

DD for Ubuntu & Windows

DD on Ubuntu admin@laptop:~$ sudo dd if='/home/admin/Downloads/CentOS-7-x86_64-Minimal-1804.iso' of=/dev/sdb [sudo] password for admin: 1855488+0 records in…

Linux: Installing Docker Community Edition on Centos 8

# Switch into Sudo mode sudo su # Disable the built-in firewall as it will…

How to Install NoVNC with x11vnc on Linux Mint 21

Objectives: Install x11vnc as the service that would allow connections to screen 0, console session…