Skip to main content

void install xbps-static

get static xbps

 https://docs.voidlinux.org/xbps/troubleshooting/static.html

https://repo-default.voidlinux.org/static

https://repo-default.voidlinux.org/static/xbps-static-0.33_4.x86_64-musl.tar.xz

tar xf  xbps-static-0.33_4.x86_64-musl.tar.xz

 

https://docs.voidlinux.org/installation/guides/chroot.html

 

glibc mirror

# REPO=https://repo-default.voidlinux.org/current
set arch if using static xbps as its musl linked and defaults to so 
# ARCH=x86_64 
# mkdir -p /mnt/var/db/xbps/keys
# cp var/db/xbps/keys/* /mnt/var/db/xbps/keys/ 
# XBPS_ARCH=$ARCH ./xbps-install -S -r /mnt -R "$REPO" base-system 
XBPS_ARCH=x86_64 ./xbps-install --sync  --rootdir /mnt --repository=https://repo-default.voidlinux.org/current base-system

 

install

XBPS_ARCH=x86_64 ./xbps-install --sync  --rootdir /mnt --repository=https://repo-default.voidlinux.org/current base-minimal
[*] Updating repository `https://repo-default.voidlinux.org/current/x86_64-repodata' ...

Name Action Version New version Download size
xbps-triggers install - 0.125_1 11KB
base-files install - 0.143_3 61KB
glibc install - 2.36_1 8684KB
acl install - 2.3.1_1 16KB
attr install - 2.5.1_1 9098B
gmp install - 6.3.0_1 256KB
libcap install - 2.69_2 25KB
coreutils install - 9.3_1 3198KB
findutils install - 4.9.0_1 467KB
diffutils install - 3.10_1 372KB
dash install - 0.5.12_1 86KB
libpcre2 install - 10.42_1 501KB
grep install - 3.11_1 253KB
gzip install - 1.13_1 83KB
sed install - 4.9_1 228KB
ncurses-libs install - 6.4_1 324KB
libreadline8 install - 8.2.001_1 147KB
gawk install - 5.1.1_1 1131KB
eudev-libudev install - 3.2.12_1 74KB
util-linux-common install - 2.38.1_4 1547KB
libblkid install - 2.38.1_4 153KB
libcap-ng install - 0.8.3_2 12KB
libuuid install - 2.38.1_4 17KB
libfdisk install - 2.38.1_4 208KB
libmount install - 2.38.1_4 171KB
libsmartcols install - 2.38.1_4 108KB
pam-libs install - 1.5.3_2 35KB
zlib install - 1.3_1 53KB
util-linux install - 2.38.1_4 1347KB
which install - 2.21_4 16KB
tar install - 1.35_1 816KB
pam-base install - 0.4_2 1812B
pam install - 1.5.3_2 327KB
shadow install - 4.8.1_2 280KB
procps-ng install - 4.0.4_1 777KB
iana-etc install - 20230629_1 65KB
libcrypto3 install - 3.1.2_1 1829KB
libssl3 install - 3.1.2_1 259KB
openssl install - 3.1.2_1 708KB
run-parts install - 4.11.2_2 11KB
ca-certificates install - 20230311+3.92_1 158KB
bzip2 install - 1.0.8_2 60KB
liblz4 install - 1.9.4_1 66KB
liblzma install - 5.4.4_1 99KB
libzstd install - 1.5.5_2 315KB
libarchive install - 3.6.2_3 353KB
libxbps install - 0.59.2_1 137KB
xbps install - 0.59.2_1 109KB
libdb install - 5.3.28_8 782KB
nvi install - 1.81.6_19 248KB
tzdata install - 2023a_2 228KB
runit install - 2.1.2_15 402KB
runit-void install - 20230413_1 31KB
removed-packages install - 0.1.20230918_2 6347B
glibc-locales install - 2.36_1 5430KB
base-minimal install - 0.3_1 676B

Size to download: 32MB
Size required on disk: 130MB
Space available on disk: 15GB
 
 
XBPS_ARCH=x86_64 ./xbps-install --sync  --rootdir /mnt --repository=https://repo-default.voidlinux.org/current runit-void
[*] Updating repository `https://repo-default.voidlinux.org/current/x86_64-repodata' ...

