Asahi has partnered with Fedora to run Linux (Fedora Asahi Remix) on M1, M2 and M3 Apple computers.
To install Fedora 40:
curl https://alx.sh | sh
Reference: Introducing Fedora Asahi Remix - The most polished Linux® for Apple Silicon Macs.
The same procedure for installing Nordvpn on a Raspberry Pi also works here:
sh <(curl -sSf https://downloads.nordcdn.com/apps/linux/install.sh)
Vi Improved, Vim, is not installed by default. Install it:
sudo dnf install vim
Create and install a vim runtime configuratino file in your home directory. My ".vimrc" file is:
set pastetoggle=<F2>
set showmode
set number
set tabstop=4
set shiftwidth=4
set expandtab
set autoindent
set wrap
set linebreak
set mouse=a
filetype plugin indent on
let g:html_indent_inctags="html,head,body,style"
syntax on
Set the setuid flag on "mount.cifs":
sudo chmod u+s /usr/sbin/mount.cifs
Add a mount statement to your /etc/fstab file. For example:
//NAS_IP/Shared_Folder /media/mounting-point-directory cifs username=NAS_user_name,noauto,users,vers=3.0,rw 0 0
Note the "noauto". Hence, you must manually mount the network attached storage:
mount /media/mounting-point-directory
Also note that the password was not included in the fstab statement. Hence, you will be prompted for the password when you manually mount the drive.
On Fedora 40 - Asahi Remix, the SSH Server (ssh deamon) does not start up at boot. This may be a good thing since this is running on a MacBook Air M2, and you usually do not want someone logging into a laptop. However, for testing purposes, you want it enable
To determine if the SSH Server is currenty running:
sudo systemctl status sshd.service
To enable the SSH Server for the current session:
sudo systemctl start sshd.service
To stop the SSH Server:
sudo systemctl stop sshd.service
Fedora 40 does not come with a pre-installed video player.
Before you can install VLC, you have to add and enable the RPM Fusion repository:
sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
Then install VLC:
sudo dnf install vlc