Reputation: 29
I have been following this class which has instructed me to open atom through my ubuntu terminal with the command "atom ." but it prints "command not found"
I know now that the ubuntu system and windows system run independently of each other, but still have no clue how to make it work.Here is the error
No command 'atom' found, did you mean:
Command 'atrm' from package 'at' (main)
Command 'atoms' from package 'horae' (multiverse)
Command 'atom4' from package 'atom4' (universe)
Command 'atobm' from package 'x11-apps' (main)
Command 'atop' from package 'atop' (universe)
atom: command not found
Upvotes: 0
Views: 2153
Reputation: 7338
Another way is, to try the following command
snap run atom
If the above command works for you, you can make an alias
alias atom='snap run atom'
Upvotes: -1
Reputation: 1989
Install again if you have to (there is no hurt in doing so).
Try this link: atom install.
In summary, this is what the link says to do. (When executing these commands in your terminal, look to see if you get any output back. Observe if the terminal spits out errors.)
First in a terminal copy and paste the below then hit enter:
wget -qO - https://packagecloud.io/AtomEditor/atom/gpgkey | sudo apt-key add -
Then copy and paste the below into a term and hit enter:
sudo sh -c 'echo "deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main" > /etc/apt/sources.list.d/atom.list'
Then this:
sudo apt-get update
Then:
sudo apt-get install atom
Finally, see if you are able to open atom:
atom .
Upvotes: 1