Just do: sudo dpkg -i packagename.deb
BTW: What's the package?
Can you find a .deb here: http://www.apt-get.org/
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.
Just do: sudo dpkg -i packagename.deb
BTW: What's the package?
Can you find a .deb here: http://www.apt-get.org/
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....
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)
I'll take a look at the link. Thanks for the help. I think you've explained it clearly.
Joel
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.
You may also find this brief summary useful: http://www.knoppix.net/forum/viewtopic.php?t=14977
I have installed a RPM using APT from a local directory.
I APPRECIATE THE QUICK RESPONSE AND HELPFUL GUIDANCE.
Supermicro Server Tower Xeon BOOTS E5-2620 v4 2.10GHz 64GB RAM NO HDD NO OS
$199.99
HP ProLiant Xeon E3-1220L V2 16 GB RAM 2.30 GHz MicroServer Gen8 NO DRIVES
$174.99
HPE PROLIANT MICROSERVER GEN10 PLUS MICRO TOWER SERVER - USED
$550.00
HPE Proliant Microserver Gen10 X3421 Perf AMS, P03698-S01, 16GB Ram
$299.00
SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount
$202.49
HP ProLiant HSTNS-5151 Micro Server 8GB RAM No Drives/Key/Caddies *READ*
$94.99
HP/HPE ProLiant AMD Opteron X3216 APU 16 GB RAM MicroServer Gen 10 NO DRIVES
$299.99
Supermicro CSE-512 1U Sever Intel G550 2.60GHz 4GB w/ X9SCM Motherboard
$99.98
1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE
$297.00
2U 12 Bay SAS3 SuperMicro Server 6028U-TR4T+ W/ X10DRU-i+ Barebone 12 Caddy RAIL
$299.00