http://www.perlmonks.org?node_id=569346

lax has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: OT: how to install rpm file in debian
by davorg (Chancellor) on Aug 25, 2006 at 10:02 UTC

    Firstly, as others have said, your question is completely off-topic for this site.

    Secondly, whilst it's possible to install rpms on Debian, that's not Debian's native packaging mechanism. Debian uses .deb files and apt. You would make your life much easier if you looked for a Debian .deb version of vsftpd. And there seems to be one available from the Debian web site.

    --
    <http://dave.org.uk>

    "The first rule of Perl club is you do not talk about Perl club."
    -- Chip Salzenberg

Re: how to install rpm file in debian
by marto (Cardinal) on Aug 24, 2006 at 12:42 UTC
Re: how to install rpm file in debian
by blue_cowdawg (Monsignor) on Aug 24, 2006 at 14:17 UTC
        how to install rpm file in debian.i downloaded vsftpd.rpm to install ftp server

    This really isn't a Perl related question.. now isn't it?

        It would be nice if you monks could help me in this matter

    Nice and appropriate are often two different things. Why don't you try joining the Linux mailing list (one of many) over on Yahoo Groups or post to one of the Linux related newsgroups. I'm sure you'll find someone to help you there.


    Peter L. Berghold -- Unix Professional
    Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg
Re: not-OT: how to install rpm file in debian
by idsfa (Vicar) on Aug 25, 2006 at 07:03 UTC

    Use the perl script alien, which can convert various non-debian packages to debian format. Oh, okay, it can also convert .debs to lesser formats as well.

    # alien some_stupid_package.rpm

    The intelligent reader will judge for himself. Without examining the facts fully and fairly, there is no way of knowing whether vox populi is really vox dei, or merely vox asinorum. — Cyrus H. Gordon
Re: how to install rpm file in debian
by mk. (Friar) on Aug 24, 2006 at 14:08 UTC
    it's been ages since i last installed .rpm's, i think you should try rpm -ivh package.rpm. but, since you're running debian, why don't you try apt-get install vsftp?!
    besides, this is not really the best place to post this kind of question, since it's in no way related to \uperl.


    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    "one who asks a question is a fool for five minutes; one who does not ask a question remains a fool forever."

    mk at rio dot pm dot org
Re: how to install rpm file in debian
by xorl (Deacon) on Aug 24, 2006 at 15:39 UTC
    It is my understanding that debian doesn't use rpm (it's only for Red Hat/Fedora and their ilk). See the note here http://packages.debian.org/stable/admin/rpm and here http://www.debian.org/doc/manuals/distribute-deb/distribute-deb.html I'm sure there is a .deb package for vsftp so this is what I'd do if I were you ...
    #! /usr/bin/perl use strict; use warnings; system("apt-get install vsftp"); # Note I don't actually know if this +is the correct syntax for apt-get as I usually use the evil RHEL
    Personally I don't understand why you want perl to do the install for you. Could you provide some more info on what you're trying to do? It would be alot easier just to type the command on the CLI.