Hello welcome to this tutorial on Biden's package management system.
Before discussing about pip let us first understand what a package manager does.
A package manager is a system level application that allows us to update the current programs and install
new programs all in one place and package managers are used to automate the process of installing upgrading
configuring and removing programs.
There are many package managers available today for Unix and Unix based systems as well as windows based
systems and these are some of the examples of package managers.
The Debian package management system Red Hat package manager Pacman package manager nixed packages package
managers deal with packages and what does a package a package is a collection of individual files and
information about those files and these packages provide a certain functionality as part of a larger
system so here you have a package manager that is available in your system and you request the package
manager to download a package from a certain or unknown location.
Then the package manager then finds the requested package from a known location and downloads it.
The package manager then installs the package in your system so you tell the package manager to install
a software package and it will automatically download the appropriate package from it on free good location
installs it and set it up.
So where did all these packages available the packages available online at well-defined location and
they serve as a central distribution point for the packages.
And these locations where these packages are available are called Software repositories.
These software repositories are also called sources or feed and every package manager has associated
configuration files that bind to the repository locations.
Now coming to the Python language package managers are also used for installing and managing modules
for languages such as Python Ruby etc..
B A B which is a recursive acronym for Pip installs packages is a package management system that is
used to install and manage software packages written in Python and most distributions of Python combat
Pip pre installed as a python 2.0 7 dot 9 and newer Pip is installed by default incase Pip is missing.
It can be downloaded using this link.
And after you download Pip you need to run this command in the command prompt in order to install Pip.
One major advantage of Pip is the ease of its command line interface which makes installing Python packages
as easy as issuing one command.
The python package index Bye bye is a repository of software for the Python programming language and
it is a vast repository of open source Python packages supplied by the worldwide community of Python
developers.
So if you want to install a common by common library you can use the package manager that is available
with Python Pip which knows how to pull files down from the Pi Pi which is Python package index say
for example you have developed an application in python using the code modules available in the python
standard library.
Now there is a requirement to enhance or extend your application for which decode modules are not sufficient
so in addition to the standard library Python allows us to access a growing collection of thousands
of competence including individual programs and modules to packages and tired application development
frameworks that are available from Python package index so you can request a package using Pip by issuing
a command pip install package name and with this command Pip will search for this package name in PI
by the python package index and if it finds this package it downloads the package and then installs
it.
So one of the major advantage of Pip is the ease of its command line interface which makes installing
Python software packages as easy as issuing just one command
so let us now see if Pip is installed in our system or not.
So let us go to the command prompt and then type the command with Pip and once you hit enter.
So here this is the part where the package manager Pip is available.
So this is the part where Pip is available.
Now using the package manager Pip lifters now download and install package from pi pi.
So you have pip installed in your system.
Now let us download a package from the software repository for python that is pi pi.
The command is pip install package name so I'm going to download the package York three key and your
three key.
It is a tool for obtaining information about install Python packages and creating packages available
on Pipeline so let us download and install this package from pipeline by and then hit enter after you
issue this command and hit enter the package manager Pip has downloaded and installed the package your
ticket gate into the system.
And this package your three key is used to obtain information about the installed Python packages.
So let us use this package in order to get information about the packages that are installed in the
system.
So for that the commanders your hyphen in and then hit enter so these are all the different packages
that are installed in this particular system so you can see which packages are active non-active are
in development mode.