Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save AnythingLinux/63613d122da455a5e743c3896b770f03 to your computer and use it in GitHub Desktop.

Select an option

Save AnythingLinux/63613d122da455a5e743c3896b770f03 to your computer and use it in GitHub Desktop.
Things To Do After Installing Ubuntu 24.04 Desktop
#!/bin/sh
# This Gist specially design for School Of Freelancing remote training.
# Open your terminal by ctrl+alt+t and run all commands one by one. You can copy and paste into terminal too.
sudo -i
apt update -y
apt upgrade -y
apt update -y
apt install build-essential checkinstall
apt install software-properties-common
apt install apt-show-versions
apt install curl wget
apt install git
git config --global user.name "YourName"
git config --global user.email your@email.com
ssh-keygen -t rsa -b 4096 -C "your@email.com"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
cat /root/.ssh/id_rsa.pub
# Add SSH Key the GitHub & GitLab
https://github.com/settings/keys
ssh -T git@github.com
https://gitlab.com/-/user_settings/ssh_keys
ssh -T git@gitlab.com
apt update -y
apt upgrade -y
apt update -y
apt -f install
apt autoremove
apt -y autoclean
apt -y clean
apt update -y
apt upgrade -y
apt update -y
reboot
# Telegram Install Ubuntu 24.10+ LTS Desktop Linux using PPA
sudo add-apt-repository ppa:atareao/telegram
sudo apt update
sudo apt install telegram
# Install libreoffice or use Google Drive for Office
sudo add-apt-repository ppa:libreoffice/ppa
sudo apt update
sudo apt install libreoffice
# AnyDesk Install Ubuntu 24.10 LTS Desktop Linux
sudo apt update
sudo apt install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://keys.anydesk.com/repos/DEB-GPG-KEY -o /etc/apt/keyrings/keys.anydesk.com.asc
sudo chmod a+r /etc/apt/keyrings/keys.anydesk.com.asc
echo "deb [signed-by=/etc/apt/keyrings/keys.anydesk.com.asc] http://deb.anydesk.com all main" | sudo tee /etc/apt/sources.list.d/anydesk-stable.list > /dev/null
sudo apt update
sudo apt install anydesk
# Google Chrome Install & Configure Ubuntu 24.10 LTS Desktop Linux
apt install libxss1
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
apt install ./google-chrome-stable_current_amd64.deb
apt -f install
apt autoremove
apt update -y
# Install Kazam Ubuntu 24.10 LTS Desktop Linux
apt install kazam
nano /etc/gdm3/custom.conf
# Uncomment the line below to force the login screen to use Xorg
WaylandEnable=false
# Press ctrl+s and Ctrl+x for save and exit
# Install Brave Browser On Ubuntu 24.10 LTS Desktop Linux
curl -fsS https://dl.brave.com/install.sh | sh
# Startup disk creator setup
sudo apt install usb-creator-gtk
# Setup Microsoft Edge
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor | sudo tee /usr/share/keyrings/microsoft-edge.gpg > /dev/null
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/microsoft-edge.gpg] https://packages.microsoft.com/repos/edge stable main" | sudo tee /etc/apt/sources.list.d/microsoft-edge.list
sudo apt update && sudo apt install microsoft-edge-stable
# Tweak Ubuntu
gsettings set org.gnome.desktop.interface enable-animations false
systemctl list-units --type=service
systemctl list-units --type=service --all
nano /etc/default/grub
GRUB_TIMEOUT=1
# save and exit
update-grub
systemd-analyze
systemd-analyze blame
apt install zram-tools
journalctl --vacuum-time=3d
systemctl enable fstrim.timer
systemctl start fstrim.timer
apt install preload
sysctl vm.swappiness=10
echo 'vm.swappiness=10' | sudo tee -a /etc/sysctl.conf
snap set system refresh.retain=2
snap remove snap-store --purge
for s in $(snap list | awk '{print $1}' | grep -v Name); do sudo snap remove "$s"; done
systemctl stop snapd.service snapd.socket
apt purge snapd -y
apt autoremove
apt autoremove --purge
apt clean
rm -rf /var/cache/snapd/
rm -rf ~/snap
reboot
# Install OBS On Ubuntu 24.10 LTS Desktop Linux
apt install ffmpeg
apt update -y
apt install obs-studio
apt update -y
apt upgrade -y
apt update -y
apt -y autoclean
apt -y clean
reboot
@AnythingLinux

Copy link
Copy Markdown
Author

Screenshot From 2024-11-30 22-22-13
Screenshot From 2024-11-30 22-23-44
Screenshot From 2024-11-30 22-23-55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment