Ubuntu / Debian (OS specific)
From Oxxus Wiki
Package manager
Ubuntu and Debian use apt-get for installation and removal of packages.
To install a package, in this example Apache web server, use the following command:
apt-get install apache2
To remove it, type:
apt-get remove apache2
Services start-up
To set the service for start-up with the system, use the following command, assuming appropriate start-up script is installed:
update-rc.d <service> defaults
To remove the service from automatic startup, use the following command:
update-rc.d -f <service> remove
- Replace <service> with the name of the service, for example:
update-rc.d apache2 defaults
Debian
You can find out which version of Debian you are running by issuing more /etc/debian_version
command.
Learn how to install/remove Fedora/CentOS packages