Skip to content

ChanWoo25/cw-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CwUtil

A repository for convenient setup ubuntu.

Ubuntu 20.04

sudo apt-get update &&
sudo apt-get dist-upgrade -y &&
sudo apt-get -y autoremove &&
sudo apt-get clean
sudo apt-get install -y nvidia-driver-470 fcitx-hangul

Install language pkgs & set fcitx & Reboot

sudo apt install -y git wget curl build-essential cmake ninja-build exfat-* &&
sudo apt -y autoremove &&
git config --global user.email "leechanwoo25@gmail.com" &&
git config --global user.name "Chanwoo Lee" &&
ssh-keygen

Additional

  • Download & Install Chrome & Sync
  • Download & Install Visual Studio Code at Web Site

For Ubuntu 18.04

sudo apt update && sudo apt dist-upgrade -y &&
sudo apt -y autoremove &&
echo "blacklist nouveau modeset=0" >> blacklist-nouveau.conf &&
rm blacklist-nouveau.conf &&
echo "blacklist nouveau" >> blacklist-nouveau.conf &&
echo "options nouveau modeset=0" >> blacklist-nouveau.conf &&
sudo mv blacklist-nouveau.conf /etc/modprobe.d &&
sudo update-initramfs -u

REBOOT and THEN

sudo apt install -y nvidia-driver-440 fcitx-hangul &&
sudo apt -y autoremove
// Do langauge install

REBOOT and THEN

sudo apt install -y git wget build-essential ninja-build exfat-fuse exfat-utils &&
sudo apt -y autoremove &&
git config --global user.email "leechanwoo25@gmail.com" &&
git config --global user.name "Chanwoo Lee" &&
wget -O cmake.sh https://github.com/Kitware/CMake/releases/download/v3.20.3/cmake-3.20.3-linux-x86_64.sh &&
chmod +x cmake.sh &&
sudo bash cmake.sh --prefix=/usr/local --exclude-subdir &&
rm cmake.sh

For Ubuntu 20.04

# No need to touch nouveau-stuffs.
sudo apt update &&
sudo apt dist-upgrade -y &&
sudo apt install -y nvidia-driver-470 fcitx-hangul

Install language pkgs & Reboot

sudo apt install -y git wget build-essential cmake ninja-build exfat-* &&
sudo apt -y autoremove &&
git config --global user.email "leechanwoo25@gmail.com" &&
git config --global user.name "Chanwoo Lee"

Second, Download Visual Studio Code at Web Site

sudo dpkg -i ~/Downloads/code_xxx.deb
sudo apt-get install -f