Showing posts with label mac. Show all posts
Showing posts with label mac. Show all posts

Saturday, July 5, 2025

How to Install Keka on macOS

  • Download latest version from https://www.keka.io/en/
  • Copy the MD5 hash value from Keka website to compare later (MD5: 8729f9d08d10293fa1ee6518a59a25fc)
  • Check the file size
  • v$ ls -latr Keka*
  • -rw-r--r--@ 1 v  staff  32324898 Jul  5 09:29 Keka-1.5.2.dmg
  • -rw-r--r--@ 1 v  staff       179 Jul  5 09:32 Keka-1.5.2.txt
  • v$ md5 Keka-1.5.2.dmg
  • MD5 (Keka-1.5.2.dmg) = 8729f9d08d10293fa1ee6518a59a25fc
  • Click on Keka-1.5.2.dmg to open
  • Drag Keka app to Applications folder


Sunday, June 22, 2025

Install Dotnet on macOS


https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-8.0.411-macos-arm64-installer
Checksum (SHA512)
806889dd230d89e7ff0718a0be08ab90c558bee56619854ba7b7b9b3ce555fa8d1eb875116810f414879b6a66c63e049dd7161c16dbdd36132b74ad0e4cee337

MBP2025:Downloads v$ sha512 dotnet-sdk-8.0.411-osx-arm64.pkg
SHA512 (dotnet-sdk-8.0.411-osx-arm64.pkg) = 806889dd230d89e7ff0718a0be08ab90c558bee56619854ba7b7b9b3ce555fa8d1eb875116810f414879b6a66c63e049dd7161c16dbdd36132b74ad0e4cee337

double click the downloaded package dotnet-sdk-8.0.411-osx-arm64.pkg to install
closed the existing terminal and reopen to run this command dotnet --version to verify dotnet installation










Monday, May 26, 2025

How to install LibreOffice on macOS

Download new version at https://www.libreoffice.org/download/download-libreoffice/

