Commit 35c78dec authored by Dario's avatar Dario
Browse files

Updated parrot software management and summary (with some initial categories)

parent 62c5aa48
......@@ -6,7 +6,7 @@ Currently it is not necessary for the user to compile the sources of each progra
To compile some programs, some libraries and other programmes are necessary. If we tried to compile a program that had dependencies with other libraries and other programs, we should install these "dependencies" previously to its compilation. Likewise, if we want to install a binary we will need to have installed the necessary dependencies for its correct operation.
To manage these dependencies and the "packages" installation, package managers have been created. There are numerous packet managers, some graphics and other in command line. In this chapter, we will see one of the most famous, created by the Debian developers, and the one used by Parrot... APT.
To manage these dependencies and the "packages" installation, package managers have been created. There are numerous packet managers, some graphics and other in command line. In this chapter, we will see one of the most famous, created by the Debian developers, and the one used by Parrot... **APT**.
The main functions of a package manager must be:
......@@ -37,56 +37,69 @@ You can also see the file "Mirrors"
The Parrot package manager is apt. This manager is responsible for installing packages, checking dependencies, updating the system, among other things. Let's see we can do with it. We will see the most common options, but we can see several man pages (apt, apt-get, apt-cache, dpkg)
- Search for a package or text string:
Search for a package or text string:
`apt search <text_string>`
apt search <text_string>
- Show packege information:
\
Show package information:
`apt show <package>`
apt show <package>
- Show a package dependencies:
\
Show a package dependencies:
`apt depends <package>`
apt depends <package>
- Show the names of all the packages installed in the system:
\
Show the names of all the packages installed in the system:
`apt list --installed`
apt list --installed
- Install a package:
\
Install a package:
`apt install <package>`
apt install <package>
- Unistall a package:
\
Uninstall a package:
`apt remove <package>`
apt remove <package>
- Delete a package including its configuration files:
\
Delete a package including its configuration files:
`apt purge <package>`
apt purge <package>
- Delete automatically those packages that are not been used:
\
Delete automatically those packages that are not been used (be careful with this command, due to apt's hell dependency it may delete unwanted packages):
`apt autoremove`
apt autoremove
- Update the repositories information:
\
Update the repositories information:
`apt update`
apt update
- Update a package to the last available version in the repository:
\
Update a package to the last available version in the repository:
`apt upgrade <package>`
apt upgrade <package>
- Update the system. It will update all the packages that have a higher version:
\
Update the system. It will update all the packages that have a higher version:
`apt upgrade`
apt update
- Update the full distribution. It will update our system to the next available version:
\
Update the full distribution. It will update our system to the next available version:
`apt dist-upgrade`
parrot-upgrade
- Clean caches, downloaded packages, etc:
\
Clean caches, downloaded packages, etc:
`apt clean && apt autoclean`
apt clean && apt autoclean
\
These are just some examples. If more information is required, you shoul check the manual page (man 8 apt).
\ No newline at end of file
# Summary
- [What is Parrot](<./01.- What is Parrot.md>)
- [Download Parrot](<./02.- Download Parrot.md>)
- [Install Parrot](<./03.- Installation.md>)
- [How to create a Parrot USB drive](<./05.- How to create a Parrot USB drive.md>)
- [Introduction]()
- [What is Parrot](<./01.- What is Parrot.md>)
- [Download Parrot](<./02.- Download Parrot.md>)
- [What is GNU/Linux](<./21.- GNU-Linux basics.md>)
- [Installation]()
- [Install Parrot](<./03.- Installation.md>)
- [How to create a Parrot USB drive](<./05.- How to create a Parrot USB drive.md>)
- [Parrot in a Virtual Machine]()
- [Install Parrot on VirtualBox](<./08.- Install Parrot on VirtualBox.md>)
- [Virtualbox Guest Additions](<./15.- Virtualbox Guest Additions.md>)
- [Parrot on Docker](<./Parrot on Docker.md>)
- [Configuration]()
- [Parrot Software Management](<./Parrot Software Management.md>)
- [Compile a custom kernel](<./19.- Compile a custom kernel.md>)
- [File and Directory Permissions](<./File and Directory Permissions.md>)
<!--
- [Parrot on Docker](<./Parrot on Docker.md>)
- [What is Live Mode](<./04.- What is Live Mode.md>)
- [How to create a Live boot device](<./05.- How to create a Parrot USB drive.md>)
- [How to boot](<./06.- How to boot.md>)
- [Parrot USB Live Persistence](<./07.- Parrot USB Live Persistence.md>)
-->
- [Parrot in a Virtual Machine]()
- [Install Parrot on VirtualBox](<./08.- Install Parrot on VirtualBox.md>)
- [Virtualbox Guest Additions](<./15.- Virtualbox Guest Additions.md>)
<!--
- [Dualboot with Windows](<./09.- Dualboot with Windows.md>)
- [Change MySQL - PostgreSQL Password](<./12.- Change MySQL - PostgreSQL Password.md>)
......@@ -24,21 +35,17 @@
- [Metasploit Framework](<./17.- Metasploit Framework.md>)
- [Anonsurf](<./18.- Anonsurf.md>)
-->
- [Compile a custom kernel](<./19.- Compile a custom kernel.md>)
<!--
- [Mirrors List](<./20.- Mirrors List.md>)
-->
- [General information about GNU/Linux]()
- [What is GNU/Linux](<./21.- GNU-Linux basics.md>)
- [Boot of a Linux System](<./Boot of a Linux System.md>)
- [File and Directory Permissions](<./File and Directory Permissions.md>)
- [GNU/Linux Distributions](<./GNU-Linux Distributions.md>)
- [Hierarchy of Filesystem and Files](<./Hierarchy of Filesystem and Files.md>)
- [Installation procedure of a Lemp Nginx web server in ParrotSec](<./Installation procedure of a Lemp Nginx web server in ParrotSec.md>)
- [Intro to GNU/Linux Security](<./Intro to GNU-Linux Security.md>)
- [Logs Under Control](<./Logs Under Control.md>)
- [Network Configuration - Parrot](<./Network Configuration - Parrot.md>)
- [Parrot Software Management](<./Parrot Software Management.md>)
- [Reverse Engineering](<./Reverse Engineering.md>)
- [Services](<./Services.md>)
- [Shell and Basic Commands](<./Shell and Basic Commands.md>)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment