This is exactly where I am. Perfect install into USER ~/.local/bin but now ------- > specifically HOW to add the PATH?
Is there anything in your
.profile (or
.bash_rc or
.bash_profile) in your home dir?
The "default" .profile in my Linux Mint install had this code at the bottom:
...
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
If you have that... your PATH should automagically have ~/.local/bin whenever you open a new terminal.
Making some decent progress. Looking at my original sudo gedit .profile I see this:
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
____________________________
So I notice that the final piece of the puzzle is missing. Therefore I added the section you noted above:
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
________________
Now my sudo gedit .profile shows:
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
# my edit of sudo gedit .profile
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
________________
I now see the .electrum folder (with 51.8 meg of files) if I look in my home/user folder. Remember the install went perfectly so its there!
Last piece is to figure out how to launch Electrum? If I type electrum or .electrum in a terminal no go. If I copy another icon how would I target electrum to mount it? Even if I had to write an executable shell script to mount it I'ld be OK with it. Seems like an Electrum icon is missing. Target/mount ideas?