• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/22

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

22 Cards in this Set

  • Front
  • Back

Debian and Ubuntu Package Management tools

-dpkg


-apt

APT

Advanced Packaging Tool a command which uses "apt" to interact with the operating system’s package system. (to be run with root privileges)

/etc/apt/sources.list

Controls repositories from which APT constructs its database. This file contains lines in the following format:



deb location-of-resources distribution component(s)

apt-get install (package-name(s))
Installs the package(s) specified, along with any dependencies
apt-get remove (package-name(s))
Removes the package(s) specified, but does not remove dependencies
apt-get purge (package-name(s))
Combines the functions ofremove and clean for a specific package, as well as configuration files

apt-get remove --purge (name of app/file)

This command would remove along with purging any of configuration files that may have had to do with the specified application.

apt-get update
Reads the /etc/apt/sources.list file and updates the system’s database of packages available for installation. Run this after changing sources.list.
apt-cache search (package-name(s))
If you know the name of a piece of software but apt-get install fails or points to the wrong software, this looks for other possible names.

apt-get autoremove

Command that will go through all the repos that are no longer needed. (Unnecessary files)

apt-get dist--upgrade

Command to upgrade underlining linux operating system. Within an UBUNTU or Debian based OS (Our kernel)

apt- get -f upgrade

Command that will pull all flagged dependencies and will ask for permission for installation.

which

Command that would show where the binary lives in the file nested in other files.

clear

Command that clears the screen in the terminal.

Exiting VI text editor

-esc


-shift colon (:)


-"q"


-shift "!"


-enter

wget

Is a utility to download and access http addresses.




To download to the directory you are currently in, you have to right click on the link to the download and select the 'copy link location' option, and then in a terminal, type wget and then paste the link.

dpkg

apt-get and apt-cache are merely front end programs that provide a more usable interface, and connections to repositories for the underlying package management tools called dpkg and debconf. These tools are quite powerful, and fully explaining their functionality is beyond the scope of this document.

dpkg -i (package-file-name).deb
Installs a .deb file

dpkg --get -selections

Command to see what packages are already installed.

dpkg --get -selections | grep (app/filename)

Command to search within the output inside files for something specific through the "grep" command

dpkg --remove (file/package name)

Command to remove the associating binaries but does NOT delete configuration files.

dpkg --purge (file/package name)

Command would also purge all configuration filwa that has to do anything with specified files.