parcellite in Ubuntu (downloaded from http://parcellite.sourceforge.net/)
After installing from sources,
sudo make install, I can see that it is installed at below location.
However, when I try to run it, it tries to run it from another path. Why is that?
user$ which parcellite /usr/local/bin/parcellite user$ parcellite -h bash: /usr/bin/parcellite: No such file or directory
$PATH is as below
I tried changing ownership of executable as follows. Still the problem persists.
user$ ls -l /usr/local/bin/parcellite -rwxr-xr-x 1 root root 452K Oct 7 21:00 /usr/local/bin/parcellite user$sudo chown user:user /usr/local/bin/parcellite user$ ls -l /usr/local/bin/parcellite -rwxr-xr-x 1 user user 452K Oct 7 21:01 /usr/local/bin/parcellite
I had an older version of parcellite installed. But I removed it prior to installing new version.
Update: @Fox's solution works. But any idea why
which command gives correct path, despite
hashNOT being updated?