> For the complete documentation index, see [llms.txt](https://hezhiqiang.gitbook.io/linux/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hezhiqiang.gitbook.io/linux/ming-ling/rpmdb.md).

# rpmdb

初始化和重建RPM数据库

## 补充说明

**rpmdb命令** 用于初始化和重建rpm数据库。

### 语法

```
rpmdb(选项)
```

### 选项

```
--initdb：初始化RPM数据库；
--rebuilddb：从已安装的包头文件，反向重建RPM数据库。
```
