Author Topic: Problem installing and running exa, an elegant "ls" substitute  (Read 1057 times)

0 Members and 1 Guest are viewing this topic.

Offline fox

  • Member
  • Master
  • *
  • Posts: 1967
Problem installing and running exa, an elegant "ls" substitute
« on: December 31, 2019, 08:28:57 am »
exa is a utility that gives a nicer and more complete output than the command "ls". I read about it here
« Last Edit: December 31, 2019, 01:37:30 pm by fox »
Ubuntu 21.04 on 2019 5k iMac
Ubuntu 20.04 on Dell XPS 13 2 in 1

Offline Jason

  • Administrator
  • Master
  • *****
  • Posts: 3737
  • Humanist. Skeptic. Husband.
Re: Installing and running exa, an elegant "ls" substitute
« Reply #1 on: December 31, 2019, 12:41:00 pm »
Is there a support question in here? If not, it should be in Linux Applications & Android apps which I will move it to but I just want to make sure you don't have an actual question.
« Last Edit: December 31, 2019, 02:27:34 pm by Jason Wallwork »
"With all its sham, drudgery, and broken dreams, it is still a beautiful world." - Max Ehrmann, Desiderata

Offline fox

  • Member
  • Master
  • *
  • Posts: 1967
Re: Installing and running exa, an elegant "ls" substitute
« Reply #2 on: December 31, 2019, 01:02:32 pm »
Yes there is a support question. How to make exa operate just by typing its name in a terminal.
Ubuntu 21.04 on 2019 5k iMac
Ubuntu 20.04 on Dell XPS 13 2 in 1

Offline Jason

  • Administrator
  • Master
  • *****
  • Posts: 3737
  • Humanist. Skeptic. Husband.
Re: Installing and running exa, an elegant "ls" substitute
« Reply #3 on: December 31, 2019, 01:37:12 pm »
Okay, I'm not sure how to clean up what you've done. But I followed these steps instead (and it's easier):
  • Go to the exa website and download the zip file for Linux from there
  • unzip it and you will have the executable
  • Using sudo privileges, copy the executable to /usr/local/bin or really any directory within you path - you can find out your path by typing 'echo $PATH'
  • Change the name of it to just 'exa' using the mv command
  • Now you can use exa from anywhere
"With all its sham, drudgery, and broken dreams, it is still a beautiful world." - Max Ehrmann, Desiderata

Offline fox

  • Member
  • Master
  • *
  • Posts: 1967
Re: Problem installing and running exa, an elegant "ls" substitute
« Reply #4 on: December 31, 2019, 01:49:08 pm »
Thanks for that, Jason! The fix was even easier. I copied the executable binary exa file I had already downloaded into /usr/local/bin. So it seems that for some reason, putting it in the .cargo folder and adding a PATH command for it didn't do the trick.
Ubuntu 21.04 on 2019 5k iMac
Ubuntu 20.04 on Dell XPS 13 2 in 1

Offline Jason

  • Administrator
  • Master
  • *****
  • Posts: 3737
  • Humanist. Skeptic. Husband.
Re: Problem installing and running exa, an elegant "ls" substitute
« Reply #5 on: December 31, 2019, 02:27:12 pm »
Thanks for that, Jason! The fix was even easier. I copied the executable binary exa file I had already downloaded into /usr/local/bin. So it seems that for some reason, putting it in the .cargo folder and adding a PATH command for it didn't do the trick.

I have no idea what cargo is but it's easier just to put programs in the already-existing path than to modify it.
"With all its sham, drudgery, and broken dreams, it is still a beautiful world." - Max Ehrmann, Desiderata