Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to install the daily current build of LibreOffice in Ubuntu but they only make it available in .rpms.

I know I'm supposed to use Alien to convet .rpms to .debs but I can't find a command to batch convert all of them in the RPMS folder in my Ubuntu 12.04. (There's dozens)

I know there's a command to batch install .debs, but I'm looking for a similar one to convert .rpms.

Does anybody know a command that would allow me to do that?

Thank you!

share|improve this question
Note it is not that hard to compile LibreOffice yourself: and it then actually uses your system and is not build against some ancient baseline from years ago (e.g. not having a recent glib, and thus no unity integration). Also note that there is a binary repo with > 250 Ubuntu Libreoffice builds available for regression hunting: – Bjoern Michaelsen Apr 24 '13 at 19:47

To convert a .rpm file to .deb format,

open the Terminal from CTRL +ALT +T

sudo apt-get install alien
sudo apt-get update

After that, go to the directory where you have saved the .rpm file. To head over to the desired directory, type the command “cd directory name”. Once you are directed to the appropriate directory, enter the command:

Copy the following code to convert .rpm to .deb format.

sudo alien -k filename.rpm

Open the .deb file with ubuntu software centre.

To Convert a .deb file to .rpm

Type the following into the terminal.

sudo alien -r FILE_NAME.deb
NEW_FILE_NAME.noarch.rpm generated 
share|improve this answer

alien walkthrough, Alien How To Hope it help.

share|improve this answer
Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – Thomas Ward Apr 24 '13 at 4:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.