Click the info link ( https://download.documentfoundation.org/libreoffice/stable/25.2.3/mac/aarch64/LibreOffice_25.2.3_MacOS_aarch64.dmg.mirrorlist ) for check sum and signature file

File information

    Filename: LibreOffice_25.2.3_MacOS_aarch64.dmg

    Path: /libreoffice/stable/25.2.3/mac/aarch64/LibreOffice_25.2.3_MacOS_aarch64.dmg

    Size: 279M (292500275 bytes)

    Last modified: Mon, 28 Apr 2025 20:14:40 GMT (Unix time: 1745871280)

    SHA-256 Hash: 309de4092e5e85882a77132a55e891a6eb5f7e1fd28dba2da04bc14bd878003a

    SHA-1 Hash: ee83a63d6e38a17d77a92eb6633a707a06d57aef

    MD5 Hash: 68dc297abed5c1c995464913658d4fa9

    BitTorrent Information Hash: 96fc5aecd8c7d435642f9061e88c68661d81f2de

    PGP signature available


check the file size:

ls -latr LibreOffice_25.2.3_MacOS_aarch64.dmg 

-rw-r--r--@ 1 user1  staff  292500275 May 26 10:38 LibreOffice_25.2.3_MacOS_aarch64.dmg


check the hashsum:

sha256 LibreOffice_25.2.3_MacOS_aarch64.dmg 

SHA256 (LibreOffice_25.2.3_MacOS_aarch64.dmg) = 309de4092e5e85882a77132a55e891a6eb5f7e1fd28dba2da04bc14bd878003a


Download the PGP signature ASC file and check.

$ gpg --verify LibreOffice_25.2.3_MacOS_aarch64.dmg.asc 

gpg: assuming signed data in 'LibreOffice_25.2.3_MacOS_aarch64.dmg'

gpg: Signature made Mon Apr 28 08:55:03 2025 PDT

gpg:                using RSA key C2839ECAD9408FBE9531C3E9F434A1EFAFEEAEA3

gpg: Can't check signature: No public key


$ gpg --keyserver-options auto-key-retrieve --verify LibreOffice_25.2.3_MacOS_aarch64.dmg.asc 

gpg: assuming signed data in 'LibreOffice_25.2.3_MacOS_aarch64.dmg'

gpg: Signature made Mon Apr 28 08:55:03 2025 PDT

gpg:                using RSA key C2839ECAD9408FBE9531C3E9F434A1EFAFEEAEA3

gpg: /Users/v123/.gnupg/trustdb.gpg: trustdb created

gpg: key F434A1EFAFEEAEA3: public key "LibreOffice Build Team (CODE SIGNING KEY) <build@documentfoundation.org>" imported

gpg: Total number processed: 1

gpg:               imported: 1

gpg: Good signature from "LibreOffice Build Team (CODE SIGNING KEY) <build@documentfoundation.org>" [unknown]

gpg: WARNING: This key is not certified with a trusted signature!

gpg:          There is no indication that the signature belongs to the owner.

Primary key fingerprint: C283 9ECA D940 8FBE 9531  C3E9 F434 A1EF AFEE AEA3


Sunday, May 18, 2025

How to setup keyboard to type other languages on Mac

Extract from https://support.apple.com/en-vn/guide/mac-help/mchlp1406/mac for reference:
  1. On your Mac, choose Apple menu  > System Settings, then click Keyboard  in the sidebar. (You may need to scroll down.)
  2. Go to Text Input, then click Edit. 
  3. Click the plus sign (located at the end on left corner), then search for a language (such as Chinese, Simplified). Select one or more input sources for each language you want to use. 
  4. Click Add.
  5. To begin writing in another language, select the language you want to use in the Input menu in the menu bar.

Sunday, April 2, 2023

How to fix error Kernel driver not installed (rc=-1908) on macOS

Kernel driver not installed (rc=-1908)

Make sure the kernel module has been loaded successfully.

where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.

  • Re-install the latest version
  • System References
  • Privacy and Security
  • Allow app install from Oracle VM VirtualBox

How to validate downloaded VirtualBox 6.1.42 on macOS

VirtualBox 6.1.42 (released January 17 2023)

https://www.virtualbox.org/wiki/Download_Old_Builds_6_1


SHA256 checksums values retrieved from https://www.virtualbox.org/download/hashes/6.1.42/SHA256SUMS

b0b6f388616ffebd06f24d434e850da95a56572f33ef8a13f7c9b5e2ac9b98bd *Oracle_VM_VirtualBox_Extension_Pack-6.1.42-155177.vbox-extpack

b0b6f388616ffebd06f24d434e850da95a56572f33ef8a13f7c9b5e2ac9b98bd *Oracle_VM_VirtualBox_Extension_Pack-6.1.42.vbox-extpack

96252f22f1971348d25b627306020282a5d140cb86b217612e6dd70f6310b757 *SDKRef.pdf

5d803155af0edd6f7c3a3a7be76a4249c475f840033a1a5346acda5180859db8 *UserManual.pdf

1ed195bb936e97577f433dba03615920cd5407cc49cf117c372931cc58b6afe5 *VBoxGuestAdditions_6.1.42.iso

2ff23a7e98776a9672b9668e59c35f804ad1809b404976b83501d30d33612f22 *VirtualBox-6.1-6.1.42_155177_el6-1.x86_64.rpm

1b64747e01a0d7787f52f1f10c6324e89f0ac8dd28b87095ccbe3c9be2cb89a9 *VirtualBox-6.1-6.1.42_155177_el7-1.x86_64.rpm

45e0f4845ea7d6815d91b07a302e718ec45015663588b5c178a408044c422b2e *VirtualBox-6.1-6.1.42_155177_el8-1.x86_64.rpm

788b11c07d3801d23d0f97f8a8bb6b269d482b9b11f520a3ca3f6f6e5d2c722d *VirtualBox-6.1-6.1.42_155177_el9-1.x86_64.rpm

8a80e05400a9909b9e04301bc9d4087217324c2a50f654ea226f32ddb251b5d1 *VirtualBox-6.1-6.1.42_155177_fedora32-1.x86_64.rpm

7ead24e3543aa952843f34c5ef01e4b2d9d8f6416628ff31d67f8ce2dac61e2a *VirtualBox-6.1-6.1.42_155177_fedora33-1.x86_64.rpm

0576bcd46fe0f05c5d74dddf7c1ce48fb75e0980e321a82b4b7c101266b773f9 *VirtualBox-6.1-6.1.42_155177_fedora35-1.x86_64.rpm

d4c2d4659ec09f6b8d7a57c9dc409eb34dc3cafbcc5d795bde376568298bdab9 *VirtualBox-6.1-6.1.42_155177_fedora36-1.x86_64.rpm

99663dbeeb33dca5284e535c3fa2577b9afb696e6f2ba6643a3445f2eefab421 *VirtualBox-6.1-6.1.42_155177_openSUSE132-1.x86_64.rpm

5f57372c0114e9d4a1bcb775d3a49adabf918dac65aba4ddaabe04084ae0c75a *VirtualBox-6.1-6.1.42_155177_openSUSE150-1.x86_64.rpm

c122ee86b2ab64c846067526b8461a1f82b9d5bb2d50139c67290022cd3230ca *VirtualBox-6.1-6.1.42_155177_openSUSE153-1.x86_64.rpm

f60afd326a5fbe0ee085b26d7c7a4d6bfd10548b95547dd27730cb01c926de76 *VirtualBox-6.1.42-155177-Linux_amd64.run

73cb0f215f5c24480496562173618093c9b101293a18b447de7d1a1747cb8abd *VirtualBox-6.1.42-155177-OSX.dmg

53fe63b7c91972bab956ba2cb4412075f9bc3f9b907319329162b7758391c4ac *VirtualBox-6.1.42-155177-Solaris.p5p

a6d893ce498c758446dc44528c8c7598cdad0625396474a5fe50d40a6208e184 *VirtualBox-6.1.42-155177-SunOS.tar.gz

184311c474f98cddc8097d23863c513b0241037688a9803ffc7287b8c960c94e *VirtualBox-6.1.42-155177-Win.exe

42f86bed06e1bcf0bf58b1de96d0d1d85ca9cc06148f66af47f6d5b58a3ed5d4 *VirtualBox-6.1.42.tar.bz2

523a2d2c818ff3c8e3d60c604f4931bde320384b36fb47d20e6d48b242beaff4 *VirtualBoxSDK-6.1.42-155177.zip

74bd265c86447022e7bb5725733872d26e74f455e188494b5396da04111d07b3 *virtualbox-6.1_6.1.42-155177~Debian~bullseye_amd64.deb

10a8d42f208443790dde4ff256d6ded4d0b150ee059a82fd295598c7266eef54 *virtualbox-6.1_6.1.42-155177~Debian~buster_amd64.deb

58453bc7c2ade938aab9eae8e77d0d73bce02e1c1fc453128ced4258f5c706b6 *virtualbox-6.1_6.1.42-155177~Debian~stretch_amd64.deb

432fc26e77c5d57dbe6031f9dedd37c1180ddb2e0865dc6aad9b14a6f793c39c *virtualbox-6.1_6.1.42-155177~Ubuntu~bionic_amd64.deb

b4faa4997902316232082807e4b17d20df815b60c27ee4e43b34d0cfd04333a9 *virtualbox-6.1_6.1.42-155177~Ubuntu~focal_amd64.deb

099935442e8e32c603bb9a25b641a5e22cbbd667094b21777e4d9a92f8a0637c *virtualbox-6.1_6.1.42-155177~Ubuntu~jammy_amd64.deb


$ openssl dgst -sha256 VirtualBox-6.1.42-155177-OSX.dmg

SHA256(VirtualBox-6.1.42-155177-OSX.dmg)= 73cb0f215f5c24480496562173618093c9b101293a18b447de7d1a1747cb8abd


Install only the SHA256 checksum matched


How to validate downloaded VirtualBox 7.0.6 on macOS

https://www.virtualbox.org/wiki/Downloads


SHA256 checksums values retrieved from https://www.virtualbox.org/download/hashes/7.0.6/SHA256SUMS

21c3595361bb2365efe6139f1da724d362daa63fb92c38f686a01aa9200628b2 *Oracle_VM_VirtualBox_Extension_Pack-7.0.6-155176.vbox-extpack

292961aa8723b54f96f89f6d8abf7d8e29259d94b7de831dbffb9ae15d346434 *Oracle_VM_VirtualBox_Extension_Pack-7.0.6.vbox-extpack

292961aa8723b54f96f89f6d8abf7d8e29259d94b7de831dbffb9ae15d346434 *Oracle_VM_VirtualBox_Extension_Pack-7.0.6a-155176.vbox-extpack

54e091d30bdca351a5039c521601bdbf05f7e78e439fda6785eb1fe3084c528d *SDKRef.pdf

8feb54658307920a70c70928b16d2376787e90e874fd8d2ad5261fddea1e121b *UserManual.pdf

21e0f407d2a4f5c286084a70718aa20235ea75969eca0cab6cfab43a3499a010 *VBoxGuestAdditions_7.0.6.iso

5c637c44bf111aa79ed3c08b24e3f52c0af5da8ac2295df5c2eba89c2b951bfb *VirtualBox-7.0-7.0.6_155176_el7-1.x86_64.rpm

962246ae8e4a40a036a70e450afab9bb5010edf94ddf0cdcee8069d8039c203d *VirtualBox-7.0-7.0.6_155176_el8-1.x86_64.rpm

0f68d72d81df76c9a190449447dddf88472be629739cf6bcd1e973dc6149ddfb *VirtualBox-7.0-7.0.6_155176_el9-1.x86_64.rpm

17376cb4c0268582ca6a036654d666fc043cbe2dbce18bbec5ac0b0a755799cc *VirtualBox-7.0-7.0.6_155176_fedora35-1.x86_64.rpm

6c6ed9d6b8f21d8bbc9b6e1b9c92113b1ed623df4636bafade397cccf272f755 *VirtualBox-7.0-7.0.6_155176_fedora36-1.x86_64.rpm

b705fc3f6a0a86f056de1da746da17f83e471e4d6a72472dcd1614b0797f75be *VirtualBox-7.0-7.0.6_155176_openSUSE153-1.x86_64.rpm

caae9dd190d7b427e15efe256e99b4d840a296d78b9e5faa1d1a8d5099301f06 *VirtualBox-7.0.6-155176-Linux_amd64.run

f3d0bd75daaa9beb81c03fe5201fd49a39bd251bedb324e21adbd6ff047898c3 *VirtualBox-7.0.6-155176-OSX.dmg

46cf5c5b8ba81250adb825c35c85e2da63e5119fba264bc0b7f91eab44c4f244 *VirtualBox-7.0.6-155176-Solaris.p5p

93e6f4fce921a5d142afb989237412664038eaaaecb30332975f842e59753275 *VirtualBox-7.0.6-155176-SunOS.tar.gz

a4142ecf52657bd6e06b66573919ac342ef460a61f4ee7d35c235c54640c3a39 *VirtualBox-7.0.6-155176-Win.exe

f146d9a86a35af0abb010e628636fd800cb476cc2ce82f95b0c0ca876e1756ff *VirtualBox-7.0.6.tar.bz2

0f3c380155a2bf8582058b1d7ae073a7fa76f9c1843f7e78c3dfe6cdcefe73bd *VirtualBox-7.0.6_BETA4-155176-macOSArm64.dmg

adf8095a0f4ae1a195de841f0354d1fbae6a2b7b577a4fa1e59c0848ddcf2ae4 *VirtualBoxSDK-7.0.6-155176.zip

a489b56e7812c87c67405d577ab059fe2dcb341810a4ab1f2a1f124f60bfaa10 *virtualbox-7.0_7.0.6-155176~Debian~bullseye_amd64.deb

2270687ca6fa4eb269d5b5752200192f468793b34fde88b2b2debe32f45196a3 *virtualbox-7.0_7.0.6-155176~Debian~buster_amd64.deb

93e150bed07714dfc633154e08ebe35e0b2c0fd84cd10b3361574e18ff76487e *virtualbox-7.0_7.0.6-155176~Ubuntu~bionic_amd64.deb

403d310dde348eba5519a72ea3441f9b04d35a29193d6f84a94a6a43e2cb7459 *virtualbox-7.0_7.0.6-155176~Ubuntu~focal_amd64.deb

5a5a183e8099ce689901084bc8d5dad408c6d442e53a49a73962b54ffc90866c *virtualbox-7.0_7.0.6-155176~Ubuntu~jammy_amd64.deb


$ openssl dgst -sha256 VirtualBox-7.0.6-155176-OSX.dmg

SHA256(VirtualBox-7.0.6-155176-OSX.dmg)= f3d0bd75daaa9beb81c03fe5201fd49a39bd251bedb324e21adbd6ff047898c3


Install only the SHA256 checksum matched


Tuesday, December 6, 2022

How to Verify the Integrity of the Downloaded Keka the macOS file archiver

Go to https://www.keka.io/en/

Download v1.2.58
36.4 MB | Requires Mac OS X 10.10 or newer
Changelog | Legacy | Helper | iOS
MD5: 316c2614330f6a9bf8776eb312c6d54f

$ openssl dgst -md5 Keka-1.2.58.dmg
MD5(Keka-1.2.58.dmg)= 316c2614330f6a9bf8776eb312c6d54f

Is the hash match?

Source code https://github.com/aonez/Keka

Monday, September 7, 2020

Validate integrity of VirtualBox downloaded files on Mac

$ openssl dgst -sha256 VirtualBox-6.1.14-140239-OSX.dmg 
SHA256(VirtualBox-6.1.14-140239-OSX.dmg)= 3abeee4822707db2f949431391dba27827840aa5390a9ec4e1bafdc5c8c3aaaa

$ openssl dgst -sha256 Oracle_VM_VirtualBox_Extension_Pack-6.1.14.vbox-extpack
SHA256(Oracle_VM_VirtualBox_Extension_Pack-6.1.14.vbox-extpack)= b224e796e886b19bce69f0aaedf6ca82bad0ca29c61fb0ed86166efb84356942

3abeee4822707db2f949431391dba27827840aa5390a9ec4e1bafdc5c8c3aaaa *VirtualBox-6.1.14-140239-OSX.dmg
b224e796e886b19bce69f0aaedf6ca82bad0ca29c61fb0ed86166efb84356942 *Oracle_VM_VirtualBox_Extension_Pack-6.1.14.vbox-extpack

Reference:

Tuesday, February 11, 2020

How to verify checksum of a downloaded file on MacOS

$ openssl dgst -sha256 VirtualBox-6.1.2-135662-OSX.dmg

SHA256(VirtualBox-6.1.2-135662-OSX.dmg)=

20fb52bbd7edec58c9eef69046240a809091727872b8b4b254db272ffd6950b4



$ openssl dgst -sha256 Oracle_VM_VirtualBox_Extension_Pack-6.1.2.vbox-extpack

SHA256(Oracle_VM_VirtualBox_Extension_Pack-6.1.2.vbox-extpack)=

54047312d836c17ef0939410f755cb5a23e3037ec402198cc97f755181b25632



Compare result with value in

https://www.virtualbox.org/download/hashes/6.1.2/SHA256SUMS



Reference: https://apple.stackexchange.com/questions/230917/need-a-cli-to-check-the-sha256-hash-of-a-file

Sunday, June 30, 2013

Install Windows 8.1 Preview on VirtualBox

When I installed Windows 8.1 Preview on VirtualBox 4.2.14 hosted on Mac OS/X machine, I got this error:
“Your PC need to restart, Please hold down the power button Error Code : 0x000000C4”.

Here is a solution I found at https://www.virtualbox.org/ticket/10792:
Open terminal windows and execute this command:
VBoxManage setextradata [vmname] VBoxInternal/CPUM/CMPXCHG16B 1
where [vmname] is your Windows 8.1 virtual machine name.

Here is my screenshot: Install Visual Studio 2013 Preview on Windows 8.1 Preview

Update on July 10: You need to the Oracle VirtualBox 4.2.16 or later to install VirtualBox Addition in order to make the full screen, shared folder and other features.

Friday, May 17, 2013

Android Studio

On Google IO 2013, Google introduced Android Studio, based on IntelliJ IDEA, a new tool for Android developers. I liked it. Since it was a preview version, Google noted:
Caution: Android Studio is currently available as an early access preview. Several features are either incomplete or not yet implemented and you may encounter bugs. If you are not comfortable using an unfinished product, you may want to instead download (or continue to use) the ADT Bundle (Eclipse with the ADT Plugin).
As soon it posted on developer.android.com, I downloaded and installed on three platforms: Ubuntu 13.04, Mac OS/X Lion 10.7.5 and Windows Vista. On Ubuntu 13.04 with OpenJDK 1.7, I got this error message:
'tool.jar' is not in Android Studio class path. Please ensure JAVA_HOME points to JDK rather than JRE.
I have no problem using Eclipse Juno (4.2.2) for Android development on this machine. Ran android-studio/bin/studio.sh at a terminal, there was a warning:
WARNING: You are launching the IDE using OpenJDK Java runtime. ITS KNOWN TO HAVE PERFORMANCE AND GRAPHICS ISSUES! SWITCH TO THE ORACLE(SUN) JDK BEFORE REPORTING PROBLEMS!
Downloaded and switched to Oracle (Sun) JDK from OpenJDK on Ubuntu 13.04 according to Hendré's blog, problem solved.

On Mac OS/X with Java 1.6.0_45, I got Android Studio ran immediately without hicup. After I made a new simple project to test, I could not load any Android Virtual Device. To work around, I opened Android Virtual Device Manager from Eclipse Juno to load the Android Application launched from Android Studio.

On Windows Vista with JRE 7 installed only, Nothing running after executed Android Studio (c:\android-studio\studio,exe) application. Tried to replaced Oracle JRE 7 with Oracle JDK 7, no luck. Solution: Added environment variable JAVA_HOME with value "C:\Program Files\Java\jdk1.7.0_21) to system variables. Further reading:

Sunday, November 25, 2012

How to Open the HTML File in Plain Text Mode Using TextEdit

Open the HTML file using TextEdit in Mac/OS will render it in the rich text format by defaut. If you would like to view the HTML tags or edit it by typing your own HTML statements, you need to open it in plain text format. To open in plain text form:
  1. Click on Preferences
  2. Select the Open and Save
  3. Click on 'Ignore rich text commands in HTML files




 This is why many developers prefer to use gedit from GNOME as a text editor

Saturday, July 14, 2012

How to show hidden files in Mac OS X

To show hidden files in Mac OS X:
1. Open terminal
2. Type the following command turn show hidden files:
defaults write com.apple.Finder AppleShowAllFiles true
3. Restart the Finder application by this command
killall Finder

To hide the hidden files, replace the 'true' value with 'false' in command at step 2 above

Saturday, May 5, 2012

Quickly Lock Your Screen using Keyboard

To quickly lock your computer using keyboard shortcut:
  1. On Ubuntu: Press <Ctrl><Alt>L at the same time 
  2. On Apple OS/X: Press <Shift><Ctrl><Eject> keys at the same time 
  3. On Microsoft Windows: Press <Windows> and L keys at the same time 

Wednesday, March 21, 2012

Read Error in LibreOffice

If you cannot open the LibreOffice document due to read error as the picture below

Un-install LibreOffice version 3.4 and install LibreOffice 3.5 will solve the problem. I got this problem when saved a file in LibreOffice 3.5 in Mac and attemped to open it in Ubuntu.

Sunday, February 26, 2012

Automatically Show and Hide Dock Bar on MacBook Pro

By default, the dock bar always show on MacBook Pro. It consume a lot of space on screen. To make it automatically hide and show:

1. Right click the middle space between icon, go to dock preferences.

2. Check automatically hide and show the Dock

or
Click on the Apple icon on the top left screen to access Dock preferences
or really quick: Press <option><command><command>D keys at the same time to turn on/off the automatically hide and show the Dock

How to Install Keka on macOS

Download latest version from https://www.keka.io/en/ Copy the MD5 hash value from Keka website to compare later (MD5: 8729f9d08d10293fa1ee65...