Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant find setup file #7

Open
silverardo52 opened this issue Jul 20, 2019 · 0 comments
Open

cant find setup file #7

silverardo52 opened this issue Jul 20, 2019 · 0 comments

Comments

@silverardo52
Copy link

trying to run setup file in the latest version of Raspian please read following conversation i had on Core forum.
Ok I setup new sd card with latest NOOBS rebooted pi went to Wyolm web sit downloaded wget https://github.com/wyolum/alamode/raw/master/bundles/alamode-setup.tar.gz
that worked fine
then pi@raspberrypi ~ $ tar -xvzf alamode-setup.tar.gz that works fine then pi@raspberrypi ~ $ sudo ./setup I get “sudo: ./setup: command not found”
I then opened pi@raspberrpi~/alamode-setup $ sudo ./setup [/code] and got "sudo: unable to execute ./setup: no such file or directory
I had the same issue. Somebody has been editing the file in their Windows environment without turning off CRLF (when you hit enter it adds carriage+return, line-feed). Linux only has the LF and tries to interpret the CR as a part of the command.

The easy way to fix it is to install the program dos2unix as follows:

Copy to clipboard
sudo apt-get install dos2unix
Once you’ve installed dos2unix type the commands as follows:

Copy to clipboard
wget https://github.com/wyolum/alamode/raw/master/bundles/alamode-setup.tar.gz
tar -xvzf alamode-setup.tar.gz
cd alamode-setup
dos2unix setup
chmod +x setup
sudo ./setup
Daryl87976
14h
Thanks for the help Shaun but I followed your instruction all work good until
sudo ./setup
I got sed: can't read /etc/inittab:No such file or directory
rm: cannot remove '/etc/inittabbk': No such file or directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant