---
title: "linux mint 下安装rpm包"
author: "tycomputer"
date: "2012-05-15T17:26:07Z"
tags: []
categories: ["操作系统"]
slug: "linux-mint-rpm"
draft: false
lastmod: "2012-05-15T17:26:07Z"
id: 1530913
url: "https://tycomputer.iteye.com/blog/1530913"
---

linux mint  的软件包格式是deb，如果要安装rpm的包，则要先用alien把rpm转换成deb。

sudo apt-get install alien #alien默认没有安装，所以首先要安装它
sudo alien xxxx.rpm #将rpm转换位deb，完成后会生成一个同名的xxxx.deb
sudo dpkg -i xxxx.deb #安装