script for automatic post-installation installation
- Anmelden oder Registrieren um Kommentare zu schreiben
Sorry for the nonsense-like title but it should make sense: How can one make a simple script to be run after a fresh installation of trisquel, which will update, upgrade, autoremove and then install a given list of packages?
Also, how should a such script be run (i.e. by which command)?
(we have discussed this issue before, but I can't find the thread)
Anything you execute in a terminal (e.g., 'sudo apt update') can be written in a plain text file, one line per command. You can turn that file executable, either through your file manager or with 'chmod +x' in the terminal. To execute it from the terminal, write the path to the file. For instance, if your terminal is opened in the directory containing the file named "post-install", you may execute:
$ ./post-install
- Anmelden oder Registrieren um Kommentare zu schreiben