Answer

问题及解答

[openSUSE] 安装 VSCode

Posted by haifeng on 2024-10-13 17:24:39 last update 2024-10-13 18:54:49 | Edit | Answers (0)


 

zypper ar -cf https://download.opensuse.org/repositories/devel:/tools:/ide:/vscode/openSUSE_Tumbleweed devel_tools_ide_vscode

zypper in code


haifeng@LAPTOP-Q34L5TP8:~> sudo zypper ar -cf https://download.opensuse.org/repositories/devel:/tools:/ide:/vscode/openSUSE_Tumbleweed devel_tools_ide_vscode
Adding repository 'devel_tools_ide_vscode' ............................[done]
Repository 'devel_tools_ide_vscode' successfully added
 
URI         : https://download.opensuse.org/repositories/devel:/tools:/ide:/vscode/openSUSE_Tumbleweed
Enabled     : Yes
GPG Check   : Yes
Autorefresh : Yes
Priority    : 99 (default priority)
 
Repository priorities are without effect. All enabled repositories share the same priority.
 

 

haifeng@LAPTOP-Q34L5TP8:~> sudo zypper in code
 
New repository or package signing key received:
 
  Repository:       devel_tools_ide_vscode
  Key Fingerprint:  386B 1424 DA40 F724 3D42 FFF7 5202 E0E6 A755 8516
  Key Name:         devel:tools:ide OBS Project
  Key Algorithm:    RSA 2048
  Key Created:      Tue 31 Oct 2023 03:29:30 AM CST
  Key Expires:      Thu 08 Jan 2026 03:29:30 AM CST
  Rpm Name:         gpg-pubkey-a7558516-6540041a
 
 
 
    Note: Signing data enables the recipient to verify that no modifications occurred after
    the data were signed. Accepting data with no, wrong or unknown signature can lead to a
    corrupted system and in extreme cases even to a system compromise.
 
    Note: A GPG pubkey is clearly identified by its fingerprint. Do not rely on the key's
    name. If you are not sure whether the presented key is authentic, ask the repository
    provider or check their web site. Many providers maintain a web page showing the
    fingerprints of the GPG keys they are using.
 
Do you want to reject the key, trust temporarily, or trust always? [r/t/a/?] (r):
 

 

 

haifeng@LAPTOP-Q34L5TP8:~> sudo zypper install patterns-kde-kde
[sudo] password for root:
Loading repository data...
Reading installed packages...
'patterns-kde-kde' is already installed.
No update candidate for 'patterns-kde-kde-20240311-2.3.noarch'. The highest available version is already installed.
Resolving package dependencies...
Nothing to do.
 
haifeng@LAPTOP-Q34L5TP8:~> sudo zypper in sddm
Loading repository data...
Reading installed packages...
Resolving package dependencies...
 
The following 25 NEW packages are going to be installed:
  blog libblogger2 libXaw7 libXmu6 libXpm4 libXt6 logrotate qtdeclarative-imports-provides-qt5 sddm
  sddm-greeter-qt5 sddm-greeter-qt6 sessreg setxkbmap sysvinit-tools xauth xbitmaps xconsole xdm xinit xli
  xmessage xmodmap xset xterm-bin xterm-resize
 
25 new packages to install.
 
Package download size:     6.9 MiB
 
Package install size change:
              |      11.0 MiB  required by packages that will be installed
    11.0 MiB  |  -      0 B    released by packages that will be removed
 
Backend:  classic_rpmtrans
Continue? [y/n/v/...? shows all options] (y): 
 

Reference:

Visual Studio Code - openSUSE Wiki