Package management
- First, we need to update our repository
$ apt-get update
$ apt-get install APPNAME
- Check if a package is already installed
$ dpkg -l | grep APPNAME
$ apt-get remove APPNAME
- Search packages by a keyword
$ apt-cache search βKEYWORDβ
Service management
- Check if a service is running
$ systemctl status APPNAME
$ systemctl start APPNAME
$ systemctl stop APPNAME
$ systemctl restart APPNAME
$ systemctl is-enabled APPNAME
$ systemctl enable APPNAME
$ systemctl disable APPNAME
Top comments (1)
Thanks for sharing!