http://linux.die.net/man/1/alien
Convert or install an alien binary package
alien(1) - Linux man page
NAME
alien - Convert or install an alien binary package
SYNOPSIS
alien [--to-deb] [--to-rpm] [--to-tgz] [--to-slp] [options] file [...]
DESCRIPTION
alien is a program that converts between Redhat rpm, Debian deb, Stampede slp, Slackware tgz, and Solaris pkg file formats. If you want to use a package from another linux 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. It also supports LSB packages.
WARNING
Despite the high version number, alien is still (and will probably always be) rather experimental software. It's been under development for many years now, but there are still many bugs and limitations.
Alien should not be used to replace important system packages, like init, libc, or other things that are essential for the functioning of your system. Many of these packages are set up differently by the different distributions, and packages from the different distributions cannot be used interchangeably. In general, if you can't remove a package without breaking your system, don't try to replace it with an alien version.
PACKAGE FORMAT NOTES
rpm
For converting to and from rpm format the Red Hat Package Manager must be installed.
lsb
To convert from lsb packages, the Red Hat Package Manager must be installed. Unlike the other package formats, alien can handle the depenendencies of lsb packages if the destination package format supports dependencies. Note that this means that the package generated from a lsb package will depend on a package named "lsb" -- your distribution should provide a package by that name, if it is lsb compliant. The scripts in the lsb package will be converted by default as well.
To generate lsb packages, the Red Hat Package Manager must be installed, and alien will use by preference a program named lsb-rpm, if it exists. No guarantees are made that the generated lsb packages will be fully LSB compliant, and it's rather unlikely they will unless you build them in the lsbdev environment.
deb
For converting to (but not from) deb format, the gcc, make, debmake, dpkg-dev, and dpkg packages must be installed.
tgz
Note that when converting from the tgz format, alien will simply generate an output package that has the same files in it as are in the tgz file. This only works well if the tgz file has precompiled binaries in it in a standard linux directory tree. Do NOT run alien on tar files with source code in them, unless you want this source code to be installed in your root directory when you install the package!
pkg
To manipulate packages in the Solaris pkg format (which is really the SV datastream package format), you will need the Solaris pkginfo and pkgtrans tools.
OPTIONS
Alien will convert all the files you pass into it into all the output types you specify. If no output type is specified, it defaults to converting to deb format.
file [...]
The list of package files to convert.
-d, --to-deb
Make debian packages. This is the default.
-r, --to-rpm
Make rpm packages.
-t, --to-tgz
Make tgz packages.
--to-slp
Make slp packages.
-p, --to-pkg
Make Solaris pkg packages.
-i, --install
Automatically install each generated package, and remove the package file after it has been installed.
-g, --generate
Generate a temporary directory suitable for building a package from, but do not actually create the package. This is useful if you want to move files around in the package before building it. The package can be built from this temporary directory by running "debian/rules binary", if you were creating a Debian package, or by running "rpm -bb
-s, --single
Like -g, but do not generate the packagename.orig directory. This is only useful when you are very low on disk space and are generating a debian package.
--patch=patch
Specify the patch to be used instead of automatically looking the patch up in /var/lib/alien. This has no effect unless a debian package is being built.
--nopatch
Do not use any patch files.
--description=desc
Specifiy a description for the package. This only has an effect when converting from the tgz package format, which lacks descriptions.
-c, --scripts
Try to convert the scripts that are meant to be run when the package is installed and removed. Use this with caution, becuase these scripts might be designed to work on a system unlike your own, and could cause problems. It is recommended that you examine the scripts by hand and check to see what they do before using this option.
This is enabled by default when converting from lsb packages.
-T, --test
Test the generated packages. Currently this is only supported for debian packages, which, if lintian is installed, will be tested with lintian and lintian's output displayed.
-k, --keep-version
By default, alien adds one to the minor version number of each package it converts. If this option is given, alien will not do this.
--fixperms
Sanitize all file owners and permissions when building a deb. This may be useful if the original package is a mess. On the other hand, it may break some things to mess with their permissions and owners to the degree this does, so it defaults to off. This can only be used when converting to debian packages.
-h, --help
Display a short usage summary.
EXAMPLES
Here are some examples of the use of alien:
alien --to-deb package.rpm
Convert the package.rpm into a package.deb
alien --to-rpm package.deb
Convert the package.deb into a package.rpm
alien -i package.rpm
Convert the package.rpm into a package.deb (converting to a .deb package is default, so you need not specify --to-deb), and install the generated package.
alien --to-deb --to-rpm --to-tgz --to-slp foo.deb bar.rpm baz.tgz
Creates 9 new packages. When it is done, foo bar and baz are available in all 4 package formats.
ENVIRONMENT
Alien recognizes the following environemnt variables:
RPMBUILDOPT
Options to pass to rpm when it is building a package.
RPMINSTALLOPT
Options to pass to rpm when it is installing a package.
EMAIL
If set, alien assumes this is your email address. Email addresses are included in generated debian packages.
NOTES
When using alien to convert a tgz package, all files in /etc in are assumed to be configuration files.
If alien is not run as root, the files in the generated package will have incorrect owners and permissions.
AUTHOR
Alien was written by Christoph Lameter,
deb to rpm conversion code was taken from the Martian program by Randolph Chung,
The Solaris pkg code was written by Mark A. Hershberger
Alien has been extensively rewritten (3 times) and is now maintained by Joey Hess,
COPYRIGHT
Alien may be copied amd modified under the terms of the GNU General Public License.
Linux Ubuntu - Alient : to Debian from rpm, tar.gz etc.
Subscribe to:
Posts (Atom)
DepositFiles
Blog Archive
-
►
2020
(3)
- ► 11/29 - 12/06 (3)
-
►
2019
(4)
- ► 09/08 - 09/15 (1)
- ► 09/01 - 09/08 (2)
- ► 01/13 - 01/20 (1)
-
►
2017
(1)
- ► 01/22 - 01/29 (1)
-
►
2016
(3)
- ► 08/28 - 09/04 (3)
-
►
2015
(2)
- ► 01/18 - 01/25 (2)
-
►
2014
(1)
- ► 08/17 - 08/24 (1)
-
►
2012
(2)
- ► 02/19 - 02/26 (1)
- ► 02/05 - 02/12 (1)
-
►
2011
(9)
- ► 08/07 - 08/14 (1)
- ► 06/19 - 06/26 (2)
- ► 05/15 - 05/22 (2)
- ► 05/08 - 05/15 (1)
- ► 02/27 - 03/06 (1)
- ► 02/20 - 02/27 (1)
- ► 01/02 - 01/09 (1)
-
►
2010
(9)
- ► 12/19 - 12/26 (1)
- ► 03/21 - 03/28 (1)
- ► 02/14 - 02/21 (1)
- ► 01/24 - 01/31 (4)
- ► 01/10 - 01/17 (1)
- ► 01/03 - 01/10 (1)
-
►
2009
(5)
- ► 04/19 - 04/26 (1)
- ► 03/22 - 03/29 (1)
- ► 02/01 - 02/08 (1)
- ► 01/18 - 01/25 (2)
-
►
2008
(59)
- ► 11/30 - 12/07 (2)
- ► 11/09 - 11/16 (2)
- ► 08/24 - 08/31 (1)
- ► 07/20 - 07/27 (1)
- ► 05/11 - 05/18 (1)
- ► 03/16 - 03/23 (1)
- ► 02/24 - 03/02 (10)
- ► 02/17 - 02/24 (4)
- ► 02/10 - 02/17 (23)
- ► 02/03 - 02/10 (3)
- ► 01/27 - 02/03 (6)
- ► 01/20 - 01/27 (4)
- ► 01/13 - 01/20 (1)
-
▼
2007
(27)
- ► 12/30 - 01/06 (1)
- ► 12/23 - 12/30 (3)
- ► 12/16 - 12/23 (1)
- ► 12/02 - 12/09 (9)
- ► 11/18 - 11/25 (2)
- ► 11/11 - 11/18 (2)
- ► 09/30 - 10/07 (4)
- ► 01/28 - 02/04 (4)
-
►
2005
(1)
- ► 07/31 - 08/07 (1)
www.easyhits4u.com
EasyHits4U.com - Your Free Traffic Exchange - 1:1 Exchange Ratio, 5-Tier Referral Program. FREE Advertising!