this post was submitted on 15 Jun 2023
5 points (100.0% liked)

Linux

48655 readers
407 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I sometimes have to use remote systems that I don't have root access to. I often find that I need to install packages in my home directory, so either I build from source or copy over my own pre-compiled versions.

Recently I've found out about pkgsrc. I'm looking for opinions from anyone who has used it to install packages without root access. Any feedback is useful!

top 5 comments
sorted by: hot top controversial new old
[–] JollyGreen_sasquatch 1 points 2 years ago (1 children)

What packages in particular? I have seen people use https://asdf-vm.com/ for what you are asking for installing tools like kubectl/helm/terraform in their home dir as a user.

My current work uses pkgsrc and it seems more designed for making firmware images. We are trying to get off of pkgsrc as it has us locked into running rhel 7 currently.

[–] TwinTurbo 1 points 2 years ago (1 children)

Shell tools, mostly. For example: ripgrep, nnn, or newer versions or vim or tmux.

Does pkgsrc need RHEL 7? If so, I wouldn’t be able to use it.

[–] JollyGreen_sasquatch 1 points 2 years ago

It doesn't need rhel 7, our issue is that we compiled it on rhel 7 and then built apps that link against that compiled version, and since it has hard links to packages at rhel 7 versions. So we are a bit stuck on rhel 7 until we get off of it completely.

[–] [email protected] 1 points 2 years ago (1 children)
[–] TwinTurbo 1 points 2 years ago

I don't have experice with either of those. Are they suitable for the use case in my post?