Further to Julian’s note, the only criteria I consider is “just for me” (my home folder) or system wide (/opt/… then with permissions of course)…/Rob
> On 2 Sep 2020, at 5:13 am, Julian Fondren <[email protected]> wrote: > > On 2020-09-01 14:02, Devon McCormick wrote: >> Hi - I just installed Ubuntu under Windows 10 but it's been a while since I >> have used a *nix. What is the preferred location to install it? >> Thanks, >> Devon > > It doesn't really matter where you put it. I'd just suggest > adding bin to your PATH or making symlinks of > bin/{jconsole,jqt,jhs} to some place in your PATH, like ~/bin > > Everything in the extracted directory works right out of that > directory, and uses relative paths, so system installation > isn't necessary. System installation also isn't that > convenient, as you then have to use root to install or update > packages. > > So for example if you're looking at a just extracted j902 dir, > > $ cd j902 > $ ./updateje.sh > $ ./updatejqt.sh > > Then just start J with one of > > $ bin/jconsole > $ bin/jqt > $ bin/jhs > > Or make symlinks > > $ ln -s $PWD/bin/jconsole ~/bin/j > $ ln -s $PWD/bin/jqt ~/bin/jqt > $ ln -s $PWD/bin/jhs ~/bin/jhs > > Then you can just type 'j' from anywhere to get a console. > > If you want a J icon in your KDE/Gnome/&c application menu, > this probably works: > > cat > /usr/share/applications/jqt.desktop <<'EOF' > [Desktop Entry] > Version=1.0 > Type=Application > Name=JQt > Exec=PATH/TO/j902/bin/jqt > Icon=PATH/TO/j902/bin/icons/jgreen.png > Comment=J QT environment > Categories=Development;IDE; > Terminal=false > EOF > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
