Install Ubuntu Desktop 20.04 LTS

Try to install Ubuntu Desktop 20.04 LTS. Parallels Desktop provide ubuntu install assistant that is useful, so I use it.

Requirements

  • macOS Catalina and later
  • Parallels Desktop for Mac - Pro Edition v16 and later
  • Install target is Ubuntu 20.04 LTS

How to install

./images/figure_01.png

./images/figure_02.png

./images/figure_03.png

./images/figure_04.png

./images/figure_05.png

./images/figure_06.png

./images/figure_07.png

./images/figure_08.png

./images/figure_09.png

./images/figure_10.png

./images/figure_11.png

./images/figure_12.png

./images/figure_13.png

./images/figure_14.png

Update systems with using apt.

1
2
sudo apt update
sudo apt list --upgradable

It completed the installation. Then customize Ubuntu as the next step.

Change device name

In the default, Parallel's ubuntu has long device name. It takes up a space when operating the terminal, so would change it.

Click on Settings in Global menu.

./images/figure_15.png

Scroll to bottom the Settings window. You will find About menu. Click it.

./images/figure_16.png

Click Device Name. Rename it.

./images/figure_17.png

Zsh

1
2
3
sudo apt install zsh
chsh -s $(which zsh)
sudo shutdown -r now

Git

1
sudo apt install git

Swift

Guide: https://swift.org/download/#using-downloads

Exec commands.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
sudo apt install 
     binutils gnupg2 libc6-dev libcurl4 libedit2 \
     libgcc-9-dev libpython2.7 libsqlite3-0 libstdc++-9-dev \
     libxml2 libz3-dev pkg-config tzdata zlib1g-dev

curl -L -O https://swift.org/keys/all-keys.asc
curl -L -O https://swift.org/builds/swift-5.3.3-release/ubuntu2004/swift-5.3.3-RELEASE/swift-5.3.3-RELEASE-ubuntu20.04.tar.gz.sig
curl -L -O https://swift.org/builds/swift-5.3.3-release/ubuntu2004/swift-5.3.3-RELEASE/swift-5.3.3-RELEASE-ubuntu20.04.tar.gz

gpg --import all-keys.asc
gpg --keyserver hkp://pool.sks-keyservers.net --refresh-keys Swift
gpg --verify swift-5.3.3-RELEASE-ubuntu20.04.tar.gz.sig

tar xvfz swift-5.3.3-RELEASE-ubuntu20.04.tar.gz
sudo mv swift-5.3.3-RELEASE-ubuntu20.04 /usr/local/lib/swift-5.3.3
ln -s /usr/local/lib/swift-5.3.3 /usr/local/bin/swift
export PATH=/usr/local/bin/swift/usr/bin:"${PATH}"

Check version.

1
2
3
$ swift --version
Swift version 5.3.3 (swift-5.3.3-RELEASE)
Target: x86_64-unknown-linux-gnu

.NET

Install .NET Core 3.1.

Install guide is here

Run commands.

1
2
3
4
5
6
curl -L -O https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
sudo apt update
sudo apt install -y apt-transport-http
sudo apt update
sudo apt install -y dotnet-sdk-3.1

Check version.

1
2
$ dotnet --version
3.1.407

Go

Go Official Install Guide: https://github.com/golang/go/wiki/Ubuntu

Install command is here:

1
2
3
sudo add-apt-repository ppa:longsleep/golang-backports
sudo apt update
sudo apt install golang-go

Check version.

1
2
$ go version
go version go1.16.2 linux/amd64

VSCode

Install VSCode.

1
2
curl -L https://az764295.vo.msecnd.net/stable/2b9aebd5354a3629c3aba0a5f5df49f43d6689f8/code_1.54.3-1615806378_amd64.deb -o vscode.deb
sudo dpkg -i vscode.deb

By the way, I tried snapd. But it took an awful long time to download VSCode, so I gave up.

1
2
sudo apt install snapd
sudo snap install code --classic # too slowly..., so i gave up...

Finally, getting take your favorite extensions.

Emacs

Install Emacs.

1
sudo apt install emacs

Finally, getting take your favorite lisps.

MigMiix

1
sudo apt install fonts-migmix