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

Add arm support to the installation script. #259

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

therohitdas
Copy link

  • I debugged and added a platform check to ensure that Arm64 packages are installed for arm-based systems.
  • I used Snap where direct arm package installation was not possible: fcae05a, 9e07003
  • Does not install packages where the arm version is unavailable: 3f4d7fe
  • Installed chromium instead of chrome because it is not available on Arm64: 9e07003, b96606b

The install script works for a fresh Ubuntu 24.04 arm64 server with tasksel and ubuntu-desktop installed.
YouTube Video to try it with UTM on MacBook Pro M series laptops.

@therohitdas therohitdas changed the title Added arm support to the installation script. Add arm support to the installation script. Sep 5, 2024
@olli757
Copy link

olli757 commented Sep 6, 2024

oh nice, can I try this out myself before it's merged onto the project?

@therohitdas
Copy link
Author

Hi @olli757,
Here are the commands:

# install git
sudo apt-get update >/dev/null
sudo apt-get install -y git >/dev/null

# Get the code for this PR from my fork.
rm -rf ~/.local/share/omakub
git clone https://github.com/therohitdas/omakub.git ~/.local/share/omakub >/dev/null

# Start the installation script
source ~/.local/share/omakub/install.sh

If the installation script fails, please report here with as much info as possible.

It would be great if someone could test this PR and see if it works with an ARM64 chip (other than a Mac).

@rmacklin
Copy link
Contributor

rmacklin commented Sep 6, 2024

Since #187 there is a simpler way to test any unmerged PR:

export OMAKUB_REF=af0628e69962eb9ba4389c4987a6dfefb6d7fb50
wget -qO- "https://raw.githubusercontent.com/basecamp/omakub/${OMAKUB_REF}/boot.sh" | bash

@dadcod
Copy link

dadcod commented Sep 28, 2024

On mac m2 with VirtualBox vm i get up to here
Reading state information... Done
chromium-browser is already the newest version (2:1snap1-Oubuntu2).
© upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Reading package lists... Done Building dependency tree... Done Reading state information... Done
flameshot is already the newest version (12.1.0-2build2).
© upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Reading package lists... Done Building dependency tree... Done Reading state information... Done
gnome-sushi is already the newest version (46.0-1).
© upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Reading package lists... Done Building dependency tree... Done Reading state information... Done
Note, selecting 'gnome-tweaks' instead of 'gnome-tweak-tool' gnome-tweaks is already the newest version (46.0-2).
o upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
error: access denied (try with sudo)

@twilliams77
Copy link

You're the best.

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

Successfully merging this pull request may close these issues.

5 participants