Showing posts with label mbp. Show all posts
Showing posts with label mbp. Show all posts

Friday, December 6, 2024

Ubuntu Multipass for x86 MBP

 

Ubuntu multipass

 
First download the tiny installer:
https://github.com/canonical/multipass/releases 
newer versions don't work on macos Monterey 12.6.7

Docs:

https://oscarchou.com/posts/handbook/multipass-command-cheatsheet/
https://medium.com/@karan.bk/modify-multipass-instances-update-resources-and-share-data-with-instance-c17315dd33d0
 https://medium.com/@karan.bk/a-beginners-guide-to-create-and-manage-ubuntu-vms-in-minutes-caa1684d9375
 

https://blog.humphd.org/multipass-on-macos/
https://fromanegg.com/post/2020/02/28/use-ubuntu-on-mac-os-with-multipass/
launch failed: multipass socket access denied

 https://github.com/canonical/multipass/issues/1437

 
 FYI, the new command is multipass auth. Note you must first issue multipass set local.passphrase as admin to set passphrase (and then enter this same passphrase when issuing the auth command).

H...Gi...4...!
 
 
https://discourse.ubuntu.com/t/ubuntu-frame-on-macos-including-apple-silicon-m1/28534 

Juju charms

charm-dev

Getting started with Juju 5 

 

 

 

 

 

Tuesday, February 22, 2022

Install awesome wm on Alpine Linux Docker

 Install awesome window manager

 

 

https://wiki.alpinelinux.org/wiki/Awesome(wm)_Setup

more /etc/apk/repositories apk add nano
apk add awesome feh lxterminal
apk add lua
apk add adwaita-gtk2-theme adwaita-icon-theme
apk add cairo-gobject pango


 

# save your image 

# from host shell

 docker commit 2240105620b7 baxter/awsm:version01

 

# startx not found

# login to <new user>

 

 

https://thispointer.com/docker-how-to-stop-remove-a-running-container-by-id-or-name/

 

 

 


 

 

 

 

 

Thursday, October 14, 2021

emacs Universal build Intel x86_64 and arm64

emacs Intel, arm build

If you just want to install gnu emacs for macos and get going Emacs for MacOSX is the place to go.  

I did the builds on my early-2015 mbp with Big Sur 11.6.
  • read https://github.com/caldwell/build-emacs
  • download build scripts
 
I didn't install xcode.
xcode-select --install (installs command line tools)

install macports
sudo port install xz
./fetch-emacs-from-ftp -v ftp://ftp.gnu.org/gnu/emacs/
 
# port install xz
# if you need to convert xz to bz2
# xzcat -c emacs-27.2.tar.xz | bzip2 > emacs-27.2.tar.bz2

./build-emacs-from-tar -v emacs-27.2.tar.bz2 release 

Success:
Built Emacs-27.2-11.6-x86_64.tar.bz2, Emacs-27.2-11.6-x86_64-extra-source.tar

  • CODESIGN crash
Then I reproduced those same steps on an m1 mac mini with xcode13 installed and signed it:
  • ./combine-and-package -v --sign "Common Name" Emacs-27.2-11.6-arm64.tar.bz2 
    • replace "Common Name" with the name in the keychain access login cert.
  • see: code signing issue #103  
  • Success!  Thanks Emacs for MacOSX!
TODO:
Go back to the MBP and try the codesign step.