[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: apr-get local files



Steve said:
 
I know apt-get works great for installing remote files, but how could you
install a deb file you have installed on you local machine.  Looking in the
man page for apt-get I didn't see an option for installing a local file.
Thanks in advance for any help you can offer.  

Dave says: Like others have said the way to install .deb files locally on
your machine is:

dpkg -i packagename.deb

Read man dpkg (well at least some of the man page lol).  Also, as far as i'm
aware, dpkg won't look at dependencies, so be careful when installind .debs
in that manner.

In theory, (and correct me if i'm wrong guys), you could move the .debs to
/var/cache/apt/archives and then run apt-get dist-upgrade (maybe apt-get
update first???).  Anyone have an idea on doing it that way (since using apt
would look at dependencies, i'd say that'd be better than using dpkg,
especially if you are manually installing lots of files).

Dave



Reply to: