So I did something stupid, but deliberately.
So I've been using Linux (specifically MX Linux) for a few months, and I'm trying to learn it all in depth. Since coming from Windows 7 I like everything except how to install software there is a dependence on updating from the internet. So I've been playing with using the .deb packages and trying apt-offline to do so.
I wanted to try and see if the R (for R markdown) would install offline. Being new to linux I couldn't really figure out how to purge the R installation files, so I just typed in: whereis R and deleted the files it gave me. Now I remember one was like a bash file I believe. I have reinstalled R and currently when I type in whereis R, this is what I get: /etc/R /usr/share/R /usr/share/man/man1/R.1.gz and the bash file is not there. I believe as a consequence of this when I type in the terminal: R it says bash: R: command not found
Does anyone have any tips regarding anything I've said here (I'm not an expert in R either btw). But specifically what am I missing to get R to run from the terminal again?
Thanks
/usr/bin/R
, which would probably be provided by packager-base-core
on Debian-derived systems