Go Back   TechArena Community > ARENA > Guides & Tutorials
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , ,

Sponsored Links



Installing and using Alien on Ubuntu

Guides & Tutorials


Reply
 
Thread Tools Search this Thread
  #1  
Old 03-04-2009
Member
 
Join Date: Jan 2009
Posts: 1,741
Installing and using Alien on Ubuntu

Installing softwares in Ubuntu linux is so simple! Just download the .deb package file. Double-Click it and the package manager will install the software for you. As simple as installing a software in Windows Operating System, Right? But image, there are sometimes that debain package[.deb file] for some software is not available or some software that you want to use is available for other distribution of linux but not for Ubuntu, What will you do? Confused? Some would just ignore the software without even racking their brain..! But some will say "Can i convert the package for my distribution?" But some people will laugh at those thinking to convert the package. But this is possible! Really? But how? The answer is ALIEN. The name says for itself.

What is Alien?

Alien is a program that converts between the rpm, dpkg, stampede slp, and slackware tgz file formats. If you want to use a package from another distribution than the one you have installed on your system, you can use alien to convert it to your preferred package format and install it.

Despite the large version number, alien is still (and will probably always be) rather experimental software. It has been used by many people for many years, but there are still many bugs and limitations.

Install alien in Ubuntu

Code:
sudo apt-get install alien
How to convert files?

Available Options for alien

Convert the package.rpm into a package.deb

Code:
sudo alien -d package-name.rpm
-d is used for default

Convert the package.rpm into a package.deb, and install the generated package.

Code:
sudo alien -i package-name.rpm
If you want to keeps alien from changing the version number use the following command

Code:
sudo alien -k rpm-package-file.rpm
Example

Suppose we have a avg antivirus avg71lms-r30-a0782.i386.rpm file

To convert .rpm to debian

Code:
sudo alien -k avg71lms-r30-a0782.i386.rpm
Now you should be having avg71lms-r30-a0782.i386.deb file

To install .deb file

sudo dpkg -i avg71lms-r30-a0782.i386.deb

If you don’t use -k option you should see avg71lms_r30-1_i386.deb file the difference is it will add 1

I hope everything is clear enough to understand... If any problems, post here... All the best...!

NOTE : Alien should not be used to replace important system packages, like sysvinit, shared libraries, or other things that are essential for the functioning of your system. Many of these packages are set up differently by Debian and Red Hat, and packages from the different distributions cannot be used interchangably. In general, if you can’t uninstall the package without breaking your system, don’t try to replace it with an alien version. Whatever you do, will be at your OWN RISK.
Reply With Quote
  #2  
Old 03-04-2009
Member
 
Join Date: Jan 2009
Posts: 289
Re: Installing and using Alien on Ubuntu

Hey!
I’m using sudo alien -d! -d is for debian. what exactely is the difference when you use -k (keep version)? Please help guys! I don't want to screw my machine, so just want to be sure...!
Reply With Quote
  #3  
Old 03-04-2009
Member
 
Join Date: Jan 2009
Posts: 1,741
Re: Installing and using Alien on Ubuntu

Heya...!

Read this guide properly dude...! Just don't screw up your machine...! -d is for DEFAULT. and yeah -k if for preserving the same verion or you can say, "keep version".
Reply With Quote
Reply

  TechArena Community > ARENA > Guides & Tutorials


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Installing and using Alien on Ubuntu"
Thread Thread Starter Forum Replies Last Post
Tips for installing ubuntu on netbook Ubuntu Netbook Remix Calvin K Operating Systems 1 14-10-2010 06:42 PM
Getting OS X after installing ubuntu Maya Angelou Operating Systems 4 27-04-2010 12:29 PM
Installing Ubuntu on PS3 Carnie Operating Systems 5 08-03-2010 05:30 PM
Installing PHP on Ubuntu Saaz Operating Systems 3 29-07-2009 10:56 AM
Installing Ubuntu on an Eee PC Pyrotechnic Guides & Tutorials 3 17-04-2009 07:12 PM


All times are GMT +5.5. The time now is 08:00 PM.