Skip to content

Add arm support to the installation script. #259

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

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.

@dhh dhh mentioned this pull request Feb 4, 2025
@martynchamberlin
Copy link

Would love this! Gives the opportunity to test-drive this in Parallels for example.

At the moment it is cutting its teeth on nvim but that's likely because this PR is so outdated.

--2025-05-06 11:57:22--  https://github.com/neovim/neovim/releases/latest/download/nvim-linux64.tar.gz
Resolving github.com (github.com)... 140.82.113.4
Connecting to github.com (github.com)|140.82.113.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github.com/neovim/neovim/releases/download/v0.11.1/nvim-linux64.tar.gz [following]
--2025-05-06 11:57:22--  https://github.com/neovim/neovim/releases/download/v0.11.1/nvim-linux64.tar.gz
Reusing existing connection to github.com:443.
HTTP request sent, awaiting response... 404 Not Found
2025-05-06 11:57:22 ERROR 404: Not Found.

Given the comment at #227 (comment), would be cool to see us move forward on this.

@therohitdas
Copy link
Author

Hi everyone, @DoppioJP made some progress and claims to have a working version for VirtualBox on Mac:
#260 (comment)

I have not tried it yet, but hopefully it is good enough for now.

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.

6 participants