In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article focuses on "how to install GNOME 40 on Ubuntu Linux". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to install GNOME 40 on Ubuntu Linux.
GNOME 40 includes a new "activity Overview" design with a horizontal workspace and a Dash at the bottom of the screen, updates to the GNOME application and more, which you can read here (https://www.linuxmi.com/gnome-40.html). The recently released Ubuntu 21.04 continues to use GNOME 3.38 by default, so unless you use something like PPA mentioned in this article, you'll have to wait six months to get GNOME 40 on Ubuntu.
It is important to note that the PPA introduced in this article is neither official nor stable. It is used for testing purposes only. Below, you will find instructions for restoring changes and clearing PPA, but this can also be problematic.
Many PPA packages have been updated recently (until a few days ago it did not have a stable version of GNOME Shell, etc.), PPA can be removed correctly now, but this may change in the future.
In addition, some i386 packages cannot be built in PPA, and if they are installed on the system, they need to be removed to properly upgrade all packages from PPA. Therefore, you need to understand how APT is used so that you can use this PPA in this case.
The PPA description also mentioned that "this PPA is for testing only. It sometimes breaks down, especially when I upgrade the package."
I warned you!
In addition to what I have already mentioned, you should also know:
After upgrading to GNOME 40 on Ubuntu 21.04, the desktop icon extension will not work
The Ubuntu Dock extension does not work after the upgrade because it does not yet support GNOME 40. The screenshot you see at the bottom of the screen is not Ubuntu Dock, but the default GNOME Dash, which is now displayed at the bottom.
After upgrading to GNOME 40, the appearance section of Settings will not be available because it is specific to Ubuntu and is not built in PPA using the Ubuntu patch. So, you won't be able to switch between light, standard, and dark themes from there, and you won't be able to change Ubuntu Dock settings (but you won't have Ubuntu Dock, as I already mentioned)
Other things may not work.
Below, you can find some screenshots of running GNOME 40 on Ubuntu 21.04 Hirsute Hippo (using both Yaru and GNOME sessions-see the instructions below for more details):
Except for the last two using GNOME sessions (using Adwaita topics), all screenshots are taken under the Yaru session (you need to build a Yaru GNOME 40 branch, see below).
How to upgrade to GNOME 40 for testing on Ubuntu 21.04 (Hirsute Hippo)
1. Add GNOME 40 PPA through "shemgp". Linuxmi@linuxmi:~/www.linuxmi.com$ sudo add-apt-repository ppa:shemgp/gnome-40
Upgrade to GNOME 40 by installing all available updates. Linuxmi@linuxmi:~/www.linuxmi.com$ sudo apt full-upgrade
When you upgrade, the Ubuntu Dock extension will be deleted. It doesn't matter, it should be deleted, because it doesn't apply to GNOME40 yet. However, make sure that no other packages are removed and that you do not have any reserved packages.
If you install version i386 for some packages that cannot be generated for i386 in GNOME 40 PPA (as you can see here, they have a red X icon followed by i386), you will have the package, and the installation will not continue correctly. The problem I want to solve is to delete the i386 version of the saved package (for example, sudo apt remove libpango-1.0-0:i386). For me, this happened when I tried to install GNOME 40 on my Ubuntu 21.04 desktop, which is not a fresh installation (I have been upgrading from Ubuntu 19.10,20.04 and 20.10), but not on the new Ubuntu 21.04.
3. Use GNOME or Yaru sessions.
The default Ubuntu theme Yaru does not currently support GNOME 40, at least the version in the Ubuntu 21.04 repository. So you have two choices:
Install and use GNOME sessions (with Adwaita themes)
Install the GNOME 40 branch of the Yaru theme and use the Yaru session
To begin, select only one of the two available options (an and b).
A) install the GNOME session (Adwaita topic).
To use GNOME sessions, you need to install the gnome-session package, as well as adwaita-icon-theme-full, or your Files (Nautilus) application will use symbolic icons for folders. You can also install Cantarell fonts to get the correct font weight in a GNOME session.
Install the three packages using the following command:
Linuxmi@linuxmi:~/www.linuxmi.com$ sudo apt install gnome-session adwaita-icon-theme-full fonts-cantarell
B) install the GNOME 40 branch of the Yaru theme.
First install (from Git) obtain, build, and install the software packages required for the Yaru theme:
Linuxmi@linuxmi:~/www.linuxmi.com$ sudo apt install git meson sassc libglib2.0-dev libxml2-utils
Now you can get the Yaru from Git, switch to the gnome-shell-40 branch, and build and install the theme:
Linuxmi@linuxmi:~/www.linuxmi.com$ git clone https://github.com/ubuntu/yaru linuxmi@linuxmi:~/www.linuxmi.com$ cd yaru linuxmi@linuxmi:~/www.linuxmi.com/yaru$ git checkout gnome-shell-40 linuxmi@linuxmi:~/www.linuxmi.com/yaru$ meson build linuxmi@linuxmi:~/www.linuxmi.com/yaru$ sudo ninja-C build install
Restart and select the correct session from the login screen.
After reboot, when you reach the login screen, click your user name. Next, click the gear icon in the lower right corner of the screen and select the session you want to log in:
If you want to use a GNOME session, choose GNOME (if you want to use Wayland) or GNOME running on Xorg
If you want to use the Yaru theme, choose Yaru session (for Wayland) or Yaru session on Xorg
Do not use the Ubuntu option on the login screen because it still uses the old Yaru theme (I don't know how to use it either).
How to undo changes by clearing PPA
So, do you want to undo the changes and clear PPA? You can do this using PPA Purge, which attempts to downgrade all packages available from PPA installed repositories. You can install PPA Purge using the following methods:
Linuxmi@linuxmi:~/www.linuxmi.com$ sudo apt install ppa-purge
You can then clear the PPA using the following methods:
Linuxmi@linuxmi:~/www.linuxmi.com$ sudo ppa-purge ppa:shemgp/gnome-40 so far, I believe you have a deeper understanding of "how to install GNOME 40 on Ubuntu Linux". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.