Name Action Version New version Download size
glibc install - 2.36_1 8684KB
ncurses-libs install - 6.4_1 324KB
libreadline8 install - 8.2.001_1 147KB
gawk install - 5.1.1_1 1131KB
procps-ng install - 4.0.4_1 777KB
runit install - 2.1.2_15 402KB
runit-void install - 20230413_1 31KB

Size to download: 11MB
Size required on disk: 45MB
Space available on disk: 15GB
 
XBPS_ARCH=x86_64 ./xbps-install --sync  --rootdir /mnt --repository=https://repo-default.voidlinux.org/current xbps
[*] Updating repository `https://repo-default.voidlinux.org/current/x86_64-repodata' ...

Name Action Version New version Download size
libcrypto3 install - 3.1.2_1 1829KB
libssl3 install - 3.1.2_1 259KB
openssl install - 3.1.2_1 708KB
run-parts install - 4.11.2_2 11KB
ca-certificates install - 20230311+3.92_1 158KB
acl install - 2.3.1_1 16KB
bzip2 install - 1.0.8_2 60KB
liblz4 install - 1.9.4_1 66KB
liblzma install - 5.4.4_1 99KB
libzstd install - 1.5.5_2 315KB
zlib install - 1.3_1 53KB
libarchive install - 3.6.2_3 353KB
libxbps install - 0.59.2_1 137KB
xbps-triggers install - 0.125_1 11KB
xbps install - 0.59.2_1 109KB

Size to download: 4192KB
Size required on disk: 12MB
Space available on disk: 15GB
 
XBPS_ARCH=x86_64 ./xbps-install --sync  --rootdir /mnt --repository=https://repo-default.voidlinux.org/current shadow
[*] Updating repository `https://repo-default.voidlinux.org/current/x86_64-repodata' ...

Name Action Version New version Download size
pam-base install - 0.4_2 1812B
pam-libs install - 1.5.3_2 35KB
pam install - 1.5.3_2 327KB
attr install - 2.5.1_1 9098B
shadow install - 4.8.1_2 280KB

Size to download: 655KB
Size required on disk: 3501KB
Space available on disk: 15GB

Do you want to continue? [Y/n] 
 
 ./xbps-install --sync  --rootdir /mnt --repository=https://repo-default.voidlinux.org/current base-files
 
 
coreutils
[*] Updating repository `https://repo-default.voidlinux.org/current/x86_64-repodata' ...

Name Action Version New version Download size
gmp install - 6.3.0_1 256KB
libcap install - 2.69_2 25KB
coreutils install - 9.3_1 3198KB 
 
 coreutils util-linux
[*] Updating repository `https://repo-default.voidlinux.org/current/x86_64-repodata' ...

Name Action Version New version Download size
gmp install - 6.3.0_1 256KB
libcap install - 2.69_2 25KB
coreutils install - 9.3_1 3198KB
eudev-libudev install - 3.2.12_1 74KB
util-linux-common install - 2.38.1_4 1547KB
libblkid install - 2.38.1_4 153KB
libcap-ng install - 0.8.3_2 12KB
libuuid install - 2.38.1_4 17KB
libfdisk install - 2.38.1_4 208KB
libmount install - 2.38.1_4 171KB
libsmartcols install - 2.38.1_4 108KB
util-linux install - 2.38.1_4 1347KB 
 
 

ln -sf /usr/share/zoneinfo/Asia/Kathmandu /etc/localtime
 
 
 xbps-reconfigure -fa
 
xbps-install -Syu


skip ssl error 

export SSL_NO_VERIFY_PEER=1

 

When using static XBPS with a glibc installation, the environment variable XBPS_ARCH needs to be set.

 

 

cat /etc/xbps.d/ignoreold.conf 

 ignorepkg=linux-firmware-amd
ignorepkg=linux-firmware-intel
ignorepkg=linux-firmware-nvidia
ignorepkg=linux-firmware-broadcom
ignorepkg=linux-firmware-network
ignorepkg=dbus
ignorepkg=dbus-x11
ignorepkg=nvi
ignorepkg=ffplay
ignorepkg=dracut

 

cat /etc/xbps.d/igonre.conf
ignorepkg=xorg-server-xwayland
ignorepkg=ffplay
ignorepkg=adwaita-icon-theme
ignorepkg=swaybg
ignorepkg=dbus
ignorepkg=dbus-x11

 

 

