You can simply list all the commands you ran to install the different packages in a single script. Since you're new to shell scripting you might want to post the result on CR.SE - there are a billion and one gotchas in shell scripting.
build script in unix
Pregunta
Is there a way in Unix shell script to install different packages from different sources like rpm, building from source, in a specific sequence i.e.
- package A -- rpm installer
- package B -- install from source only if package has installed correctly else roll back
- package C -- install from source only if package D is installed
since I am new to Unix shell scripting, I earlier tried to install each package separately but now I want to automate this process, Please let me know a way of achieving this on OpenSUSE SE linux.
Solución
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow