Installing .deb packages with apt-get

Dotan Cohen dotancohen at gmail.com
Wed May 16 20:04:43 UTC 2007


On 16/05/07, Cybe R. Wizard <cybe_r_wizard at earthlink.net> wrote:
> "Dotan Cohen" <dotancohen at gmail.com>  said:
> > How does one install .deb packages with apt-get? I'd like to use the
> > package manager to install so that it's database will stay compete. In
> > Fedora yum has a localinstall option that installs an .rpm package
> > with yum instead of using RPM.
> >
> sudo apt-get install <package_name>
>

Will that install a local .deb file? I've no debs at the moment to
check, but reading the apt-get man page it seems that I'd have to
specify the path to a local repo in sources.list. I'd like to know if
there's an option akin to yum's "localinstall" option.

While we're on the subject, yum lets the user know what it's going to
add/remove/update and asks for confirmation first. I see the -s option
for simulate, but I'd just like it to tell me what it's doing first
and then let me decide. Is this possible? Or do I have to do every
operation twice: once simulated, and once for real?

Dotan Cohen

http://dotancohen.com/eng/about.php
http://lyricslist.com/lyrics/artist_albums/95/bush.html




More information about the ubuntu-users mailing list