Fish is a smart and user-friendly command line (like bash or zsh). This is how you can instal Fish on MacOS and make your default shell.
Note that you need the https://brew.sh/ package manager installed on your machine.
brew install fish
mkdir -p ~/miniconda3 | |
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh | |
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3 | |
rm -rf ~/miniconda3/miniconda.sh | |
# after this, init fish shell | |
~/miniconda3/bin/conda init fish |
Fish is a smart and user-friendly command line (like bash or zsh). This is how you can instal Fish on MacOS and make your default shell.
Note that you need the https://brew.sh/ package manager installed on your machine.
brew install fish
# install deps | |
sudo pacman -Sy --noconfirm base-devel | |
yay -Sy --noconfirm ros2-arch-deps | |
yay -Sy --noconfirm ros2-pyqt5-sip-compat | |
yay -Sy --noconfirm sip4 | |
# modify /usr/share/sip/PyQt5/QtCore/QtCoremod.sip | |
sed -n '23 s/Module.*/Module PyQt5.QtCore/p' /usr/share/sip/PyQt5/QtCore/QtCoremod.sip | |
# install ros2 from AUR |
echo 'deb http://deb.xanmod.org releases main' | sudo tee /etc/apt/sources.list.d/xanmod-kernel.list | |
wget -qO - https://dl.xanmod.org/gpg.key | sudo apt-key --keyring /etc/apt/trusted.gpg.d/xanmod-kernel.gpg add - | |
sudo apt update | |
sudo apt install linux-xanmod-rt-x64v3 | |
sudo addgroup realtime | |
sudo usermod -a -G realtime $(whoami) | |
#### add the following limits to the realtime group in /etc/security/limits.conf | |
# @realtime soft rtprio 99 |
The rt kernel I tested at this moment is 5.15.21-rt30 (Feb 2022).
Follow a community contributed tutorial to install the latest stable RT_PREEMPT version https://docs.ros.org/en/foxy/Tutorials/Building-Realtime-rt_preempt-kernel-for-ROS-2.html
Open Software & Updates. in the Ubuntu Software menu tick the ‘Source code’ box.
Important
One thing before start the below process is to make sure your non-rt kernel and installed rt-kernel has same or close major version, in my most recent test case, it is 6.5.0 for generic vs 6.6.40 for rt.
Step. 0: First, install the rt kernel but dont boot into the rt version OS right now. Install the Nvidia driver first in your non rt OS. When you installed your OS this has probably been done, but check if you got the nvidia-kernel-source, if not,
Here is a way to do a robust install of Ubuntu (+ optional Windows 11 dual boot and LUKS encryption) on an Asus laptop, with minimal usable hardware support, without a significant amount of tinkering that may break in future or require frequent technical attention.
Upgrade the kernel by installing xanmod kernel is very convenient. Read more here: https://xanmod.org/
echo 'deb http://deb.xanmod.org releases main' | sudo tee /etc/apt/sources.list.d/xanmod-kernel.list
wget -qO - https://dl.xanmod.org/gpg.key | sudo apt-key --keyring /etc/apt/trusted.gpg.d/xanmod-kernel.gpg add -
sudo apt update && sudo apt install linux-xanmod
Reboot after installation.
curl -L -O https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-$(uname)-$(uname -m).sh | |
bash Mambaforge-$(uname)-$(uname -m).sh |
# essentials | |
sudo apt-get update | |
sudo apt-get install -y build-essential git ssh openssl libssl-dev openvpn net-tools nmap fping curl gcc g++ | |
sudo apt-get upgrade -y | |
# Install Anaconda | |
cd Downloads | |
wget https://repo.anaconda.com/archive/Anaconda3-2021.11-Linux-x86_64.sh | |
sudo chmod +x Anaconda3-2021.11-Linux-x86_64.sh | |
bash Anaconda3-2021.11-Linux-x86_64.sh |