Skip to content

Post-installation script for the Pop!_OS (22.04) distribution, based on Ubuntu. The script contains internet verification and whether wget is installed on the device. Also, install apt, flatpak and deb packages; updates repositories, performs system cleanup and add custom alias

License

Notifications You must be signed in to change notification settings

geraldohomero/post-install-pop-os

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PIPOS

24.04 TBA

Post-installation script for the Pop!_OS distribution, based on Ubuntu. The script contains internet verification and whether wget is installed on the device. Also, install apt, flatpak and deb packages; updates repositories and performs system cleanup.


Note: The script was designed for Pop!_OS 22.04 (LTS), but it may also work on other Debian-based distributions. However, please be cautious and ensure compatibility before running it on other systems.

Testing on Ubuntu 24.04 LTS was successful. See Issue 61

Important: While the script aims to automate setup tasks, it's essential to review the code and understand what it does before running it on your machine. Ensure that you back up critical data before proceeding. The script provided is for educational purposes and comes with no warranty or support.

  1. Download

Download the entire "post-install-pop-os" folder containing the script files to your preferred location. You can clone (to the Downloads folder) the repository using Git or download it as a ZIP file from the repository's webpage.

At the terminal, run:

git clone https://github.com/geraldohomero/post-install-pop-os.git $HOME/Downloads
  1. Make the Scripts Executable:
chmod +x $HOME/Downloads/post-install-pop-os/run.sh
  1. Run the Post-Install Setup Script:

Execute the run.sh script to start the post-installation process. The script will automatically run and make executable the post-install.sh script and then the alias.sh script, installing necessary packages and setting up custom aliases.

$HOME/Downloads/post-install-pop-os/run.sh

Or just copy and paste the following command in the terminal:

git clone https://github.com/geraldohomero/post-install-pop-os.git $HOME/Downloads/post-install-pop-os
chmod +x $HOME/Downloads/post-install-pop-os/run.sh
$HOME/Downloads/post-install-pop-os/run.sh
  1. Follow On-Screen Instructions:

The setup script will display colorful and informative messages as it progresses through the installation and configuration steps. You may need to provide your password for certain operations that require administrative privileges.

  1. Review Installed Software and Aliases:

After the setup is completed, you can review the installed software and aliases on your system. The post-install.sh script installs software packages listed in its configuration, while alias.sh sets up custom aliases.

  1. Customize Aliases and Installed programs (Optional):

You can modify or add your own custom aliases in the src/alias.sh script to suit your workflow. Edit the CUSTOM_ALIASES array with the desired aliases, and run the alias.sh script again to update your .bash_aliases file. The same principle is valid for the src/post-install.sh and the arrays of the flatpak and apt.

CUSTOM_ALIASES=(
    'alias <aliasName>="<what it does>"'
    .
    .
    .
)
  1. This script also adds update.sh and syncthingStatus.sh to the home directory with execution permissions so that their aliases can work as intended. See it in run.sh for more information.

  2. The script will add the swapAudio.sh script to the home directory with execution permissions so that its alias can work as intended. See it in run.sh and /misc/swapAudio.sh for more information.

  3. On src/githubClone.sh script, you can clone all repositories from a specific user. You will be prompted to enter the username and the script will clone all repositories from that user. You also need to change the directory to the desired location. The default is DIRECTORY_PATH="$HOME/Documents/Github".

Read the blog post

About

Post-installation script for the Pop!_OS (22.04) distribution, based on Ubuntu. The script contains internet verification and whether wget is installed on the device. Also, install apt, flatpak and deb packages; updates repositories, performs system cleanup and add custom alias

Topics

Resources

License

Stars

Watchers

Forks

Languages