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...
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
You should read it
- How to Change How Often a Mac Screen Saver Changes
- How to fix the problem of being unable to enter Terminal in Linux
- How to Change the Root Password in Linux
- How to Install and Uninstall Applications from Terminal in Ubuntu
- 6 ways to fix Windows Terminal not opening error
- How to Browse the Internet Using the Terminal in Linux
- 6 interesting terminal commands on Mac
- How to use Terminal on a Mac
- 8 best free Terminal Emulator apps for Android
- Notable changes in Windows Terminal ver 0.11
- How to manage user passwords from Terminal in Linux
- How to customize Windows Terminal application
Maybe you are interested
How to retrieve Facebook password, recover latest account
How to Easily Move All Passwords from iPhone to Android
The simplest way to get back your Roblox account when you forget your password
How to log in to Wifi Modem Router to change Wifi name and password
How to set password for application on Windows 11 computer
How to try to crack a password yourself to test its strength