BTRFS_OPTS="rw,noatime,ssd,compress=zstd"
mount -o $BTRFS_OPTS /dev/nvme0n1p5 /mnt 
doas arch-chroot /mnt 

 

 
 mkdir /mnt/etc/xbps.d/ -p  
  nano  /etc/xbps.d/ignore.conf  

 

 nano /etc/xbps.d/noextract.conf

#clean locales
noextract=/usr/share/locale/*
noextract=!/usr/share/locale/locale.alias

#clean manpage
noextract=/usr/share/man/*
noextract=!/usr/share/man/man*

noextract=/usr/share/backgrounds/*
noextract=/usr/lib/d3d/*


oldnoextract.conf

noextract=!/usr/share/locale/en/*
noextract=!/usr/share/locale/en@quot/*
noextract=!/usr/share/locale/en@boldquot/*
noextract=!/usr/share/locale/en@shaw/*
noextract=!/usr/share/locale/en_US/*
noextract=/usr/share/locale/*

#clean manpage
noextract=!/usr/share/man/man[1-9]/*
noextract=!/usr/share/man/en*/*
noextract=/usr/share/man/*

 

 

en@quot: The en@quot locale is used for typesetting text in English, with a focus on using straight double quotation marks (" ") instead of curly or smart quotes. Straight quotes are often used in technical documentation, code, or plain-text files to ensure that quotation marks do not get automatically transformed into curly or smart quotes by text processing software.

en@boldquot: The en@boldquot locale is similar to en@quot but with a distinction in the representation of double quotation marks. In en@boldquot, double quotes may be presented in a bold or emphasized style to make them stand out. This could be useful in certain formatting scenarios.

en@shaw: The en@shaw locale is a specialized English locale designed for typesetting in the Shavian alphabet, which is an alternative writing system for English. The Shavian alphabet was created by George Bernard Shaw and is primarily used for phonetic representation of English words. The en@shaw locale facilitates the rendering of text in this alphabet.


These locales are not commonly used in typical everyday computing environments but are useful in specific contexts where precise control over text formatting or the representation of the English language is necessary. You would typically encounter them in documentation, specialized text processing tasks, or specific projects that require their usage.

 

 

 

xbps-install tzdata

xbps-install mdocml 

sudo xbps-install grim slurp jq wl-clipboard


 

 cp -R /etc/sv/agetty-tty1 /etc/sv/agetty-autologin-tty1
 
nano /etc/sv/agetty-autologin-tty1/conf
GETTY_ARGS="--skip-login --nonewline --noissue --autologin kai --noclear "
TERM_NAME=foot

rm /var/service/agetty-tty1 ln -s /etc/sv/agetty-autologin-tty1 /var/service
 
nano .bashrc 
# [[ -t 0 && $(tty) == /dev/tty1 && ! $DISPLAY ]] && sway

#[[ -t 0 && $(tty) == /dev/tty1 && ! $DISPLAY ]] && exec sway &> /dev/null 
src:
https://wiki.voidlinux.org/voidlinux_en_all_2021-04/A/Automatic_Login_to_Graphical_Environment
 
 
who(pkg) owns file
 xbps-query -o   

 

https://docs.mesa3d.org/gallium-nine.html

 

get manually installed package list 

xbps-query -m | awk -F'-[0-9]' '{ print $1 }' 

alsa-lib
alsa-utils
apulse
base-files
bash
bash-completion
btrfs-progs
coreutils
dash
dbus-glib
desktop-file-utils
diffutils
dumb_runtime_dir
eudev
file
findutils
foot
foot-terminfo
glibc-locales
grep
gzip
hicolor-icon-theme
htop
iana-etc
intel-media-driver
mdocml
mesa-dri
mpv
nano
neofetch
nnn
ntfs
opendoas
openresolv
runit-void
seatd
sed
shadow
sway
tzdata
util-linux
wofi
xbps
zstd

 

xbps-query  bash
alternatives:
  sh:
      sh:/usr/bin/bash
      sh.1:/usr/share/man/man1/bash.1
architecture: x86_64
conflicts:
    chroot-bash>=0
filename-sha256: 06f1ee4bc7ec84ed8df7c8bc3e7152275c008b797f6fb30671c3f333c4117986
filename-size: 1674KB
homepage: https://www.gnu.org/software/bash/bash.html
installed_size: 7595KB
license: GPL-3.0-or-later
maintainer: Enno Boland <[email protected]>
pkgname: bash
pkgver: bash-5.2.015_1
repository: https://repo-default.voidlinux.org/current
run_depends:
    glibc>=2.36_1
shlib-requires:
    libc.so.6
short_desc: GNU Bourne Again Shell
source-revisions: bash:7653695819

xbps-query 

 -l, --list-pkgs
       Lists registered packages in the package database
       (pkgdb).  A package can be in any of the following
       states:

       ii Package is installed.
       uu Package is unpacked but must be configured with
       xbps-reconfigure(1).
       hr Package is half-removed, and can be fully removed
       with xbps-remove(1).
       ?? Package state is unknown.

 

-L --list-repos    

-H --list-hold-pkgs  

-m --list-manual-pkgs   

-O --list-orphans   

-o --ownedby FILE   STRING or REGEX

 -s --search PKG 

 -S --show PKG   default mode 

 -f --files PKG    Show package files

-x --deps PKG 

 -X --revdeps PKG 

 


>xbps-query  -o /usr/bin/bash
bash-5.2.015_1: /usr/bin/bash (regular file)

 

xbps-query  -o  test --regex

 


>xbps-query  -o /usr/bin/test
coreutils-9.3_1: /usr/bin/test (regular file)

 

 



Comments

Popular posts from this blog

sxhkd volume andbrightness config for dwm on void

xbps-install  sxhkd ------------ mkdir .config/sxhkd cd .config/sxhkd nano/vim sxhkdrc -------------------------------- XF86AudioRaiseVolume         amixer -c 1 -- sset Master 2db+ XF86AudioLowerVolume         amixer -c 1 -- sset Master 2db- XF86AudioMute         amixer -c 1 -- sset Master toggle alt + shift + Escape         pkill -USR1 -x sxhkd XF86MonBrightnessUp          xbacklight -inc 20 XF86MonBrightnessDown          xbacklight -dec 20 ------------------------------------------------------------- amixer -c card_no -- sset Interface volume run alsamixer to find card no and interface names xbps-install -S git git clone https://git.suckless.org/dwm xbps-install -S base-devel libX11-devel libXft-devel libXinerama-devel  vim config.mk # FREETYPEINC = ${X11INC}/freetype2 #comment for non-bsd make clean install   cp config.def.h config.h vim config.h xbps-install -S font-symbola #for emoji on statusbar support     void audio config xbps-i

download office 2021 and activate

get office from here  https://tb.rg-adguard.net/public.php open powershell as admin (win+x and a ) type cmd  goto insall dir 1.         cd /d %ProgramFiles(x86)%\Microsoft Office\Office16 2.           cd /d %ProgramFiles%\Microsoft Office\Office16 try 1 or 2 depending on installation  install volume license  for /f %x in ('dir /b ..\root\Licenses16\ProPlus2021VL_KMS*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%x" activate using kms cscript ospp.vbs /setprt:1688 cscript ospp.vbs /unpkey:6F7TH >nul cscript ospp.vbs /inpkey:FXYTK-NJJ8C-GB6DW-3DYQT-6F7TH cscript ospp.vbs /sethst:s8.uk.to cscript ospp.vbs /act Automatic script (windefender may block it) ------------------------------------------------------------------------------------------------------------------- @echo off title Activate Microsoft Office 2021 (ALL versions) for FREE - MSGuides.com&cls&echo =====================================================================================&

Hidden Wiki

Welcome to The Hidden Wiki New hidden wiki url 2015 http://zqktlwi4fecvo6ri.onion Add it to bookmarks and spread it!!! Editor's picks Bored? Pick a random page from the article index and replace one of these slots with it. The Matrix - Very nice to read. How to Exit the Matrix - Learn how to Protect yourself and your rights, online and off. Verifying PGP signatures - A short and simple how-to guide. In Praise Of Hawala - Anonymous informal value transfer system. Volunteer Here are five different things that you can help us out with. Plunder other hidden service lists for links and place them here! File the SnapBBSIndex links wherever they go. Set external links to HTTPS where available, good certificate, and same content. Care to start recording onionland's history? Check out Onionland's Museum Perform Dead Services Duties. Introduction Points Ahmia.fi - Clearnet search engine for Tor Hidden Services (allows you