apt-get

apt-get on ohjelmien asennus- ja päivitysohjelma Linuxille.

Hae ensin apt-get RPM-paketti osoitteesta: http://freshrpms.net/apt/ , http://apt.freshrpms.net/ ja asenna se roottina koneellesi (tallenna netistä paketti esim. /tmp/imut -kansioon, jos olet sellaisen luonut, napsauta paketin päällä hiiren kakkosella ja valitse install).

Edelleen roottina Terminaalissa päivitä itse apt-get -ohjelma konennolla:
apt-get update

Sen jälkeen voit hakea ohjelmapaketteja komennolla:
apt-get install paketinnimi   (esim. xine, xinvaders tai kpackman)

Koko käyttiksen päivität komennolla:
apt-get dist-upgrade

Ai niin muistithan, että apt-getia käyttäessä pitää yhteydet maailmalle olla auki: verkko, modeemi tms.



Seuraavassa sama englanniksi:


apt-get's commands are very easy and intuitive.

Its commands follow this structure:

    # apt-get [options] command
    
    # apt-get [options] install package [package ...]

The command line may be a variation of the following basic types:

apt-get update

Updates apt-get's local database with server's pkglist's files.

apt-get check

verifies system's integrity using apt

apt-get install some-package

installs some new package, automatically resolving and downloading dependent packages

apt-get upgrade

checks for outdated packages in the system and automatically upgrades them

apt-get dist-upgrade

same as apt-get upgrade, but installs all base packages and tries to upgrade everything, installing new packages if needed

apt-get remove some-package

removes the some-package package and all other packages that depends on it

apt-get clean

removes the downloaded packages from the cache directory (/var/cache/apt/archives/), freeing some disk space at your system ;-)


http://bazar.conectiva.com.br/~godoy/apt-howto/index.html



options

The following options to apt-get may be useful:

     -h  This help text.
     -d  Download only - do NOT install or unpack archives
     -f  Attempt to continue if the integrity check fails
     -s  No-act. Perform ordering simulation
     -y  Assume Yes to all queries and do not prompt
     -u  Show a list of upgraded packages as well

Multiple packages may be selected for installation in one line. Files downloaded from the network are placed in the directory /var/cache/apt/archives for later installation.

http://www.debian.org/doc/manuals/apt-howto/index.en.html