Ghcup cabal version error

Try

cd ~/.local/bin/

ls -l

error cabal 9

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

error cabal 10

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

1 Like

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

1 Like

error cabal resuelto porfin

Thank you very much man, you are very helpful, I really appreciate it

1 Like

You are welcome