Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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: youtube.com/watch?v=2gIqOOajdYQ&hd=1 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: wiki.documentfoundation.org/QA/HowToBibisect –  Bjoern Michaelsen Apr 24 '13 at 19:47
add comment

2 Answers

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
add comment

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 W. Apr 24 '13 at 4:39
add comment

Your Answer

 
discard

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.