Try
cd ~/.local/bin/
ls -l
Try
cd ~/.local/bin/
ls -l
cd cabal
ls -l
it says cabal is not a directory
ok, try to rename it
mv cabal cabal_bkp
check again the cabal version
ok, mv cabal_old cabal
Now type which cabal and share the output
mv: cannot perform `stat ‘on’ cabal_old ': File or directory does not exist
which cabal
/home/alberto/.cabal/bin/cabal
Try
cp /home/alberto/.cabal/bin/cabal ~/.local/bin/
now if u go to cd ~/.local/bin/ u should see the new file
Try again cabal version
Thank you very much man, you are very helpful, I really appreciate it
You are welcome