Portál AbcLinuxu, 8. května 2025 23:03
apt-get is a simple command line interface for downloading and installing packages. The most frequently used commands are update and install. Commands: update - Retrieve new lists of packages upgrade - Perform an upgrade install - Install new packages (pkg is libc6 not libc6.deb) remove - Remove packages autoremove - Remove automatically all unused packages purge - Remove packages and config files source - Download source archives build-dep - Configure build-dependencies for source packages dist-upgrade - Distribution upgrade, see apt-get(8) dselect-upgrade - Follow dselect selections clean - Erase downloaded archive files autoclean - Erase old downloaded archive files check - Verify that there are no broken dependencies markauto - Mark the given packages as automatically installed unmarkauto - Mark the given packages as manually installed
Řešení dotazu:
dpkg -l
dpkg -l | grep nazev_pozadovaneho_baliku
apt-get -s install aptitude
ale misto apt-get je lepsi pouzit
aptitude show jmeno_baliku
Ako najdem ci mam v zozname repozitories napr chcem instalovat "audacity" ? apt-get install audacity; {nech instalovat len si pozriet ci je balik najdeny} Ako vypisem zoznam nainstalovanych repositories? Je mozne pouzivat zipper na Ubuntu?
apt-get install aptitude man aptitude
apt-cache search audacity # vyhľadá či existuje apt-cache show audacity # Ukáže info apt-cache policy audacity # Ukáže jeho inštalaciu , prípadne kandidáta na inštaláciuviac
man apt-cache apt-cache --help
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.