Ao usar o AWS re:Post, você concorda com os AWS re:Post Termos de uso

How do I update software packages on Linux WorkSpaces?

2 minuto de leitura
0

I want to update the software on my Linux based Amazon WorkSpaces.

Resolution

By default, WorkSpaces installs Operating System (OS) updates available in the package manager automatically during the maintenance window. Different Linux distributions use different package managers:

  • For Amazon Linux 2 WorkSpaces, the package manager is yum.
  • For Red Hat Enterprise Linux (RHEL) WorkSpaces, the package manager is dnf.
  • For Ubuntu WorkSpaces, the package manager is apt or snap.

For AlwaysOn WorkSpaces, the maintenance window is 00:00 to 04:00 on Sundays in the time zone of the WorkSpace. For AutoStop WorkSpaces, maintenance begins the third Monday of each month for up to two weeks. During this time, the maintenance window is open daily from 00:00 to 05:00 in the time zone for the AWS Region.

The maintenance window installs most routine security and package updates.

To manually update the packages, complete the following steps:

  1. Use SSH to connect to your WorkSpace.
    Note: By default, SSH isn't activated on Ubuntu and RHEL WorkSpaces.
  2. To install updates, take one of the following actions.
    For Amazon Linux 2, run the following command:
    sudo yum update
    For RHEL, run the following command:
    sudo dnf update
    For Ubuntu, run the following command:
    sudo apt update && apt upgrade 

Related information

Maintenance in WorkSpaces Personal

AWS OFICIAL
AWS OFICIALAtualizada há 2 meses