Skip to content

mryujitanaka/Ubuntu-Post-Install-Script

Repository files navigation

Ubuntu Post Install Script

Ubuntu-based OS post install script to uninstall, install and/or update packages. 🤓🖖



⚠ Attention!

While this project is fully compatible with Ubuntu-based OSes, I'm currently using Zorin OS 16.3 Lite. So, all the updates that I've been implementing have been made based on my needs using my system. Therefore, you may find something that you don't like, or that you don't need, or need to update. If any of these cases are yours, feel free to modify the code as per your requirements as per the license of this project.

🧐 About the Project

This project was created specifically to meet my needs after installing an Ubuntu-based OS on my computer. However, since the script I created was so good (at least for me), I decided that it was not fair to keep it just for myself. So I thought: "why not share it with the world?".

I bet you must have already wasted a lot of time downloading all your programs again after formatting your PC, right? You need to manually download a more updated program and so on... YUCK!

No more! Automate your processes and optimize your time! Let my script do all the work for you!

🛠 Built With

🏁 Getting Started

This project contains 3 .sh files: 1.Setup.sh, 2.Apps-to-Install.sh and 3.SystemUpdateUpgrade.sh.

This means that you must first run the 1.Setup.sh script, then the 2.Apps-to-Install.sh script and finally the 3.SystemUpdateUpgrade.sh script.

ATTENTION! Before you run the scripts on your system, especially the first one (1.Setup.sh), make sure your terminal has Unlimited Scroolback enabled. With this function enabled, you will be able to fully view the entire script output history by scrolling your terminal sidebar up.

Prerequisites

  • Have a computer with Ubuntu-based distribution installed;
  • Have basic knowledge of Linux;
  • Basic familiarity with the Linux terminal;
  • Internet access.

Usage

👉 First, download the files.

👉 Then extract the .sh files.

👉 After extracting the .sh files, first run the 1.Setup.sh script on your terminal.

⚠️ If you don't know how to run a .sh file on the terminal, click here.

👉 When the 1.Setup.sh script is finished, restart your computer.

👉 After restarting your computer, run the 2.Apps-to-Install.sh script.

👉 When the 2nd script is finished, restart your PC again.

⚠️ You may be wondering: "what about the third script?". Well, it can be used whenever you want to update your packages, without installing new programs on your system. The 3.SystemUpdateUpgrade.sh script works more or less like a Windows Update, but YOU are in control!

🎉 That's it! Now enjoy the programs that were automatically downloaded to your computer!

Notes

I recommend you run the scripts after you have freshly installed your ubuntu-based operating system.

The scripts were created specifically to meet my needs. So, if you want to change them to suit yours and/or share them with others, you can according to the license of this project.

Before running the scripts, I strongly recommend that you study them and observe what they will update/install on your computer.

I am not responsible for possible errors that may occur on your computer. Keep in mind that you are fully responsible for your actions from the moment you download any files or clone this repository.

The tests performed successfully were done on Ubuntu-based operating systems, like Pop_OS! 20.X LTS, Linux Mint XFCE 20.X LTS and Zorin OS 16.3 Lite.

Zorin OS 16.3 Lite Notes

If you installed Zorin OS, and received an error like this:

These runtimes in installation 'system' are pinned and won't be removed; see flatpak-pin(1):
  runtime/org.gtk.Gtk3theme.ZorinBlue-Dark/x86_64/3.22
  runtime/org.gtk.Gtk3theme.ZorinBlue-Light/x86_64/3.22
  runtime/org.gtk.Gtk3theme.ZorinGreen-Dark/x86_64/3.22
  runtime/org.gtk.Gtk3theme.ZorinGreen-Light/x86_64/3.22
  runtime/org.gtk.Gtk3theme.ZorinGrey-Dark/x86_64/3.22
  runtime/org.gtk.Gtk3theme.ZorinGrey-Light/x86_64/3.22
  runtime/org.gtk.Gtk3theme.ZorinOrange-Dark/x86_64/3.22
  runtime/org.gtk.Gtk3theme.ZorinOrange-Light/x86_64/3.22
  runtime/org.gtk.Gtk3theme.ZorinPurple-Dark/x86_64/3.22
  runtime/org.gtk.Gtk3theme.ZorinPurple-Light/x86_64/3.22
  runtime/org.gtk.Gtk3theme.ZorinRed-Dark/x86_64/3.22
  runtime/org.gtk.Gtk3theme.ZorinRed-Light/x86_64/3.22

So, you can check these two links:

In my case, what worked to resolve this error was to do the following:

  1. In the terminal, type: flatpak pin --remove <...>.
  2. Where <...> would be the flatpak package you want to remove, such as runtime/org.gtk.Gtk3theme.ZorinBlue-Dark/x86_64/3.22.
  3. After pressing ENTER, type your password.
  4. If it didn't work for you, I advise you to access the Zorin OS Forum or the Ubuntu-based Linux distribution you are using, and post your question there.

📈🤝 Contributing

Improvements are always welcome, but they are only possible if you contribute in some way. Do not be shy!

If you find a bug in the source code, you can help me by submitting a Bug Report. Even better, you can submit a Pull Request with a fix.

📝 To Do

Add the programs below to the 2.Apps-to-Install.sh script to be downloaded:

  • Dropbox
  • OCS-URL
  • Sweet-Ambar-Blue Theme
  • Sweet-Dark Theme

⚖ License

Above the license, my script is based (and inspired by the WordPress Philosophy) in four freedoms:

  • The 1st: To run the program for any purpose.
  • The 2nd: To study how the program works and change it to make it do what you wish.
  • The 3rd: To redistribute.
  • The 4th: To distribute copies of your modified versions to others.

Distributed under the GPLv3 License. For more information, click here.

GNU Logo GNU Logo

🖥 Contact

📢 mryujitanaka.com

🥰 Acknowledgements