Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install in OpenSUSE with YaST #852

Closed
JulianGiles opened this issue Mar 16, 2023 · 3 comments
Closed

How to install in OpenSUSE with YaST #852

JulianGiles opened this issue Mar 16, 2023 · 3 comments

Comments

@JulianGiles
Copy link

Operating System/Distribution

OpenSUSE Leap 15.4

Installer

Which version of the app?
The latest release 3.2.0 Linux RC1

Which installer type?
I am following the steps in the Readme to install using RPM package.

What happened?

I am trying to install following the steps in the Readme. My package manager is YaST software. When I try to execute the second command

sudo sh -c 'echo -e "[shiftkey-packages]\nname=GitHub Desktop\nbaseurl=https://rpm.packages.shiftkey.dev/rpm/\nenabled=1\ngpgcheck=1\nrepo_gpgcheck=1\ngpgkey=https://rpm.packages.shiftkey.dev/gpg.key" > /etc/yum.repos.d/shiftkey-packages.repo'

I get sh: /etc/yum.repos.d/shiftkey-packages.repo: No such file or directory since I am not using yum as my package manager. How to do that with YaST? I could not figure out an equivalent command for YaST to complete the installation.

@shiftkey
Copy link
Owner

I'm not familiar with YaST and don't have a working SuSE install to test on so I'm looking for help here about where the package metadata should live for these cases...

@Rainmaker0102
Copy link

Setting up a new openSUSE install, I had to change this command

sudo sh -c 'echo "deb [arch=amd64 signed-by=/usr/share/keyrings/shiftkey-packages.gpg] https://apt.packages.shiftkey.dev/ubuntu/ any main" > /etc/apt/sources.list.d/shiftkey-packages.list'

into this

sudo sh -c 'echo -e "[shiftkey-packages]\nname=GitHub Desktop\nbaseurl=https://rpm.packages.shiftkey.dev/rpm/\nenabled=1\ngpgcheck=1\nrepo_gpgcheck=1\ngpgkey=https://rpm.packages.shiftkey.dev/gpg.key" > /etc/zypp/repos.d/shiftkey-packages.repo'

Essentially just changing the yum.repos.d to /zypp/repos.d.

@JulianGiles
Copy link
Author

That worked! Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants
@shiftkey @Rainmaker0102 @JulianGiles and others