APT
APT - Advanced Package Tool is a command line application tool to handle the installation and removal of software on the Debian based distribution and its variants. APT simplifies the process of managing software on Unix-like computer systems by automating the retrieval, configuration and installation of software packages, either from precompiled files or by compiling source code.
It handles the retrieval, configuration and installation of software packages.
Automatic dependency checking and resolution.
Relies on repositories which are central “stores” of available packages.
Has a myriad of front-ends such as aptitude, Synaptic, Adept.
Repositories
4 Components
Whether or not it supports Free Software Philosophy
- Main – Free software that gets security updates and its fully supported.
- Restricted – Not completely free & partially supported.
- Universe – Snapshot of FOSS world with most any application you can find in the open source world. Variety of licenses.
- Multiverse – Not free and not supported.
Apt examples
Note: root is disabled by default so sudo allows you to run commands with superuser privileges
# apt-get install packagename – installs software package
# apt-get remove packagename – removes package'
# apt-get update – updates list of software packages.
# apt-get upgrade – installs upgrades of all packages currently installed.
# apt-get dist-upgrade – upgrades to latest release
Apt for AMP
Install Apache, Php and MySQL
# apt-get install apache2 php5-mysql libapache2-mod-php5 mysql-server
Now, you can Configure and deploy securely.
APT - Advanced Package Tool is a command line application tool to handle the installation and removal of software on the Debian based distribution and its variants. APT simplifies the process of managing software on Unix-like computer systems by automating the retrieval, configuration and installation of software packages, either from precompiled files or by compiling source code.
It handles the retrieval, configuration and installation of software packages.
Automatic dependency checking and resolution.
Relies on repositories which are central “stores” of available packages.
Has a myriad of front-ends such as aptitude, Synaptic, Adept.
Repositories
4 Components
Whether or not it supports Free Software Philosophy
- Main – Free software that gets security updates and its fully supported.
- Restricted – Not completely free & partially supported.
- Universe – Snapshot of FOSS world with most any application you can find in the open source world. Variety of licenses.
- Multiverse – Not free and not supported.
Apt examples
Note: root is disabled by default so sudo allows you to run commands with superuser privileges
# apt-get install packagename – installs software package
# apt-get remove packagename – removes package'
# apt-get update – updates list of software packages.
# apt-get upgrade – installs upgrades of all packages currently installed.
# apt-get dist-upgrade – upgrades to latest release
Apt for AMP
Install Apache, Php and MySQL
# apt-get install apache2 php5-mysql libapache2-mod-php5 mysql-server
Now, you can Configure and deploy securely.
No comments:
Post a Comment