跳至內容

How to install a GUI in Amazon Linux 2022?

3

AL 2 supports MATE, or at least makes it possible to install it. Is there a repo AL2022 can connect to for adding extras?

已提問 4 年前檢視次數 2702 次
4 個答案
12
已接受的答案

Amazon Linux 2023 now has a desktop as well:

AWS
已回答 1 年前
  • Thank you! I've already switched to ALMA Linux but now I'll have to go back and reconsider AL'23. How did you find out about this btw? The AL blog?

  • I'm part of the team that worked on this release 😉

0

https://docs.aws.amazon.com/linux/al2023/ug/compare-with-al2.html#graphical-desktop-support

Graphical desktop support: AL2023 is cloud-centered and optimized for Amazon EC2 usage and currently does not include a graphical or desktop environment. To provide feedback on GitHub, see https://github.com/ .

AWS
已回答 3 年前
-3

Amazon Linux 2022, like Amazon Linux 2023, is primarily designed for headless (non-GUI) server environments, and unfortunately, it doesn't officially support GUI (graphical desktop) environments like GNOME or KDE out of the box.

If you need a GUI, here are your best options:

  1. Use a different AMI: Consider using EC2 instances with Ubuntu, CentOS, or RHEL, which have better GUI support.
  2. Workaround (not recommended for production): You might be able to compile and install a lightweight desktop environment (like XFCE or LXDE), but this can lead to stability and compatibility issues.

Alternative: Use Amazon Linux 2, which has some community-tested guides for minimal GUI setups.

Let me know if you'd like a step-by-step for Ubuntu or Amazon Linux 2 with GUI!

已回答 1 年前
  • This information is outdated. Amazon Linux 2023 now ships a GNOME based GUI, see my comment above.

-4

Exactly the post you are looking for with the details. Read the section specific to the manual/automated way as you deem necessary for your own situation.

Link- https://aws.amazon.com/premiumsupport/knowledge-center/ec2-linux-2-install-gui/

Hope this helps. if it did, please click on accepted answer on the post.

AWS
支援工程師
已回答 4 年前
  • I'm afraid that's for Amazon Linux 2, not Amazon Linux 2022 which has no amazon-linux-extras. Thanks.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。