How To Install Apg On Debian, Ubuntu, Alpine, Kali, Fedora And Raspbian?

How To Install Apg On Debian, Ubuntu, Alpine, Kali, Fedora And Raspbian?

apg

Creates arbitrarily complex random passwords.

Maintainer: Marc Haber



Section: admin

Install apg

  • Debian apt-get install apg Click to copy
  • Ubuntu apt-get install apg Click to copy
  • Alpine OS apk add apg Click to copy
  • Kali Linux apt-get install apg Click to copy
  • Fedora dnf install apg Click to copy
  • Raspbian apt-get install apg Click to copy

Creates arbitrarily complex random passwords.

How to use apg?

Below are few example commands for apg that you can use in the terminal.

Create random passwords (default password length is 8):
apgClick to copy
Create a password with at least 1 symbol (S), 1 number (N), 1 uppercase (C), 1 lowercase (L):
apg -M SNCLClick to copy
Create a password with 16 characters:
apg -m 16Click to copy
Create a password with maximum length of 16:
apg -x 16Click to copy
Create a password that doesn't appear in a dictionary (the dictionary file has to be provided):
apg -r dictionary_fileClick to copy
Installation of latest apg command is available for Debian, Ubuntu, Alpine, Kali, Fedora and Raspbian. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2024 latest package from the repository and install it in your computer/server.