Skip to content
This repository has been archived by the owner on Dec 23, 2023. It is now read-only.
/ crux-install-guide Public archive

Braindump for installing and customizing CRUX

Notifications You must be signed in to change notification settings

Isotop7/crux-install-guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 

Repository files navigation

CRUX install guide

  • Supported CRUX version: 3.6
  • Install steps may also work on other CRUX versions

Install/update kernel

Info: https://www.kernel.org/

Tested version: ---

Dependencies

none

Installation

# Switch to root user
sudo su

# Set kernel version
VERSION="5.15.12"

# Move to /usr/src dir
cd /usr/src

# Get kernel source
wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-${VERSION}.tar.xz

# Extract kernel source
unxz linux-${VERSION}.tar.xz

# Untar kernel source
tar -xf linux-${VERSION}.tar

# Remove tar file and cd to new kernel source
rm linux-${VERSION}.tar && cd linux-${VERSION}

# Get old kernel config
zcat /proc/config.gz > .config

# Optional: If your switching between major and minor branches, run `make oldconfig` first to see new kernel features
make oldconfig

# If needed, edit kernel config
make menuconfig

# Build kernel
make all

# Build modules
make modules_install

# Copy new kernel and system.map
cp arch/x86/boot/bzImage /boot/vmlinuz-${VERSION}
cp System.map /boot

# Update grub
grub-mkconfig -o /boot/grub/grub.cfg

Xfce

Info: http://dlc.casita.net/~dlc/CRUX/xfce_4.16/

Tested version: Xfce 4.16

Dependencies

none

Installation

# Downloads ports file
wget http://dlc.casita.net/~dlc/CRUX/xfce_4.16/.xfce_4.16.httpup -O xfce_4.16.httpup

# Copy file to ports dir
sudo cp xfce_4.16.httpup /usr/ports

# Add new directory to prt-get.conf
sudo echo "prtdir /usr/ports/xfce_4.16" >> /etc/prt-get.conf

# Update ports
sudo ports -u

# Install basic packages
sudo prt-get depinst xfdesktop xfce4-settings xfwm4 xfce4-session

Polybar

Fixes

Use shutdown commands without sudo

Add the following line to your sudoers file in /etc/sudoers with <username> being your username:

<username> ALL=(ALL) NOPASSWD: /sbin/poweroff,/sbin/reboot,/sbin/shutdown

In your polybar config, use the following calls to restart and shutdown:

# Shutdown
sudo /sbin/shutdown -Ph now

# Reboot
sudo /sbin/reboot

Urxvt

Info: http://software.schmorp.de/pkg/rxvt-unicode.html

Tested versions:

  • 9.26
  • 9.29

Dependencies

libptytty

Dependencies
sudo prt-get depinst cmake
Installation
wget http://dist.schmorp.de/libptytty/libptytty-2.0.tar.gz
tar -xzf libptytty-2.0.tar.gz && rm libptytty-2.0.tar.gz
cd libptytty-2.0
cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON .
cmake --build .
sudo cmake --install .

Installation

wget http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-9.29.tar.bz2
tar -xvjf rxvt-unicode-9.29.tar.bz2 && rm rxvt-unicode-9.29.tar.bz2
cd rxvt-unicode-9.29
./configure --prefix=/usr --enable-everything --enable-256-color --enable-text-blink --enable-fading --enable-font-styles --enable-pixbuf --enable-iso14755 --enable-mousewheel --enable-perl --enable-unicode3 --enable-xft
make
sudo make install

obconf

lxappearance

Discord

mtPaint

MenuMaker

QEMU

Dependencies

none

Installation

sudo prt-get depinst qemu

About

Braindump for installing and customizing CRUX

Topics

Resources

Stars

Watchers

Forks