in terms of installing a package, what is a
required package
this is a package that is needed to make the selected package work
in terms of installing a package, what is a
dependent package
the required packages of the selected package may also have required packages
what is the term for this
how are
software packages installed / uninstalled
this process is handled by a
package manager
explain the concept of
shared packages
this concept is where two different pieces of software make use of a seperate software package
notes
name 3 benefits of
shared packages
the benefits of this include:
name 2 disadvantages of
shared packages
the disadvantages of this are:
what does
package numbering
ensure
this helps ensures that a selected software package will always run with a particular version of a package
what three key peices of information could
package numbering
convey
this can convey:
what has driven the rise of
software packages and package managers
this has been driven by the fact that software is becoming even more complex and relying on many configurations and other software. this is especially the case on linux
note
it was once the case that administrators would handle all configuartions of an installation. however, as mentioned above software has become more complex in many ways
what is a
software package
this is an archive file that contains the software itself as well as information about any configurations or packages it relies on.
the software package can then be used by the corresponding package manager to install / uninstall the package
linux distributions can be based on other linux distributions
briefly describe what this means
if a distribution is based on debian for example then it will make use of the debian package file format (.deb). and use the corresponding package manger in this case Advanced Package Mangager (APT).
a distribution based on RPM for example cannot install or use debian packages
what does the accronym
APT
stand for
this stands for
Advanced Package Manager
what is
Advanced Package Tool (APT)
this is the package manger that works with debian package file types. It is used to automate the download, update and install of debian packages that are held inside a repository
what is the outcome of typing
sudo
with another command
using this grants you temporary ‘root’ (administrator) privileges, this is usually used when we need to make any changes to the system
what is the outcome of typing
apt update
on a debian based system
this downloads and updates the latests package information using the configured sources. This should be used before installing any software to ensure you will get the latest version (requires sudo)
what is the outcome of typing
apt upgrade
on a debian based system
this is used to upgrade all installed packages to the latest version (requires sudo)
what is the outcome of typing
Apt search package name
on a debian based system
this will search for the entered package
what is the outcome of typing
Apt install package name
on a debian based system
this will install the entered package (requires sudo)
what is the outcome of typing
Apt remove package name
on a debian based system
this will uninstall the entered package
what is the outcome of typing
Apt show package name
on a debian based system
this will show you information about the entered package such as:
what is a
repository
this is a place on the internet where software packages can be submitted and stored.
package mangers will access this to install or update packages
how do
package mangers know where to find repositories
on the install of a linux system the address of these are configured and stored so that they can be used by package managers
name the two ways in which you can
view the repositories source URL
this can be found by:
what is the outcome of
typing a repositories source URL into a browser
by doing this you can navigate all the repositories via the browser and view their contents