Ubuntu - The start of an amazing journey
This guide covers transitioning from Windows to Ubuntu, beginning with setup instructions and progressing through extensive FAQs addressing common challenges.
Initial Setup
Pre-Installation Steps:
- Allocate 200GB+ of disk space via Windows Disk Utility
- Disable Windows fastboot to prevent filesystem conflicts
- Create bootable USB using Etcher and Ubuntu ISO image
Partition Scheme for dual-boot systems:
- Swap: 11 GB (primary)
- Root (/): 75 GB (ext4, logical)
- Boot (/boot): 1 GB (ext4, logical)
- Home (/home): 75 GB (ext4, logical)
Package Management
Essential commands:
sudo apt updatesudo apt upgradeUnderstanding sudo privileges before executing commands affecting system directories is crucial.
Development Tools
Sublime Text 3
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.listsudo apt updatesudo apt install sublime-textGit
sudo apt install gitgit config --global user.name "Your Name"git config --global user.email "your@email.com"Python Virtual Environments
sudo apt install python3-pip python3-venvpython3 -m venv myenvsource myenv/bin/activateDocker
sudo apt install docker.iosudo systemctl start dockersudo systemctl enable dockersudo usermod -aG docker $USERSystem Administration
Partition Resizing
Use GParted for graphical partition management:
sudo apt install gpartedNetwork Monitoring
sudo apt install nethogssudo nethogsexFAT USB Support
sudo apt install exfat-fuse exfat-utilsMultimedia
VLC
sudo apt install vlcSpotify
curl -sS https://download.spotify.com/debian/pubkey.gpg | sudo apt-key add -echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.listsudo apt updatesudo apt install spotify-clientAdvanced Topics
CUDA Installation
sudo apt install nvidia-cuda-toolkitAdd to your shell profile:
export PATH=/usr/local/cuda/bin:$PATHexport LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATHWiFi Hotspot
Use create_ap for creating a WiFi hotspot from your Linux machine:
sudo create_ap wlan0 eth0 MyAccessPoint MyPassPhraseThis collection of solutions grew organically from real problems encountered during my early Linux days. The beauty of Linux is that every problem has a solution - you just need to know where to look.