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

Re: apt-get ou aptitude?



aptitude syntax

apt-get/apt-cache syntax

description

aptitude update

apt-get update

update package archive metadata

aptitude install foo

apt-get install foo

install candidate version of "foo" package with its dependencies

aptitude safe-upgrade

apt-get upgrade

install candidate version of installed packages without removing any other packages

aptitude full-upgrade

apt-get dist-upgrade

install candidate version of installed packages while removing other packages if needed

aptitude remove foo

apt-get remove foo

remove "foo" package while leaving its configuration files

N/A

apt-get autoremove

remove auto-installed packages which are no longer required

aptitude purge foo

apt-get purge foo

purge "foo" package with its configuration files

aptitude clean

apt-get clean

clear out the local repository of retrieved package files completely

aptitude autoclean

apt-get autoclean

clear out the local repository of retrieved package files for outdated packages

aptitude show foo

apt-cache show foo

display detailed information about "foo" package

aptitude search <regex>

apt-cache search <regex>

search packages which match <regex>

aptitude why <regex>

N/A

explain the reason why <regex> matching packages should be installed

aptitude why-not <regex>

N/A

explain the reason why <regex> matching packages can not be installed


http://www.debian.org/doc/manuals/debianreference/ch02.en.html#_basic_package_management_operations



Em 18-10-2013 08:53, Gunther Furtado escreveu:
Em 17.10.2013, quinta, Luiz L. Marins disse:

Uso aptitude apenas para localizar os arquivos, pois ele informa se
está instalado, e o apt-get não. Fora isto, só apt-get mesmo .. o
aptitude mexe demais em coisas que não queremos que mexa, pois se
desinstalarmos algo, ele quer instalar novamente; é um terror.
Eu instalo e atualizo com aptitude, e expurgo com apt-get. A minha
curiosidade é: existe algum comando do apt-get que faça o mesmo que o
aptitude safe-upgrade?

abs.,


Em 17-10-2013 19:52, Tobias Sette escreveu:
Comumente dizem que o aptitude veio para substituir o apt-get, que 
este último é inferior; mas no último guia de dist upgrade do
debian é recomendado utilizar apt-get. Alguém sabe explicar?

Att,

Tobias
http://gnu.eti.br

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/CM/G/H/IT/L/SS d?(--) s++:+ a-- C+++>++++ UL++>++++ P+
L+++>+++++ !E@ W+++
!N o? K- w !O !M@ !V@ PS PE-- !Y@ PGP t+ 5? X? R+ !tv b+ DI>+ !D@ G
e- h+ r-- y?
------END GEEK CODE BLOCK------



Em 17 de outubro de 2013 14:48, Fred Maranhão
<fred.maranhao@gmail.com <mailto:fred.maranhao@gmail.com>> escreveu:

    o aptitude search é extremamente poderoso, mas a sintaxe é meio
    pesada.

    RTFM:
    http://algebraicthunk.net/~dburrows/projects/aptitude/doc/en/ch02s03.html
    <http://algebraicthunk.net/%7Edburrows/projects/aptitude/doc/en/ch02s03.html>

    logo aqui
    http://algebraicthunk.net/~dburrows/projects/aptitude/doc/en/ch02s03s01.html
    <http://algebraicthunk.net/%7Edburrows/projects/aptitude/doc/en/ch02s03s01.html>
    já fala dos parâmetros ?name e ?description, que acho que são o
que você quer saber.


    --
    To UNSUBSCRIBE, email to
    debian-user-portuguese-REQUEST@lists.debian.org
    <mailto:debian-user-portuguese-REQUEST@lists.debian.org>
    with a subject of "unsubscribe". Trouble? Contact
    listmaster@lists.debian.org <mailto:listmaster@lists.debian.org>
    Archive:
    [🔎] CAPr829mzqCBUU_7DB+ccHTkbA7P74UN4H56KkEYAVCeaP285yg@mail.gmail.com">http://lists.debian.org/[🔎] CAPr829mzqCBUU_7DB+ccHTkbA7P74UN4H56KkEYAVCeaP285yg@mail.gmail.com



      



Reply to: