Jeremy C. Reed wrote: > On Mon, 11 Aug 2003, Mike Starke wrote: > > > On Mon, Aug 11, 2003 at 07:30:47AM -0700, Michael Havens wrote: > > /_HOw does apt-get work? Do you type ion what you want and then it > searches the > > /_web for said program until it finds it? > > /_ > > > > In the file /etc/apt/sources.list is a list of sites that apt uses > > to build a "database" of files available. > > > > 'apt-cache search ' will search that database to see if it > is available. > > 'apt-get install ' will install that package by first > retrieving it from > > a site in /etc/apt/sources.list. > > And "apt-get update" is used to update the database (so you can install or > upgrade to new software versions, for example). > > Also, Mike, you can learn more about it at: > http://www.debian.org/doc/manuals/reference/ch-system.en.html#s-apt > http://www.debian.org/doc/manuals/users-guide/ch-iraus.en.html#s-iarpwtagc > http://www.debian.org/doc/manuals/debian-tutorial/ch-dpkg.html#s-dpkg-apt > http://www.debian.org/doc/manuals/apt-howto/ > > Jeremy C. Reed > http://www.reedmedia.net/ > > --------------------------------------------------- > PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us > To subscribe, unsubscribe, or to change you mail settings: > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss ObArchive =========== apt will also work with dselect so you can: dpkg --get-selections > INSTALLED copy INSTALLED to a fresh Debian installed system dpkg --set-selections < INSTALLED apt-get dselect-upgrade to "clone" a running box. If you want to skip the man pages and like a GUI, try "synaptic". apt-config is nice for making sure that things like proxy and other settings can be saved/copied or checked for sanity or just to find out where things are. example: apt-config dump APT ""; APT::Architecture "i386"; APT::Build-Essential ""; APT::Build-Essential:: "build-essential"; APT::Cache-Limit "12582912"; Dir "/"; Dir::State "var/lib/apt/"; Dir::State::lists "lists/"; Dir::State::cdroms "cdroms.list"; Dir::State::userstatus "status.user"; Dir::State::status "/var/lib/dpkg/status"; Dir::Cache "var/cache/apt/"; Dir::Cache::archives "archives/"; Dir::Cache::srcpkgcache "srcpkgcache.bin"; Dir::Cache::pkgcache "pkgcache.bin"; Dir::Etc "etc/apt/"; Dir::Etc::sourcelist "sources.list"; Dir::Etc::vendorlist "vendors.list"; Dir::Etc::vendorparts "vendors.list.d"; Dir::Etc::main "apt.conf"; Dir::Etc::parts "apt.conf.d"; Dir::Etc::preferences "preferences"; Dir::Bin ""; Dir::Bin::methods "/usr/lib/apt/methods"; Dir::Bin::dpkg "/usr/bin/dpkg"; DPkg ""; DPkg::Pre-Install-Pkgs ""; DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true"; Acquire ""; Acquire::http ""; Acquire::http::Proxy "http://IPADDRESS:PORT"; Then tie it all together with something like this: apt-get update apt-get dselect-upgrade apt-get upgrade apt-get dist-upgrade apt-get clean apt-get autoclean dpkg --get-selections > /root/INSTALLED apt-config dump > APTCONFIG 2>&1 HTH. HAND. -- begin sig.txt JLF Sends... Jean L. Francois - Enterprise Linux Architect Ciber, Inc. @ FSIC - Ford Systems Integration Center "Failure is only postponed success as long as courage 'coaches' ambition. The habit of persistence is the habit of victory." end