Husband, father, kabab lover, history buff, chess fan and software engineer. Believes creating software must resemble art: intuitive creation and joyful discovery.
Views are my own.
Thanks! So much for my reading skills/attention span 😂
Which Debian version is it based on?
RE Go: Others have already mentioned the right way, thought I’d personally prefer ~/opt/go
over what was suggested.
RE Perl: To instruct Perl to install to another directory, for example to ~/opt/perl5
, put the following lines somewhere in your bash init files.
export PERL5LIB="$HOME/opt/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"
export PERL_LOCAL_LIB_ROOT="$HOME/opt/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"
export PERL_MB_OPT="--install_base \"$HOME/opt/perl5\""
export PERL_MM_OPT="INSTALL_BASE=$HOME/opt/perl5"
export PATH="$HOME/opt/perl5/bin${PATH:+:${PATH}}"
Though you need to re-install the Perl packages you had previously installed.
This is fantastic! 👏
I use Perl one-liners for record and text processing a lot and this will be definitely something I will keep coming back to - I’ve already learned a trick from “Context Matching” (9) 🙂
TBH I use whatever build tool is the better fit for the job, be it Gradle, SBT or Rebar.
But for some (presumably subjective) reason, I like GNU Make quite a lot. And whenever I get the chance I use it - esp since it’s somehow ubiquitous nowadays w/ all the Linux containers/VMs everywhere and Homebrew on Mac machines.
That single line of Lisp is probably (defmacro generate-compiler (...) ...)
which GCC folks call every time they decide to implement a new compiler 😆
I agree w/ you RE posts looking horrible 👍
Though I’d say for one-liners like this, it’s mostly OK. It gets really messy when folks post more complex posts and mention and tag a bunch of times.
Any error logs? Try launching things from the terminal and note down any messages that are printed there.
That’s a good question 💯 In my case too, it took me some time (read years 😂) to figure out what I’m comfortable w/.
I can think of 3 major ways that you can navigate the filesystem while being able to drop to a shell when you need it:
dired
and tramp
on your machine to access/navigate the target machine.emacs-nox
) on the target machine, SSH and then run emacs-nox
and voila! No need for tramp
in this scenario.mc
) which offers a TUI pretty much like Norton Commander (nc
) from the days of yore.cd
, pushd
& popd
) to move around. That is
/usr/share
or /opt
) and try to follow the same pattern when rolling your own software installations.rpm -q --list
is what you usually need.HTH
messing with the partition any more than I already have
Running fsck
is a harmless and actually pretty useful operation, esp if you boot using a USB stick.
But yes, never hurts to have backups - easier said than done 😂
I’m not on a Debian-based system but a recent experience w/ packaging a software as a DEB was quite eye-opening 😅 The format and the build process felt too cluttered (to me) and it wasn’t easy for me to wrap my head around it.
I’m happy that folks are working on alternatives ✌️
Have you tried booting into recovery mode and perform a fsck
on the drive - using the grub menu? Or you could boot via USB and try the procedure.
I wanted to say “I’m not sure. I’m not on Ubuntu” but then I remembered about distrobox 😄
It took only a few minutes to confirm that the links I shared earlier (https://lemmy.ml/comment/3090571) do NOT install the snap version.
Would it make sense to stick to the good old DEB package instead of the snap then?
The Mozilla Team PPA seems to be legit. If you’re not sure how to do it, please take a look at OMGI Ubuntu guide which uses the same PPA.
Not an Ubuntu user, but I think it’s all about how a snap uses filesystem, esp directories which are not writable by the “world”, such as your home directory.
Have you tried installing a non-snap version to confirm the theory?
Interestingly “Bazzi” means “game” in Farsi 🤷♂️
I didn’t like the capitalised names so configured xdg to use all lowercase letters. That’s why
~/opt
fits in pretty nicely.You’ve got a point re
~/.local/opt
but I personally like the idea of having the important bits right in my home dir. Here’s my layout (which I’m quite used to now after all these years):$ ls ~ bin desktop doc downloads mnt music opt pictures public src templates tmp videos workspace
where
bin
is just a bunch of symlinks to frequently used apps fromopt
src
is where i keep clones of repos (but I don’t do work insrc
)workspace
is a where I do my work on git worktrees (based offsrc
)