Linux HOWTOs

About | Home | Search


HOWTO: alien
Description: Converts between rpm, deb, slp, and tgz distro package formats
Click here for ChangeLog
NOTE: I use GNU tar >= 1.13.25 so it's -j for .tar.bz2 files,
it's safe to assume that make, gcc, binutils, fileutils/coreutils, gawk, sed, and grep are prerequisites for almost everything


# alien 8.50
# ==========
# If you're looking for a quick way to convert an rpm to a tar.gz or tgz
# file, Slackware's bin package includes rpm2targz and rpm2tgz (one is a
# symlink to the other) that'll do that for you as an alternative to alien.
# AFAIK, they require rpm and cpio to be installed,
# Slackware has packages for both.

# Prerequisites:
# perl >= 5.004
# make
# Either alien-extra or:
# rpm
#  and
# dpkg, dpkg-dev, and debhelper packages from Debian (to convert to/from .deb files)
#  and
# bzip2 (for stampede slp)

cd
test -f installed/alien_8.50.tar.gz && mv installed/alien_8.50.tar.gz .
test ! -f alien_8.50.tar.gz &&
 wget http://kitenet.net/programs/alien/alien_8.50.tar.gz
cd /usr/local/src
test -d ./alien && rm -r ./alien
find -type d -maxdepth 1 -name "alien-*" -exec rm -r {} \;
tar xzvf ~/alien_8.50.tar.gz
mv alien alien-8.50
cd alien-8.50
chown -R root.root .
perl Makefile.PL
make
make install
cd
mkdir -p -m 0700 installed
rm -f installed/alien_*.tar.*
mv alien_8.50.tar.gz installed/

Back to the list


Last updated: Wed, 29 Apr 2020 22:04:50 -0400
Jason Englander <jason at englanders dot us>