721_bipsty

joined 1 month ago
MODERATOR OF
[–] 721_bipsty@lemmy.ml 3 points 7 hours ago (3 children)

Haha, i have no idea how to take screenshoots so i just copied command from archwiki

[–] 721_bipsty@lemmy.ml 3 points 10 hours ago* (last edited 10 hours ago) (1 children)

Thank you for your comment, maybe people wont read 1:1 code, atleast they will learn how this kinda works, because now they just install things, but looking at templates they can actually understand its kinda simple script and get the idea of how it works. Also i wasn't comparing exactly xbps main void repos to AUR but overall xbps-src to aur, which can be similar because people can share templates, anyway we should still understand what package manager does and what download scripts are doing. Also void has runit so this mean u have to get more simple programs to run system like seatd dbus and etc. So overall i 2 arguments of void being better in understand of OS is actually knowing how to maintain packages and how system works from boot. Anyway i understand it is your opinion, all i can is tell u my opinion.

Edit: when i used systemd my system booted in 13sec, now on runit its 8sec, not really important thing but still

55
submitted 11 hours ago* (last edited 11 hours ago) by 721_bipsty@lemmy.ml to c/linux@lemmy.ml
 

Helloo, firstly this might be long post about people talking void linux hasnt much packages in opposite of arch which has aur, so i will try conveince some people to void linux and will tell also something about package managers.

Package manager is a thing that keeps organized all programs on your pc, normally u would have to go to site, download .deb or .tar.xz and etc. package manager takes cares of doing that and manager also integrates this package with system, so when theres update and something is added or deleted, package manager will take care of all.

Okay, so if its only downloading then why AUR has 97587 packages, and XBPS-SRC (void linux - aur alternative kinda) has much less? It's because AUR is community, anyone can maintain some package, XBPS-SRC also has community but by pulling requests to merge TEMPLATES, but that doesn't mean u can't add your own TEMPLATES.

Wait, wait, wait, what are TEMPLATES?

Its kind of script which makes Package manager do its thing. Templates in XBPS-src and "PKGBUILD?" in AUR are similar.

We have to tell in this script: what package, what version, give link to download and etc.

Example of TEMPLATE in XBPS-SRC for DISCORD:

# Template file for 'discord'
pkgname=discord
version=0.0.96
revision=1
archs="x86_64"
depends="alsa-lib dbus-glib gtk+3 libnotify nss libXtst libcxx libatomic
 xdg-utils webrtc-audio-processing libXScrnSaver"
short_desc="Chat and VOIP application"
maintainer="Ryan Conwell <ryanconwell@protonmail.com>"
license="custom:Proprietary"
homepage="https://discord.com/"
distfiles="https://dl.discordapp.net/apps/linux/$%7Bversion%7D/discord-$%7Bversion%7D.tar.gz"
checksum=2b885df8aa69310726f46149e39c42d48eda8f14b53aae605b5d7fa6410c4c0c
repository=nonfree
restricted=yes
nopie=yes
nostrip=yes

do_install() {
	local package_location="usr/lib/$pkgname" item
	vmkdir usr/share/pixmaps
	vcopy discord.png /usr/share/pixmaps/
	vmkdir usr/share/applications
	vcopy discord.desktop /usr/share/applications/
	vmkdir ${package_location}
	chmod +x Discord
	for item in \
		locales \
		resources \
		Discord \
		libffmpeg.so \
		snapshot_blob.bin \
		discord.png \
		icudtl.dat \
		libEGL.so \
		libGLESv2.so \
		chrome_100_percent.pak \
		chrome_200_percent.pak \
		chrome-sandbox \
		chrome_crashpad_handler \
		resources.pak \
		libvulkan.so.1 \
		v8_context_snapshot.bin \
		postinst.sh \
		libvk_swiftshader.so \
		vk_swiftshader_icd.json
	do
		vcopy "${item}" "${package_location}"
	done
	vmkdir usr/bin
	ln -sfr $DESTDIR/${package_location}/Discord $DESTDIR/usr/bin/Discord
}

post_install() {
	vlicense $FILESDIR/LICENSE
}

Okay, but still AUR has much much more packages than xbps-src, why should i use it then? Why should i learn how to make templates?

I hope u don't use AUR blindly and just do yay -S something without looking what pkgbuild is doing, it might be dangerous not knowing what program can do and what script that is downloading it too right? XBPS-SRC learns you how to maintain packages.

Also theres way to share Templates with other by importing REPO of some templates, like librewolf-void repo and etc. So there's way to share packages.

So this is my way to conveince you to use void linux :). IN MY OPINION, void is what people think arch is. A diy distro with learning curve to understand how OS works. ARCH is great!, but void gives you more knowledge of what things systemd takes care.

To make thing little bit funnier theres easy and really nice (experimental and not official) script of installing void :

https://github.com/kkrruumm/void-install-script

THANK YOU FOR READING! I might not be clear or right in some things so tell me about that in comment, i will read everything.

SOURCES:

https://xbps-src-tutorials.github.io/packaging/j4-dmenu-desktop.html
https://github.com/void-linux/void-packages
[–] 721_bipsty@lemmy.ml 2 points 1 day ago (1 children)

So should i do used - cache = actual ram? Why then ive seen people have like 100M of ram, could u check my repplyes on this post?

[–] 721_bipsty@lemmy.ml 1 points 1 day ago (2 children)

Freshly rebooted into tty and used free and used: 618876, the thing that takes the most ram is NetworkManager with 17M of ram

 

Hello, cant attach image cause of file size, i have fresh void linux base install in tty and btop tells me i use 500-600MiB of ram but my top 3 services uses 7-25M and rest are 5>, free -m also tells me 600M but why this much with not much services?

[–] 721_bipsty@lemmy.ml 2 points 2 days ago

wow, first time i see gif as profile pic :D yeah i disabled like 2 days ago votes and now i have actually no idea what comment on this post can have down or up votes and truly it feels nice, I recommend it to everybody

[–] 721_bipsty@lemmy.ml 1 points 2 days ago

ive watch luke smith and he talks alot that we shouldnt be emotionally linked to social medias, hiding likes and etc might kinda help?

[–] 721_bipsty@lemmy.ml 2 points 2 days ago (2 children)

is piefed alternative to lemmy?

 

When you see something has too much up or down votes, does this change your point of view? Also how many people hides votes and etc?

Edit: also is there any eay yo disable scores like 100%😀 in voyager for lemmy?

[–] 721_bipsty@lemmy.ml 1 points 3 days ago (1 children)

But will it be safe? Wouldnt that mean that somebody who owns this card would somehow have access to my device?

[–] 721_bipsty@lemmy.ml 3 points 4 days ago (3 children)

yeah, but wont it be the same? probably sim and esim will somehow link my phone and my personality will be linked into phone

[–] 721_bipsty@lemmy.ml 2 points 4 days ago

no, but already used the card for many accounts

 

I have 2nd hand pixel 8a with grapheneos and i havent putted sim card in it since i have it, in my country i have to have registered sim card, iam afraid of IMEI be linked with sim card and once i put it in im f**ked, the reason i need to put card is to verify bank which need sim card being in device.

I did some research but became dumb from too much information

(sorry for my english :D)

Edit: also i want to be private because of my feature, idk if i wont live in country where propaganda is normal

view more: next ›