Difference between revisions of "Apt install"

From wikieduonline
Jump to navigation Jump to search
 
(35 intermediate revisions by 4 users not shown)
Line 1: Line 1:
apt install PACKAGE_NAME
+
{{lowercase}}
E: dpkg was interrupted, you must manually run '[[dpkg]] --configure -a' to correct the problem.
+
https://manpages.ubuntu.com/manpages/kinetic/man8/apt.8.html
 +
* <code>[[apt install --help]]</code>
 +
* <code>[[apt install -y]]</code>
 +
* <code>apt install [[--allow-unauthenticated]]</code>
 +
* <code>[[apt --fix-broken]]</code>
 +
* <code>[[apt install bash-completion]]</code>
 +
* <code>[[apt install docker.io]]</code>
 +
* <code>[[apt install docker.io]] -y</code>
 +
* <code>[[apt install awscli]]</code>
 +
* <code>[[apt install jq]]</code>
 +
* <code>[[apt install python3-pip]]</code>
 +
* <code>[[apt install make]]</code>
 +
* <code>[[apt install golang-go]]</code>
 +
* <code>[[apt install g++]]</code>
 +
* <code>[[apt install vim]]</code>
  
 +
* <code>[[apt-get install helm]]</code>
 +
* <code>[[apt install gitlab-ee]]=YOUR-VERSION-NUMBER</code>
  
 +
* <code>[[apt --fix-broken install]]</code>
  
  apt install [[bash-completion]]
+
  apt install PACKAGE_NAME
Reading package lists... Done
+
E: dpkg was interrupted, you must manually run '[[dpkg --configure -a]]' to correct the problem.
Building dependency tree
 
Reading state information... Done
 
bash-completion is already the newest version (1:2.8-1ubuntu1).
 
bash-completion set to manually installed.
 
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded
 
  
 +
  apt install postgresql
 +
Waiting for cache [[lock]]: Could not get lock [[/var/lib/dpkg/]]lock-frontend. It is held by process 1919 (apt)... 63s
  
[[apt install docker.io]]
 
  
 
+
  [[/etc/apt/apt.conf.d/90forceyes]]
  apt install [[--allow-unauthenticated]]
 
  
  
 
== Related commands ==
 
== Related commands ==
 
* <code>[[apt-cache search]]</code>
 
* <code>[[apt-cache search]]</code>
 +
* <code>[[apt remove]]</code>
 
* <code>[[apt purge]]</code>
 
* <code>[[apt purge]]</code>
 
* <code>[[yum install]]</code>
 
* <code>[[yum install]]</code>
* <code>[[apt --fix-broken install]]</code>
+
* <code>[[apt update]]</code>
 +
* Ansible: <code>[[package:]]</code> [[module]]
 +
* <code>[[apk add]]</code>
  
 
== See also ==
 
== See also ==
 +
* {{apt install}}
 
* {{APT}}
 
* {{APT}}
  
  
 
[[Category:Package managers]]
 
[[Category:Package managers]]

Latest revision as of 10:43, 12 December 2023

Advertising: