How to Convert Package Files in Ubuntu Using Alien
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 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
May be interested
- How to Change Your Computer Name in Ubuntuif you ever wished to change your computer name, here is how to do it. many people think that this is possible only if you do reinstall the operating system, but this is not true. there are few commands to make job done. just follow the...
- How to Edit Ubuntu Repositorieshas a website told you to add a ubuntu repository? then follow these steps. any changes require you to be in the 'sudo' user group and have your password handy. open the ubuntu software centre.
- How to Install Ubuntu in Windowsthis wikihow teaches you how to install and run ubuntu linux on your windows computer's desktop. you'll use a free program called virtualbox to do so; this will allow you to run ubuntu without having to replace your current operating...
- How to Set Up vsftpd FTP on Ubuntu Linuxthis tutorial will show you how to set up your own ftp in ubuntu linux. with it, you can make your own file storage server, file storage website, or use as an ftp client. install vsftpd .
- How to Migrate from Windows to Ubuntuwhen migrating from windows to ubuntu, there are a few things you might need to reflect over, like how to cope the new system, the new interface, and how to adapt to ubuntu in general, and of course, how to transfer your personal files...
- How to Install Themes in Ubuntuthis wikihow teaches you how to install themes on ubuntu 18.04 lts. many themes from ubuntu's software repositories can be installed in a terminal window. some themes must be manually extracted using archive manager. to apply installed...