Results 1 to 4 of 4

Thread: rpm2tgz missing

  1. #1
    Just burned his ISO Neo23x0's Avatar
    Join Date
    Feb 2006
    Posts
    20

    Default rpm2tgz missing

    I can't find the rpm2tgz program which I use quite often.
    Any plans to integrate it?

  2. #2

    Default

    Although I'm not a dev, I would venture to guess that rpm2tgz wouldn't be included since debian based distros use .deb files in their package manager (apt-get) vice tgz files (such as you are familar with in slackware).

    If you want to convert rpm's to .deb files, there is a tool called alien. It isn't in BT4, but can be installed using: apt-get install alien

    Hope this helps...but again, I'm not a dev so this certainly isn't "the last word".

  3. #3
    Junior Member
    Join Date
    Nov 2008
    Posts
    46

    Default

    I'd say that alien is your best bet, and it's easy to install using apt-get/aptitude.

  4. #4
    Good friend of the forums
    Join Date
    Feb 2009
    Posts
    356

    Default

    Install alien in debian

    #apt-get install alien

    This will install all the required packages.Now you can start converting your .rpm files to .deb packages.

    Available Options for alien

    Convert the package.rpm into a package.deb

    #alien -d package-name.rpm

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

    #alien -i package-name.rpm

    If you want to keeps alien from changing the version number use the following command

    #alien -k rpm-package-file.rpm

    Example

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

    To convert .rpm to debian

    #alien -k avg71lms-r30-a0782.i386.rpm

    Now you should be having avg71lms-r30-a0782.i386.deb file

    To install .deb file

    #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

    Install alien in Ubuntu

    $sudo apt-get install alien

    You can check the above section for available options

    Example

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

    To convert .rpm to debian

    $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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •