Whatever works for you, as long as you update the contents of the file.
Personally I use emacs which I believe supports editing of remote files over ssh but there probably exist similar solutions for other editors.
Alternatively you could install a TUI editor like (neo)vi(m), emacs or nano on the VPS and use it from the ssh session to edit files just like you'd do locally.
My first non-de setup was i3, it's pretty easy to get started with and neat if it works for you, although I've grown to prefer automatic tiling (dwm/awesome-like) over the years.
Other ones I like are awesome (insanely configurable using lua), dwm (the same but in c), xmonad (the same but in haskell), qtile (the same but in python), bspwm (if you like writing shell scripts, dash is highly recommended where you don't need bash for a responsiveness boost), and I think herbstluftwm might be similar to bspwm but I've never tried it personally.
I suggest trying out different setups until you find out one you like.
For completion's sake, nowadays I'm daily driving kde plasma with krohnkite for a tiling wm-like setup, it works well enough for me and I like all the kde niceties.
You'll probably want to start some additional services and configure your setup further, the way of doing these things depends on what DE/WM you pick and what exactly you want to get out of your installation.
And just a tip: try not to follow any tutorials that aren't on the official wiki, the wiki is the best resource if you take the time to read it and try to understand what you're reading.
If you need any help you can ask and I'll try to answer, but try searching on the wiki first.
Honestly I have no idea, I don't know the software you're trying to use, don't use snaps and prefer using aur packages + firejail or flatpak instead.
Still, I tried to search for the error message on the snapcraft forums and it seems like most of the posts referencing similar errors are from people creating snaps: https://forum.snapcraft.io/search?q=version%20%5Cglibc
My suggestion to you would be to ask there and maybe in the meantime try finding your apps on the aur or on flathub instead.
In that case I have an idea as for what the problem might be:
The profile files are written in posix sh, and fish only understands a small subset of it (it's on purpose).
What I did was use the fisher package manager (from the aur) to install bax (a program that lets you source bash files from fish), and then added a line to my fish config that uses it to source /etc/profile once when I log in:
# put this at the top of
# ~/.config/fish/config.fish
# after installing bax using fisher.
# note: you need to log out for
# the changes to take effect.
if status --is-login
bax source /etc/profile
end
That's if you use fish as your user's shell (if you used chsh to switch to fish).
If you use bash or any other posix compatible shell to start fish (I think the wiki shows how to do that) the profile should be sourced by the parent shell and the environment variables defined in it will be inherited by fish.
EDIT: I wrote this on mobile so if the formatting is off tell me and I'll fix it on my laptop.
I meant sourcing the file like . /path/to/file.sh as opposed to sudo sh /path/to/file.sh, since I don't think the system profile file has anything special in it that makes it persist if you run it as root (please do correct me if I'm wrong).
As a fish user I just make sure to only use supported syntax ( export NAME=val and "$VAR" ) in my profile and then in my user fish config I only source the profile if status --is-login exits with 0, that works well enough for me.
I also use the bax package (installed using fisher) to source the global profile on login, which I believe is necessary since fish is my user shell (changed with chsh ).
So it's not a generally applicable solution but it can be adapted to other shells with relative ease (for example I think zsh has a zprofile file which you can source ~/.profile from).
your
..abbreviation is redundant, fish treats..the same ascd ..out of the box.Would you really know it if you got hacked though?
Interesting, I stand corrected.
Don't we have a
providesmechanism to express that multiple packages can providelinux-headersand then a dkms module can depend on any one of those?It's not perfect as it'll gladly let you use the wrong headers for your kernel but I think it's better than nothing.
If you don't use a package and nothing you use depends on the package then you don't need it, simple as that.
You can use
pacman -Qii linux-headers(or-Siiif you don't have the package installed) to see what depends onlinux-headers.Well do you have a JDK installed?
The package name is
jdk-openjdk.Then try running just the command
netbeansand show whatever errors come upHow did you install it?
Not a solution to your problem but according to this wiki page you can use optifine with multimc
https://github.com/MultiMC/MultiMC5/wiki/MultiMC-and-OptiFine
One environment I know provides it is Termux on Android, which I assume is because it's in a non-standard location.
Whatever works for you, as long as you update the contents of the file.
Personally I use emacs which I believe supports editing of remote files over ssh but there probably exist similar solutions for other editors.
Alternatively you could install a TUI editor like (neo)vi(m), emacs or nano on the VPS and use it from the ssh session to edit files just like you'd do locally.
My first non-de setup was i3, it's pretty easy to get started with and neat if it works for you, although I've grown to prefer automatic tiling (dwm/awesome-like) over the years.
Other ones I like are awesome (insanely configurable using lua), dwm (the same but in c), xmonad (the same but in haskell), qtile (the same but in python), bspwm (if you like writing shell scripts, dash is highly recommended where you don't need bash for a responsiveness boost), and I think herbstluftwm might be similar to bspwm but I've never tried it personally.
I suggest trying out different setups until you find out one you like.
For completion's sake, nowadays I'm daily driving kde plasma with krohnkite for a tiling wm-like setup, it works well enough for me and I like all the kde niceties.
I also recommend using dash instead of bash for sxhkd and your window management scripts, it makes things much faster.
I think for the former there's an env var you can set, look up "sxhkd dash" or something like that for more info.
I'd imagine that git exits with a successful status code if everything went well, maybe check for that?
You do you, I'm just saying that imo emacs is a better vim.
I use doom emacs because I'm a vim guy ๐
Perhaps this will be helpful?
https://superuser.com/questions/85449/hosts-file-and-unblocked-subdomains#85451
You might want to consider using a firewall or a DNS server that blocks things instead.
What exactly do you need help with?
For installing packages, read the wiki page about pacman.
You'll probably want to start some additional services and configure your setup further, the way of doing these things depends on what DE/WM you pick and what exactly you want to get out of your installation.
And just a tip: try not to follow any tutorials that aren't on the official wiki, the wiki is the best resource if you take the time to read it and try to understand what you're reading.
If you need any help you can ask and I'll try to answer, but try searching on the wiki first.
Honestly I have no idea, I don't know the software you're trying to use, don't use snaps and prefer using aur packages + firejail or flatpak instead.
Still, I tried to search for the error message on the snapcraft forums and it seems like most of the posts referencing similar errors are from people creating snaps:
https://forum.snapcraft.io/search?q=version%20%5Cglibc
My suggestion to you would be to ask there and maybe in the meantime try finding your apps on the aur or on flathub instead.
Glad to have helped :)
According to replay's issue tracker
bax.fishis still there, it's just deprecated.So yeah changing the command name is a good idea.
I think you need to specify "owner/repo" where owner is a github user (or organization) and repo is a repo belonging to that user.
Also bax was apparently renamed to replay.
See this for the correct installation command: https://github.com/jorgebucaran/replay.fish
In that case I have an idea as for what the problem might be:
The profile files are written in posix sh, and fish only understands a small subset of it (it's on purpose).
What I did was use the
fisherpackage manager (from the aur) to installbax(a program that lets you source bash files from fish), and then added a line to my fish config that uses it to source/etc/profileonce when I log in:That's if you use fish as your user's shell (if you used
chshto switch to fish).If you use bash or any other posix compatible shell to start fish (I think the wiki shows how to do that) the profile should be sourced by the parent shell and the environment variables defined in it will be inherited by fish.
EDIT: I wrote this on mobile so if the formatting is off tell me and I'll fix it on my laptop.
I meant sourcing the file like
. /path/to/file.shas opposed tosudo sh /path/to/file.sh, since I don't think the system profile file has anything special in it that makes it persist if you run it as root (please do correct me if I'm wrong).Wouldn't you need to source it?
And would rebooting even be necessary?
Also op, do you use fish by any chance?
As a fish user I just make sure to only use supported syntax (
export NAME=valand"$VAR") in my profile and then in my user fish config I only source the profile ifstatus --is-loginexits with 0, that works well enough for me.I also use the bax package (installed using fisher) to source the global profile on login, which I believe is necessary since fish is my user shell (changed with
chsh).So it's not a generally applicable solution but it can be adapted to other shells with relative ease (for example I think zsh has a
zprofilefile which you can source~/.profilefrom).