How to Convert Package Files in Ubuntu Using Alien
If you want to install packages that you cannot directly install to your Ubuntu system, you should use the Alien Package Converter application. This program converts between the rpm, dpkg or TGZ file formats. You can take package from...
Table of Contents
Method 1 of 3:
Install Alien Package Converter
-
Type the following command to the Terminal (press Ctrl+Alt+T on your keyboard) or use copy/paste method to update your system first: sudo apt-get update (then hit Enter) -
When it asks you for password, don't be confused. The password is that one, which you're using in the Login Screen. Password does not show up in the terminal when you type it. Just type your password and hit Enter. If your password was entered correctly, the action will continue. -
To install Alien application to your Ubuntu operating system, you need to type following command to the Terminal (press Ctrl+Alt+T on your keyboard) or use copy/paste method: sudo apt-get install alien (then hit Enter) -
When it asks you for password, don't be confused. The password is that one, which you're using in the Login Screen. Password does not show up in the terminal when you type it. Just type your password and hit Enter. If it asks you do you want to continue, type 'Y' to your Terminal and then hit Enter.
Method 2 of 3:
Convert Desired Files
-
For example, if you want to convert .rpm file, download the package to your Desktop. Now, you can convert the .rpm to a .deb by using the Terminal (press Ctrl+Alt+T on your keyboard) or use copy/paste method: cd ~/Desktop (then hit Enter)- This command will change the directory to your desktop, where you have the .rpm file.
-
Type following command to the Terminal (press Ctrl+Alt+T on your keyboard) or use copy/paste method: sudo alien -k apacheds-2.0.0-M11-i386.rpm (then hit Enter)- To use command like is: sudo alien -k name.rpm (which will convert your .rpm package to .deb package) you need to replace 'name' with the name of your desired package. My is: apacheds-2.0.0-M11-i386.rpm.
-
When it asks you for password, don't be confused. The password is that one, which you're using in the Login Screen. Password does not show up in the terminal when you type it. Just type your password and hit Enter. If your password was entered correctly, the action will continue.
Method 3 of 3:
Finishing
-
Now, on your Desktop screen you should see that you have converted .rpm to .deb package file. -
You can install your package using this command in Terminal: sudo dpkg -i name.deb (replace 'name' with the name of your desired package) or by using Ubuntu Software Center. - Read the Alien mainpage for more details. How to convert other kinds of packages.
4.1 ★ | 9 Vote
Read More
- How to Create DEB Packages for Debian and Ubuntu
- How to fix broken packages in Ubuntu
- Convert CAD files to PDF
- Install and configure Apache in Ubuntu
- How to convert MP4 files to MP3
- how to convert a JPG file to PDF with just one operation
- How to Install HandBrake on Ubuntu 14.04
- Convert PDF to Word, convert PDF files for free
- What's New in Ubuntu 21.10?
- Instructions on how to encrypt files and folders on Ubuntu
- Discovering 'alien antenna' on the Moon?
- Everything you need to know about using Nala on Ubuntu
- Alien AI Could Turn Advanced Civilizations Invisible in the Blink of an Eye
- How to install DEB file in Ubuntu