Shell software management

Shell software management

Updating/Installing software:

Before updating/installing do a repo synchronization:

emerge --sync

may take some time, depending on the CPU speed and optical support.

gp-update


emerge --ask namesoftware_in_gp

ex:

to install/upgrade Librespot

emerge --ask librespot-bin


Remove software:

emerge -C namesoftware_in_gp

ex:

emerge -C librespot-bin

After removing software, it is always good to do a cleaning:

emerge --deepclean --ask


Management of services:

Start a service

rc-service servicename start

ex:

rc-service librespot start


Stop a service

rc-service servicename stop


Restart a service

rc-service servicename restart


Get service status

rc-service servicename status


Show known startup scripts

rc-status

rc-update show


Show all startup scripts

rc-update -v show


Enable service at startup

rc-update add servicename default


Disable service at startup

rc-update del servicename default


To manage the services, some shortcut commands have been included in GentooPlayer, check the list of commands available with:

system-commands

players-commands