---
# Testing With Podman - Complete Uninstall/Reinstall

**URL:** https://crunchtools.com/testing-with-podman-complete-uninstall-reinstall/
Date: 2019-03-21
Author: fatherlinux
Post Type: post
Summary: Background Sometimes it’s necessary to uninstall completely, and reinstall when testing software. This is something I have been doing with podman on RHEL 7.6 since about 6AM today πŸ™‚ I figured it was worth capturing the instructions I have developed while testing user namespaces and rootless containers. This could make your life easier too. CompleteContinue Reading "Testing With Podman – Complete Uninstall/Reinstall" β†’
Categories: Articles
Tags: Container Tools
Featured Image: https://crunchtools.com/wp-content/uploads/2018/03/About.png
---

## Background

[![](http://crunchtools.com/files/2019/03/podman-logo-source-300x77.png)](http://crunchtools.com/testing-with-podman-complete-uninstall-reinstall/podman-logo-source/)
Sometimes it's necessary to uninstall completely, and reinstall when testing software. This is something I have been doing with podman on RHEL 7.6 since about 6AM today :-) I figured it was worth capturing the instructions I have developed while testing user namespaces and rootless containers. This could make your life easier too.

## Complete Uninstall

Run the following commands:

rm -rf /etc/containers/* /var/lib/containers/* /etc/docker /etc/subuid* /etc/subgid*
yum remove buildah skopeo podman containers-common atomic-registries docker

Remember to delete any users and their associated containers storage:

`rm -rf /home/fatherlinux/.local/share/containers/`

Or:
`userdel -r fatherlinux`

## Fresh Install

Run the following commands:

`yum install podman buildah skopeo`

---

## Categories

- Articles

---

## Navigation

- [Home](https://crunchtools.com/)
- [Articles](https://crunchtools.com/category/articles/)
- [Events](https://crunchtools.com/category/events/)
- [News](https://crunchtools.com/category/news/)
- [Presentations](https://crunchtools.com/category/presentations/)
- [Software](https://crunchtools.com/software/)
- [Beaver Backup](https://crunchtools.com/software/beaver-backup/)
- [Check BGP Neighbors](https://crunchtools.com/software/check-bgp-neighbors-nagios/)
- [Chev](https://crunchtools.com/software/chev-check-vulnerabilities-script/)
- [Graph BGP Neighbors](https://crunchtools.com/software/grpah-bgp-neighbors/)
- [Graph MySQL Stats](https://crunchtools.com/software/graph-mysql-stats/)
- [Graph Sockets Pipes Files](https://crunchtools.com/software/graph-sockets-pipes-files/)
- [MCP Servers](https://crunchtools.com/software/mcp-servers/)
- [Petit](https://crunchtools.com/software/petit/)
- [Racecar](https://crunchtools.com/software/racecar/)
- [Shiva](https://crunchtools.com/software/shiva/)
- [About](https://crunchtools.com/about/)
- [Home](https://crunchtools.com)

## Tags

- Container Tools