how to install a program or startup raspberry pi is shell script?
thanks
I'm not quite sure what you mean here.....cherrybombuc wrote:how to install a program or startup raspberry pi is shell script?
thanks
Code: Select all
sudo apt-get install program-nameCode: Select all
apt-cache search program-nameCode: Select all
sudo paman -Sy program-nameCode: Select all
pacman -Ss program-nameCode: Select all
#!/bin/bash
echo 'This script will install VLC for you.....'
sudo apt-get -y install vlc
if [ $? != 0 ] ; then
echo 'There was an error while installing VLC, Please try again....'
else
echo 'VLC installed successfuly, you can start it from your programs menu now...'
fi
exit $?