Skip to content

Instantly share code, notes, and snippets.

@ianfinch
Created May 10, 2021 09:40
Show Gist options
  • Save ianfinch/8fbeda7f4fe5bd2346bee5f68a5cac31 to your computer and use it in GitHub Desktop.
Save ianfinch/8fbeda7f4fe5bd2346bee5f68a5cac31 to your computer and use it in GitHub Desktop.
Install Regolith on Debian
# See https://github.com/regolith-linux/regolith-desktop/issues/32
echo "deb http://ppa.launchpad.net/regolith-linux/release/ubuntu bionic main" > /etc/apt/sources.list.d/regolith.list
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EFC31B0AE9F1000B38E37FC8C0930F305A0E0FEF
apt update
apt install devscripts build-essential cdbs libxcb1-dev gperf pkg-config xutils-dev
# create setup folder
mkdir rego-setup && cd rego-setup/
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xcb-util/xcb-util_0.4.0.orig.tar.gz
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xcb-util/xcb-util_0.4.0-0ubuntu3.debian.tar.xz
tar -xvf xcb-util_0.4.0.orig.tar.gz
cd xcb-util-0.4.0
tar -xvf ../xcb-util_0.4.0-0ubuntu3.debian.tar.xz
dpkg-buildpackage -b
cd ..
apt install ./libxcb-util1_0.4.0-0ubuntu3_amd64.deb
# remove the install folder
cd .. && rm -R rego-setup
apt install regolith-desktop-standard
Copy link

ghost commented May 6, 2022

Can you explain, what it does and why it is necessary? Why isn't it just possible, to add the repos and run apt install regolith-desktop?

@ianfinch
Copy link
Author

Can you explain, what it does and why it is necessary? Why isn't it just possible, to add the repos and run apt install regolith-desktop?

It was to install regolith on Debian. I think some of the package dependencies were different, so I had to pull them in specifically. It was a year ago, so this might not be necessary any longer.

Copy link

ghost commented Sep 13, 2022

I mean rather, what the lines do. I used it and it works, but I have no idea, why.

@nick-elms
Copy link

I mean rather, what the lines do. I used it and it works, but I have no idea, why.

Google is your friend.

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