/r/AlpineLinux

Photograph via snooOG

Unofficial community devoted to Alpine Linux, a security-oriented, lightweight Linux distribution based on musl libc and busybox.

/r/AlpineLinux

3,996 Subscribers

0

Intel a310 GPU

Hi, all.

Do we have sorry for Intel's a310 GPU, please?

0 Comments
2024/11/07
13:20 UTC

3

Alpine not shows all my RAM?

I have installed alpine and it works great! I only have one problem. In total i have 32GB of RAM installed but alpine shows only 4GB as available (Neofetch, Htop, free -m)

Other distros i have tested show the correct of RAM.

What could be the problem?

EDIT: i installed the i686 Version 😅 dont know how and why but thats the solution i guess

7 Comments
2024/11/07
10:16 UTC

1

ParquetSharp.LogicalTypeFactory library missing

Hi All,

I am trying to spin up .NET 8 docker image in Alpine linux and while I successfully tried using the MS .NET Alpine linux tags:

mcr.microsoft.com/dotnet/sdk:8.0-alpine3.20 for build  & 

mcr.microsoft.com/dotnet/aspnet:8.0-alpine3.20 for runtime

I keep getting the below error message:

fail: Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware[1]


      An unhandled exception has occurred while executing the request.


      System.TypeInitializationException: The type initializer for 'ParquetSharp.LogicalTypeFactory' threw an exception.


       ---> System.DllNotFoundException: Unable to load shared library 'ParquetSharpNative' or one of its dependencies. In order to help diagnose loading problems, consider using a tool like strace. If you're using glibc, consider setting the LD_DEBUG environment variable:


      Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by /publish/runtimes/linux-x64/native/ParquetSharpNative.so)


      Error loading shared library /usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.10/ParquetSharpNative.so: No such file or directory


      Error loading shared library /publish/ParquetSharpNative.so: No such file or directory


      Error loading shared library ParquetSharpNative.so: No such file or directory


      Error loading shared library /publish/runtimes/linux-x64/native/libParquetSharpNative.so: No such file or directory


      Error loading shared library /usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.10/libParquetSharpNative.so: No such file or directory


      Error loading shared library /publish/libParquetSharpNative.so: No such file or directory


      Error loading shared library libParquetSharpNative.so: No such file or directory


      Error loading shared library /publish/runtimes/linux-x64/native/ParquetSharpNative: No such file or directory


      Error loading shared library /usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.10/ParquetSharpNative: No such file or directory


      Error loading shared library /publish/ParquetSharpNative: No such file or directory


      Error loading shared library ParquetSharpNative: No such file or directory


      Error loading shared library /publish/runtimes/linux-x64/native/libParquetSharpNative: No such file or directory


      Error loading shared library /usr/share/dotnet/shared/Microsoft.NETCore.App/8.0.10/libParquetSharpNative: No such file or directory


      Error loading shared library /publish/libParquetSharpNative: No such file or directory


      Error loading shared library libParquetSharpNative: No such file or directory




         at ParquetSharp.LogicalType.LogicalType_None(IntPtr& logicalType)


         at ParquetSharp.ExceptionInfo.Return[TValue](GetAction`1 getter)


         at ParquetSharp.LogicalType.None()


         at ParquetSharp.LogicalTypeFactory..cctor()

Does anyone have any idea on why this is happening? And if there is any workaround for this?

TIA

0 Comments
2024/11/05
21:10 UTC

1

Alpine Linux can’t see my partitions in the install script

I’m dual booting with Windows and Debian at the moment and have been for about a year now (on the same drive), but I wanted to create a small install of Alpine Linux. I created a 5GB partition using MiniTool Partition Wizard specifically for it.

However, the install script on the Live USB doesn’t see any of my partitions, only the entire drive. Running blkid shows them all, but Alpine still can’t see any of them.

Does anyone know why this is happening or what I can do to fix it? I'd really like to be able to install it on it's own partition, then choose it in GRUB when I boot. Thank you

2 Comments
2024/11/04
20:51 UTC

2

http/3.0 nginx

Nginx officialy support http/3.0 since 1.25, or on v3.20.x and on edge as well we have 1.26 without http3_mod! I need to compile and build it… Is there any issues, concernes on this support in Alpine?

4 Comments
2024/11/04
20:01 UTC

2

Xorg not working

I installed icewm on alpine then run setup-xorg-base after that I launched Xorg and see xf86OpenConsole: Cannot open virtual console 1(Permission denied)

5 Comments
2024/11/02
07:48 UTC

2

Help needed - Diskless mode documentation in wiki

I'm trying to consolidate information related to Diskless mode in Alpine Linux wiki to a single start page with improved navigation to other related pages. The draft currently resides here. Since i have only tested Diskless mode to understand how it works, i'm a bit unsure if my understanding is correct. So, i want feedback from experts here who have deployed and using diskless mode in production.

If you've account in wiki, please correct the mistakes in the draft directly or in Discussion page. Alternately, please leave your feedback here in reddit itself.

Also please take this opportunity to leave your feedback on the "data mode" documentation too i.e what needs to be fixed or added. The current wiki page for both data and diskless mode is here..

5 Comments
2024/10/31
17:04 UTC

1

Openconnect-sso possible?

Hello,

Trying to install to connect to work:

https://pypi.org/project/openconnect-sso/

other distros are ok, alpine is eluding me. Anyone know if it's possible?

Cheers!

0 Comments
2024/10/29
13:04 UTC

1

Qemu on alpine

Tried to install qemu on alpine with apk add qemu qemu-img qemu-system-x86_64 but i get error saying no such package for all 3 packages

2 Comments
2024/10/28
14:26 UTC

1

Encrypted btrfs raid can't be mounted

I'm trying to set up automatic mapping and mounting 2 luks filesystems, 2nd one is btrfs raid on 2 encrypted volumes. Mapping is successful, but raid can't be mounted, and ash says "no such file or directory". Dmesg tells one of disks is missing, but 'btrfs filesystem show` says everything is fine. I tested on another system(arch Linux) nd raid successfully mounted. Where could be a problem? Thx

4 Comments
2024/10/27
09:03 UTC

2

podman issues and alpine on ram

Hi guys, I'll put below some doubts and questions I have. Sorry if they are already been asked, I've done a quick search and I've not found much.

Bit of preamble: I'm currently running a tiny home server with docker on debian, so I'm not completely newbie.

I fell in love with Alpine and its way to make things minimal, quick and effective, therefore I decided to move all my containers to Alpine and switch to podman instead of docker.

Here comes the questions:

  1. I'd like to run podman and my containers on Alpine which ideally will run completely on RAM. I tried and I'm not completely sure how this works. The containers are vaultwarden and nextcloud, which both need to write and read data. can I mount an external disk for that and keep Alpine on RAM?

  2. I also tested to install Alpine on system (sys) and podman works just fine, however keeps giving me an alert about / not being shared. I've read the wiki and I've added "shared" on my fstab, however this warning message keeps coming back.

  3. on debian (therefore with systemd) I'd have a service called "podman-restart.sh" which will allow any container to re-start automatically at any reboot of the machine. how can I achieve this with Alpine and openrc?

That's all for now. Hope someone can help, thank you a lot!

11 Comments
2024/10/25
21:12 UTC

1

How do I install things not in the Apk repositories

Hello, I am relatively still a beginner at linux and installed alpine on an ol chromebook I got. I then went to install a couple things but apk does not have them. So I tried pipx but pipx is also not working. I am trying to install sherlock and gpt4all. Also any tips would be appreciated. Im more used to apt but I guess it's a bad idea to have that with apk. Anyway thanks :)

1 Comment
2024/10/25
13:02 UTC

3

APKBUILD packages essentially analogous to Arch PKGBUILD?

OK, so I know the two distros are different, and Alpine came from a Gentoo ebuild originally, but am I the only one who, through parallel convergence, mutual admiration, or some other phenomenon, thinks that APKBUILDs and PKGBUILDs are essentially the same thing at this point?

Other than having a different package system (are .apks compressed with gzip instead of zstd?), Alpine using musl instead of glib, and openRC instead of systemd, aren't they essentially the same thing?

Another stunning similarity along the same lines is the community build recipe repositories, with Arch having AUR, and Alpine having aports, and the build systems, with Arch having Arch Build Scripts (ABS), and Alpine with apkbuild.

Am I mad?

5 Comments
2024/10/24
23:53 UTC

2

proper way to install to R-Pi Zero W SD card (noob alert)

Good morning, Long time Debian user, first try with Alpine. I've copied the image (alpine-rpi-3.20.3-armhf.img.gz) to an SD card and it boots and runs fine. I ran the setup setup-alpine and skipped the part where it asks to choose media to install to. Following this everything seemed to work fine. Eventually I ran into a 'No space left on device' and saw that /dev/mmcblk0p1 was at 99%. I repeated the install and this time in setup I chose mmcblk0 as the installation target. That trundled along for a bit until the system encounterd an Internal error: Oops: 5 [#1] ARM which can be viewed at https://photos.app.goo.gl/KS3D7v1AsiWe7XyGA.

Is this the desired installation strategy or do I need to install to media other than what the Pi Zero booted from?

Is there a current guide for installing to an SD card on an R-Pi Zero W?

Thanks!

7 Comments
2024/10/24
16:49 UTC

1

Make service wait until time is synced

I am trying to setup a Rasbperry Pi 4 using Alpine that will be installed in a remote location and make a persistent VPN connection to a central site. The system time must be correct, otherwise the certificates used for the VPN auth are not considered valid. I am using the default chronyd NTP client and Strongswan as the VPN client. I cannot find a way to make Strongswan wait until chronyd synchronizes the time before starting. I thought adding chronyd to the "need" line of the depend() section of the Strongswan service file would do this, but that didn't seem to change anything. It is completely random whether Strongswan starts before or after the time syncs; I rebooted the box 10 times and 6 out of the 10 it started too early, attempted the VPN connection, rejected it due to invalid cert lifetime, and gave up. I have written a periodic 15min cron script that restarts Strongswan if it's not running, but this is dumb, there should be a way to force it to wait. Thanks in advance for ideas.

3 Comments
2024/10/24
10:10 UTC

1

Which Alpine Desktop works on USB Drive? XFCE hangs on boot

Update: It would be very helpful to troubleshoot if smbd with 3rd gen Intel CPU (or 2nd gen) could share /var/log/Xorg.0.log and Xorg.1.log (after any desktop boot on Alpine).

Or all of /var/log/Xorg.*.

There're differences in Xorg.0.log with my Ubuntu setup, but I cannot determine which ones are important if any.

Hi!

Which of easy to install Desktops for Alpine work on USB flash drive?

Please indicate is you have a personal experience with installing Alpine +DE on USB.

Alpine version you used, if it was flash/ssd/hdd drive and any other details are usefull also.

I tried installing Alpine + XFCE (XFCE installed with "setup-desktop") several times on 2 different flash drives - it always hangs at boot w/o any error message and totally black screen.

Intel Sandy Bridge CPU.

"setup-desktop" for XFCE result was smth like "Success. Please reboot".

Right after installation, pure standard Alpine w/o XFCE boots fine from USB.

Installed Alpine to USB using Virtualbox and standard ISO (all the rest was done on physical laptop).

Chosen "Cryptsys" install option.

My laptop is old and should be very well tested/supported by now.

I'm looking for WRITABLE under 8GB installed rescue type distro for troubleshooting non-standard boot process/initramfs issues, any advise on distro is welcome.

Update: MATE with Alpine hangs also on USB drive (in the same way as in XFCE case described above).

Thank you.

15 Comments
2024/10/23
18:48 UTC

1

pdf2djvu?

How to install pdf2djvu on alpine linux?

14 Comments
2024/10/23
04:16 UTC

3

I can't get sh/ash to remember the aliases

I am newbie on Alpine Linux, running the latest release. I am trying to make my aliases permanent, following the various instructions I found on forums, but I am not succeeding. Firstly I saved my alias commands in the files .ashrc and .profile, both in /home/myusername/ After reboot, the aliases do not work. Secondly, I have also tried putting them in a .sh file (marked as executable) in /etc/profile.d/ Then I reboot, and the aliases are not working. Funny fact: after running manually the file aliases.sh (which I created in /etc/profile.d) from the command line, the aliases are not set, despite the fact that I get no error message. However, if I set the aliases from the command line, they work fine (until the next reboot) Any idea on how to solve this? Thanks

16 Comments
2024/10/20
21:05 UTC

1

Steam?

At some point i might repair my desktop, and the goto distro is Ubuntu.

However, alpine sounds good too. Does Steam work fine there?

Does it have support for Nvidia/AMD GPUs?

7 Comments
2024/10/18
22:19 UTC

17

Alpine Linux Review

I have an Acer laptop with 64 GB eMMC storage , 4 GB of DDR3 RAM, and a Celeron N3350 processor. Unfortunately, the hardware isn't upgradable. I use Windows 10 primarily because I need MS Office for work. However, with only 64 GB of storage, things get cramped quickly—Windows 10 and MS Office together take up almost 45 GB.

To address this, I created an 8 GB partition for Alpine Linux and installed it alongside Windows. I opted for SwayWM as my window manager and use Alpine for coding (web development) and media consumption. The difference in performance is remarkable. Alpine boots in just 10 to 15 seconds, whereas Windows takes nearly a minute and still lags for a while afterward. Once Alpine is up, it's instantly usable, and applications launch two to three times faster.

On Windows, my laptop struggles to handle 720p videos on YouTube, often dropping frames. In contrast, Alpine smoothly plays 4K videos. Even more impressively, it uses just 150 MB of memory while idle. The battery life has also improved by about two hours since switching to Alpine.

Overall, it's been a fantastic experience, and Alpine Linux has significantly enhanced my laptop's usability.

3 Comments
2024/10/18
10:07 UTC

3

Ancient laptop install possible?

Hello!

I've successfully installed Alpine before, but this one is vexing me.

I've a very old Dell mini 1012 (currently running archlinux).

$ lspci
00:00.0 Host bridge: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx DMI Bridge05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller (rev 02)
07:00.0 Network controller: Broadcom Inc. and subsidiaries BCM4312 802.11b/g LP-PHY (rev 01)

Using alpine-extended-3.20.1-x86_64.iso, I boot the iso and run setup-alpine, but the install can't detect either ethernet or wifi (so fails).

For the wifi, installing b43-fwcutter may help, but I can't access the internet to do this.

Would anyone know of a workaround?

4 Comments
2024/10/17
08:47 UTC

1

Hello, I'm using alpine as a desktop os and I have a problem with network menager

The thing is that I'm connected to the WI Fi but I cannot reconnect or change wifi because it shows "network unavailable", I use gnome gui

3 Comments
2024/10/16
18:56 UTC

1

NVIDIA Alpine

My Nvidia card simply crashes with Nouveau when I open the graphical interface. And I saw that there is no nvidia driver in the repositories, what should I do?

2 Comments
2024/10/15
00:31 UTC

1

How to get LWJGL and Nouveau to work

Today I installed Alpine. I like to use Minecraft as a graphical test of sorts, but there are a few problems:

First of all, my monitor, which runs at 165hz and worked perfectly on Arch, goes dark at that refresh rate. At 60hz though, it flashes quite a lot to where using the computer is annoying. 144hz is the only refresh rate setting that acts normally.

Second of all, Nouveau does not work. I have my computer plugged into the GPU through DisplayPort, and have tried installing xf86-video-nouveau, but that did not work. What I got was the screen at 60hz in the TTY, flashing, and an inability to start X11. I tried again, but instead plugged my monitor into my CPU, however it yielded the same result, but with a different error from Xinit.

On top of that however, LWJGL just flat out refuses to work properly on most versions of Minecraft. Only 1.13-1.18.2 work. I have tried Gcompat, and for every version I tested (except for those before 1.13), LWJGL 3.2.2 was used.

9 Comments
2024/10/14
20:56 UTC

1

Can't reboot alpine

Hello everyone, so I use alpine linux as my daily on my laptop. The issue is that I actually can't reboot using the reboot command. The halt and poweroff commands also don't work. The only way for me to reboot is to manually hold down the power key for a while. any pointers?

When I type the reboot, halt or poweroff commands, nothing happens and the command exits successfully. Any help?

15 Comments
2024/10/14
15:48 UTC

1

how to install docker 27.x on alpine 3.20?

apk add docker gives me last major release of docker 26 without container.io. I searched around, failed to find a way to install the latest docker 27 version. is it not yet supported or sth else?

14 Comments
2024/10/14
15:34 UTC

4

Question

Stupid question but does alpine Linux work with Xeon cpus I know it’s a stupid question but just wondering

2 Comments
2024/10/13
20:38 UTC

3

What is exactly does the pacman package do?

Can I install arch linux packages with it? I really have no idea and nothign shows up when I google, DDG or bing it. Just curious.

13 Comments
2024/10/11
14:32 UTC

Back To Top