Results 1 to 8 of 8

Thread: installing rpm packages using apt

  1. #1
    Junior Member
    Join Date
    Jan 2005
    Posts
    4

    installing rpm packages using apt

    I have looked high and low, found pieces but nothing comprehensive about installing rpm's using apt. I am familiar with rpm but not apt. I decided to install Knoppix 3.7 on my hard drive. All went well with the install and I am quite impressed thus far. There is a major, but very pleasant, difference in apt as opposed to rpm. It may be because I don't know where to go yet for apt based packages, i.e. rpmfind, so I may be looking in all the wrong places. Specifically, i have found a small application that I would like to try out but it is only in rpm format. So what I get thus far is I can use alien to convert the rpm to a deb. Then I 'THINK?' I have to alter the apt sources file for apt to include a directory on my local hard drive. Then, if I understand this correctly, I can apt-get the alien converted package(being careful to put it in my sources listed local directory) and it will find it becuse I have altered the apt config to look locally for packages. Is this normal usage for apt/knoppix. I don't see a command line option for apt-get install to tell it to look locally.
    My apologies if this is addressed in another thread, I have looked but I can't find it.

    Thanks.

  2. #2
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Just do: sudo dpkg -i packagename.deb

    BTW: What's the package?
    Can you find a .deb here: http://www.apt-get.org/

  3. #3
    Junior Member
    Join Date
    Jan 2005
    Posts
    4

    rpm install wit apt

    Thanks for the reply. The package will allow you to create an ascii flowchart . I am in a bioinformatics program which emphasizes Perl ... they want us to flowchart our programs. I have looked at Kivio but it does stupid things like refuse to line up the connectors between different size boxes, and other things, so I just decided to go simple.

    Sorry for being obtuse but I am hung up on the apt sources thing. Will the command you list read from a local directory. For example, I have downloaded the rpm into a temp directory in my home folder. The command you show wouldn't look there by default, I would have to update the apt config file to add this directory...correct? Also, I only see http and ftp type entries in the apt config file, can you add just a regular old directory?

    Sorry for my confusion....

  4. #4
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    I think you might want to read this: http://www.knoppix.net/forum/viewtopic.php?t=2638

    dpkg -i package.deb installs a single deb from the directory where you run the command, unless you specify a path like: dpkg -i /home/jsweatte/tmp/package.deb

    The apt sources.list is used to get packages over the net. If I wanted to install, say nano, I would do:
    su (to become root [which you probably knew])
    dselect update (to update my local cache on what's out there)
    apt-cache search nano (self explanatory)
    apt-cache show nano (to look at the packagedescription)
    apt-cache policy nano (to see which version I'd get from which repository)
    apt-get install nano -s (to simulate the install with the -s switch)
    apt-get install nano (to install it)

    If I wanted to get rid of it later I would do:
    apt-get remove nano (to just remove it)
    or:
    apt-get --purge remove nano (to remove all it's config files as well)

  5. #5
    Junior Member
    Join Date
    Jan 2005
    Posts
    4

    Thanks so much for your re-reply

    I'll take a look at the link. Thanks for the help. I think you've explained it clearly.
    Joel

  6. #6
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Your welcome.

    PS: If you want a GUI for package handling, apt-get install synaptic , or have a look at kpackage which is already installed.

  7. #7
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981
    You may also find this brief summary useful: http://www.knoppix.net/forum/viewtopic.php?t=14977

  8. #8
    Junior Member
    Join Date
    Jan 2005
    Posts
    4

    Thanks to everyone that responded.

    I have installed a RPM using APT from a local directory.

    I APPRECIATE THE QUICK RESPONSE AND HELPFUL GUIDANCE.

Similar Threads

  1. Selecting packages when installing
    By knithx in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 03-27-2006, 09:26 PM
  2. Installing RPM packages
    By HewJass in forum MS Windows & New to Linux
    Replies: 5
    Last Post: 01-20-2005, 04:34 AM
  3. Installing .deb packages on livecd .... :-(((((((((((
    By ktheking in forum General Support
    Replies: 0
    Last Post: 11-21-2003, 04:20 PM
  4. installing rpm packages on KNOPPIX
    By pankajgadhari in forum Customising & Remastering
    Replies: 2
    Last Post: 11-19-2003, 04:33 PM
  5. installing debian packages.
    By gtgoku in forum General Support
    Replies: 3
    Last Post: 08-07-2003, 07:02 AM

Posting Permissions

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


OEM Dell 130W HA130PM130 DA130PM130 Laptop Power Adapter Charger 4.5mm 6TTY6 XPS picture

OEM Dell 130W HA130PM130 DA130PM130 Laptop Power Adapter Charger 4.5mm 6TTY6 XPS

$26.99



OEM 130W USB-C Type-C Charger for Dell XPS 15 9500 9570 9575 17 9700 DA130PM170 picture

OEM 130W USB-C Type-C Charger for Dell XPS 15 9500 9570 9575 17 9700 DA130PM170

$35.88



Genuin OEM 65W USB C Adapter Charger For Dell 0GJJYR LA65NM170 2WDR5 2YK0F GJJYR picture

Genuin OEM 65W USB C Adapter Charger For Dell 0GJJYR LA65NM170 2WDR5 2YK0F GJJYR

$23.89



Dell OEM Original Latitude 5400 Chromebook Laptop Battery, 4-Cell 68Wh, 3HWPP picture

Dell OEM Original Latitude 5400 Chromebook Laptop Battery, 4-Cell 68Wh, 3HWPP

$43.99



OEM Dell Inspiron 11 13 14 15 17 3000 5000 7000 AC Adapter Charger 65W 4.5mm Tip picture

OEM Dell Inspiron 11 13 14 15 17 3000 5000 7000 AC Adapter Charger 65W 4.5mm Tip

$10.99



NEW OEM 45W Adapter For Dell XPS 13 9333 9343 9350 L321X L322X Charger LA45NM131 picture

NEW OEM 45W Adapter For Dell XPS 13 9333 9343 9350 L321X L322X Charger LA45NM131

$12.88



OEM DELL 65W AC Adapter Charger 7.4mm Latitude 7490 7480 E7440 E7450 E7470 E7270 picture

OEM DELL 65W AC Adapter Charger 7.4mm Latitude 7490 7480 E7440 E7450 E7470 E7270

$11.88



Dell 130w PA-4E OEM LA130PM121 DA130PE1-00 Genuine Laptop AC adapter Charger picture

Dell 130w PA-4E OEM LA130PM121 DA130PE1-00 Genuine Laptop AC adapter Charger

$10.99



OEM 65W 20V Type-C/USB-C AC Adapter For Dell Latitude 7370 7280 7480 9FNYW 24YNH picture

OEM 65W 20V Type-C/USB-C AC Adapter For Dell Latitude 7370 7280 7480 9FNYW 24YNH

$19.85



Dell OEM Inspiron 15 3510 3511 3515 15.6

Dell OEM Inspiron 15 3510 3511 3515 15.6" LCD LED WXGAHD Widescreen 78KFY

$50.00