Code Monkey home page Code Monkey logo

crux-install-guide's Introduction

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

crux-install-guide's People

Contributors

isotop7 avatar

Watchers

 avatar

crux-install-guide's Issues

Add Thunar

Add needed steps for thunar file manager

Move manual builds to ports

The goal is to move all manual build processes to the ports repo.
Only builds that I will not be publishing on ports are kernel related because its the Crux-way and my kernel is highly dependent on my hardware.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.