You can install packages for other linux systems on Ubuntu using the Alien program. This program converts rpm, dpkg or TGZ packages. Using Alien, you can convert the package to your preferred format and install it.
Steps
Method 1 of 3: Installing Alien

Step 1. Type the command sudo apt-get update (or use copy-paste) in the Terminal (called by the combination Ctrl + Alt + T), press Enter

Step 2. If the system asks for a password, do not get lost
Enter the one you use to log in. The password is not shown in the terminal when typing. Just enter your password and hit Enter. If the password is entered correctly, the list of repositories and packages will be updated.

Step 3. To install Alien, enter the following command in the terminal
sudo apt-get install alien (then press Enter).

Step 4. If the system asks for a password, do not get lost
Enter the one you use to log in. The password is not shown in the terminal when typing. Just enter your password and hit Enter. If the system asks for confirmation, enter 'Y' in the terminal and press Enter.
Method 2 of 3: Convert the files you want

Step 1. For example, you want to convert an.rpm file, download it to your desktop
Using the terminal (Ctrl + Alt + T), enter the following command: cd ~ / Desktop (press Enter).
This command will change the working folder to the desktop folder where the.rpm file is located

Step 2. Enter the following command in the terminal
sudo alien -k apacheds-2.0.0-M11-i386.rpm (press Enter).
The command syntax is: sudo alien -k file.rpm (this command converts to.deb format), replace the word 'file' with the name of the package to convert. In this case: apacheds-2.0.0-M11-i386.rpm

Step 3. If the system asks for a password, do not get lost
Enter the one you use to log in. The password is not shown in the terminal when typing. Just enter your password and hit Enter. If the password is entered correctly, the requested actions will be performed.
Method 3 of 3: Completion

Step 1. The converted package should now be on your desktop

Step 2. You can install this package with the following command in the terminal
sudo dpkg -i.deb file (replace 'file' with the package name), or using the Ubuntu Software Center. Step 3. Read the Alien manual for details.
For example, to convert other types of packages.