Skip to content

AmirIqbal1/automated-install-linux-mint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🍃 install-mint.sh — Linux Mint Auto Setup Script

Linux Mint Ubuntu Base Shell Script Maintained

A bash script that automates the installation of essential desktop applications, developer tools, system utilities, and performance tweaks for Linux Mint 22.x (Ubuntu 24.04 base).


🚀 TL;DR

This script:

  • Installs popular desktop apps using APT, Flatpak, and official .deb packages
  • Adds SSD and memory optimisations
  • Enables swap compression with zram
  • Installs TLP for improved battery life on laptops
  • Enables SSD TRIM automatically
  • Downloads maintenance and security helper scripts
  • Uses Flatpak only where it makes sense

📦 How to Use

Run the following commands:

chmod +x install-mint.sh
sudo ./install-mint.sh

🖥️ APT Installed Applications

curl
brave
wget
zip / unzip
gdebi
git
htop
gparted
gufw
synaptic
tilix
openvpn
rkhunter
preload
zram-tools
flatpak
libreoffice
librewolf
bleachbit
deluge
foliate
gimp
thunderbird
plank
tlp
timeshift
mint-meta-codecs
vlc

📥 Installed via Official .deb Packages

Application Install Method
VeraCrypt Ubuntu 24.04 .deb
Balena Etcher Official .deb

🧠 Installed via Official Repositories

Application Source
VS Code Microsoft APT Repository
Spotify Spotify APT Repository

📦 Flatpak Applications

Stremio
SSH Pilot
Telegram
Warehouse
Video Downloader
jExifToolGUI

⚡ System Enhancements

SSD TRIM Support

Executes:

fstrim -av

Enables:

fstrim.timer

Automatically trims SSDs weekly.


🔋 TLP Power Optimisation

TLP is installed and enabled automatically.

Helps reduce battery drain on laptops and improves power efficiency.


🧠 Memory & Cache Tweaks

zram Compression

Installs:

zram-tools

Compresses swap data in RAM for better responsiveness under memory pressure.


Filesystem Cache Optimisation

Applies:

vm.vfs_cache_pressure=50

Helps Linux keep useful filesystem metadata cached longer.

Persisted in:

/etc/sysctl.d/99-mint-performance.conf

🛠️ Additional Scripts & Repositories

Tool/Repo Description
rkhunter-check Automates rkhunter scans
flatpak_cleanup.sh Removes unused Flatpak data
hardening-linux-mint Security hardening tools

🛡️ Rootkit Hunter (rkhunter)

rkhunter is installed to help detect:

  • Rootkits
  • Backdoors
  • Suspicious binaries
  • Local exploits

Helpful guide:

How to configure rkhunter


📋 Tested On

  • Linux Mint 22.x Cinnamon

🖥️ Enhanced Terminal Experience

  • Automatic coloured Bash prompts for both normal users and root.
  • Green [USER] prompt for standard accounts.
  • Red [ROOT] prompt for administrative shells.
  • Makes privileged sessions instantly identifiable in Tilix and other terminals.
  • Easier command auditing when scrolling through large terminal logs.

🔄 After Installation

A reboot is recommended after installation completes.

sudo reboot

⚠️ Notes

  • Review scripts before running on production systems
  • Some package versions may change upstream over time
  • Internet connection required
  • Run at your own risk

About

Installs certain programs on Linux Mint / Ubuntu Desktop Machines.

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages