GitHub CLIとGitHub Codespacesを使ってみる
はじめに
この記事ではGitHub CLIを学習していく記事です。主な内容としては実践したときのメモを中心に書きます。(忘れやすいことなど)
誤りなどがあれば書き直していく予定です。なお、内容につきましては2023年8月28日時点の調査内容で記載しております。あらかじめご了承ください。
この記事でやること
- GitHub CLIとは何か
- GitHub CLIを実際に使ってみる
- GitHub CLIでGitHub codespacesを使ってみる
GitHub CLIとは
コマンドラインでGitHubを操作できるツールです。
GitHub CLI は、すべての作業を 1 か所で行うことができるように、pull request、issues、GitHub Actions、およびその他の GitHub 機能をターミナルに集めたコマンドライン ツールです。
公式引用:GitHub CLI について - GitHub Docs
GitHubをWebではなくコマンドラインから操作できるのでWebでは辛い入力作業や自動化にはとても便利なツールです。ではどこまで使えるのでしょうか。
GitHub CLIできること
コマンドラインツールでどこまでできるのか公式には以下のように記載があります。
GitHub CLI には、次のような GitHub 機能が含まれています。
リポジトリの表示、作成、複製、フォーク
Issue と pull request の作成、クローズ、編集、一覧表示
プルリクエストのレビュー、diff、マージ
ワークフローの実行、表示、一覧表示
リリースの作成、一覧表示、表示、削除
gist の作成、編集、一覧表示、表示、削除
codespace の一覧表示、作成、削除、接続
公式引用:GitHub CLI について - GitHub Docs
インストール方法 macOS
では実際にインストールして使ってみましょう。macOSの人は以下のコマンドでインストールします。
brew install gh
Windowsの場合は以下のコマンドでインストールします。
winget install --id GitHub.cli
サブコマンドを見てみる
gh
と入力してエンターを押すと以下のようにサブコマンドが出力されます。
Work seamlessly with GitHub from the command line.
USAGE
gh <command> <subcommand> [flags]
CORE COMMANDS
auth: Authenticate gh and git with GitHub
browse: Open the repository in the browser
codespace: Connect to and manage codespaces
gist: Manage gists
issue: Manage issues
org: Manage organizations
pr: Manage pull requests
project: Work with GitHub Projects.
release: Manage releases
repo: Manage repositories
GITHUB ACTIONS COMMANDS
run: View details about workflow runs
workflow: View details about GitHub Actions workflows
ALIAS COMMANDS
co: Alias for "pr checkout"
ADDITIONAL COMMANDS
alias: Create command shortcuts
api: Make an authenticated GitHub API request
completion: Generate shell completion scripts
config: Manage configuration for gh
extension: Manage gh extensions
gpg-key: Manage GPG keys
label: Manage labels
search: Search for repositories, issues, and pull requests
secret: Manage GitHub secrets
ssh-key: Manage SSH keys
status: Print information about relevant issues, pull requests, and notifications across repositories
variable: Manage GitHub Actions variables
HELP TOPICS
actions: Learn about working with GitHub Actions
environment: Environment variables that can be used with gh
exit-codes: Exit codes used by gh
formatting: Formatting options for JSON data exported from gh
mintty: Information about using gh with MinTTY
reference: A comprehensive reference of all gh commands
FLAGS
--help Show help for command
--version Show gh version
EXAMPLES
$ gh issue create
$ gh repo clone cli/cli
$ gh pr checkout 321
LEARN MORE
Use 'gh <command> <subcommand> --help' for more information about a command.
Read the manual at https://cli.github.com/manual
バージョンを見る
上記のhelpを見るとgh --version
で出力できるそうです。試してみます。
gh --version
実行結果
gh version 2.31.0 (2023-06-20)
https://github.com/cli/cli/releases/tag/v2.31.0
似ているようで実行できそうにない以下のコマンドも試してみます。
gh version
実行結果
gh version 2.31.0 (2023-06-20)
https://github.com/cli/cli/releases/tag/v2.31.0
どうやら実行できるようです。
認証してGitHubのリポジトリを開く
GitHubに認証を実行する(gh auth login)
GitHubへの認証をコマンドラインで実行します。ただし、認証はブラウザで実行します。
gh auth login
コマンドの実行に成功するといくつか質問がなされます。
? What account do you want to log into? GitHub.com
? What is your preferred protocol for Git operations? HTTPS
? Authenticate Git with your GitHub credentials? Yes
? How would you like to authenticate GitHub CLI? Login with a web browser
! First copy your one-time code: XXX-XXX
Press Enter to open github.com in your browser...
✓ Authentication complete.
- gh config set -h github.com git_protocol https
✓ Configured git protocol
✓ Logged in as ymd65536
login時に必要な情報は以下の4点です。
- What account do you want to log into?
- GitHub.comアカウントなのかGitHub Enterprise Serverなのか
- What is your preferred protocol for Git operations?
- 接続時のプロトコルについて(httpsなのかsshなのか)
- Authenticate Git with your GitHub credentials?
- GitHubの認証情報でGitを認証する
- How would you like to authenticate GitHub CLI?
- どのようにしてGitHubと認証するか
今回はGitHubにログイン、接続時のプロトコルはhttpsとしてGitを認証します。
認証はブラウザを使って認証します。
ブラウザを使って認証
認証に成功するとコマンドラインに以下のコマンドが表示されます。
gh config set -h github.com git_protocol https
loginコマンドを使うと内部的にはgh config
が利用されます。
リポジトリをブラウザで開く
認証が完了するとコマンドラインでリポジトリを表示できます。
表示するときはPCのデフォルトブラウザを起動します。
特定のリポジトリをクローンして以下のコマンドを実行します。
gh browse -n
自身のGitHubリポジトリURLが表示されます。なお、-n
を使うとこれから開くURLを表示します。
他にもサブコマンドで開く内容を変えることができます。
issueを操作する
issueのリストを表示する
ここまででGitHubの開き方がわかりました。ここからはリポジトリにissueを発行してみます。まずは現在のissueを表示してみます。
gh issue list
実行結果
no open issues in ymd65536/{リポジトリ名}
issueを作成する
listが空だということがわかりました。issueを作成するためにはgh issue create
を実行します。
gh issue create
実行結果
? Title gh-cli
? Body <Received>
? What's next? Submit
https://github.com/ymd65536/zenn_art/issues/30
issue create
時に必要な情報は以下の3点です。
- タイトル
- issueのタイトル
- Body
- issueの本文
- 送信するかどうかまたWebを開くかもしくはキャンセルするかどうか
- issueの送信
作成したissueを確認します。
gh issue list
Showing 1 of 1 open issue in ymd65536/{リポジトリ名}
#30 gh-cli about 6 minutes ago
issueが作成できています。
issueをブラウザで表示する
作成したissueをチェックします。issueのサブコマンドとなっているviewを使うことでwebやCLI上で中身を表示できます。
CLIで表示する場合
gh issue view 30
ブラウザで表示する場合
gh issue view 30 --web
issueをcloseする
issueをCloseします。Closeする際はissueの番号を指定します。
gh issue close 30
codespaceを操作する
GitHub上で実行環境を構築できるサービス、GitHub CodespacesもGitHub CLIから利用できるようなので起動してみます。
環境を作成する
環境を作成する場合は以下のコマンドを実行します。
gh codespace create
実行結果
? Repository: ymd65536/{リポジトリ名}
✓ Codespaces usage for this repository is paid for by ymd65536
? Branch (leave blank for default branch):
? Choose Machine Type: 2 cores, 4 GB RAM, 32 GB storage
gh codespace create
時に必要な情報は以下の3点です。
- 利用するリポジトリ名
- 起動時に利用するブランチ
- 利用環境
codespaceを起動する
GitHubが提供するGitHub codespaceを起動します。
なお、Visual Studio Codeでcodespaceを起動する場合はGitHub.codespaces
(codespaceの拡張機能)が必要です。
gh codespace code
以下のように403が表示される場合はgh auth refresh -h github.com -s codespace
を実行します。
error getting codespaces: HTTP 403: Must have admin rights to Repository. (https://api.github.com/user/codespaces?per_page=100)
This API operation needs the "codespace" scope. To request it, run: gh auth refresh -h github.com -s codespace
実行コマンド
gh auth refresh -h github.com -s codespace
起動したGitHub codespaceの動作確認
アーキテクチャを確認する
現在利用しているPCがApple SilliconのMacBook Airであるため、uname
をVisual Studio Codeで実行すると以下のように表示されます。
Darwin mac65536.local 22.5.0 Darwin Kernel Version 22.5.0: Thu Jun 8 22:22:19 PDT 2023; root:xnu-8796.121.3~7/RELEASE_ARM64_T8103 arm64
codespaceはVisual Studio Codeのターミナルに接続して利用するため、ターミナルでuname
を実行するとcodespace上のunameが表示されれます。
実際にターミナルを起動して実行します。
uname -a
実行結果
{githubのユーザー名} ➜ /workspaces/{リポジトリ名} (main) $ uname -a
Linux codespaces-30bb3d 5.15.0-1041-azure #48-Ubuntu SMP Tue Jun 20 20:34:08 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
言語のバージョンチェック
インストールされている言語のバージョンを見てみます。(2023年8月28日段階)
dotNET
dotnet --version
実行結果
7.0.306
※ASP.NETを使う場合は以下のコマンドを忘れずに実行します。
dotnet dev-certs https --trust
gcc
gcc --version
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Perl
perl --version
This is perl 5, version 30, subversion 0 (v5.30.0) built for x86_64-linux-gnu-thread-multi
(with 59 registered patches, see perl -V for more detail)
Copyright 1987-2019, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
PHP
php --version
PHP 8.1.14 (cli) (built: Aug 19 2023 00:25:21) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.14, Copyright (c) Zend Technologies
with Xdebug v3.2.2, Copyright (c) 2002-2023, by Derick Rethans
Python
python --version
Python 3.10.8
Ruby
ruby -v
実行結果
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-linux]
go
go version
go version go1.21.0 linux/amd64
Java
java --version
openjdk 17.0.8 2023-07-18 LTS
OpenJDK Runtime Environment Microsoft-8035246 (build 17.0.8+7-LTS)
OpenJDK 64-Bit Server VM Microsoft-8035246 (build 17.0.8+7-LTS, mixed mode, sharing)
Node.js
node -v
v20.5.1
パッケージ名を見てみる
ubuntuベースであることがuname
コマンドで判明していますのでどのようなパッケージがインストールされているかチェックしてみます。
apkの実行
apt list
Listing... Done
adduser/now 3.118ubuntu2 all [installed,local]
adwaita-icon-theme/now 3.36.1-2ubuntu0.20.04.2 all [installed,local]
alsa-topology-conf/now 1.2.2-1 all [installed,local]
alsa-ucm-conf/now 1.2.2-1ubuntu0.13 all [installed,local]
apt-transport-https/now 2.0.9 all [installed,local]
apt-utils/now 2.0.9 amd64 [installed,local]
apt/now 2.0.9 amd64 [installed,local]
autoconf/now 2.69-11.1 all [installed,local]
automake/now 1:1.16.1-4ubuntu6 all [installed,local]
autotools-dev/now 20180224.1 all [installed,local]
base-files/now 11ubuntu5.7 amd64 [installed,local]
base-passwd/now 3.5.47 amd64 [installed,local]
bash-completion/now 1:2.10-1ubuntu1 all [installed,local]
bash/now 5.0-6ubuntu1.2 amd64 [installed,local]
bc/now 1.07.1-2build1 amd64 [installed,local]
binfmt-support/now 2.2.0-2 amd64 [installed,local]
binutils-common/now 2.34-6ubuntu1.6 amd64 [installed,local]
binutils-x86-64-linux-gnu/now 2.34-6ubuntu1.6 amd64 [installed,local]
binutils/now 2.34-6ubuntu1.6 amd64 [installed,local]
bison/now 2:3.5.1+dfsg-1 amd64 [installed,local]
bsdmainutils/now 11.1.2ubuntu3 amd64 [installed,local]
bsdutils/now 1:2.34-0.1ubuntu9.4 amd64 [installed,local]
build-essential/now 12.8ubuntu1.1 amd64 [installed,local]
bzip2/now 1.0.8-2 amd64 [installed,local]
ca-certificates/now 20230311ubuntu0.20.04.1 all [installed,local]
clang-10/now 1:10.0.0-4ubuntu1 amd64 [installed,local]
clang/now 1:10.0-50~exp1 amd64 [installed,local]
cmake-data/now 3.16.3-1ubuntu1.20.04.1 all [installed,local]
cmake/now 3.16.3-1ubuntu1.20.04.1 amd64 [installed,local]
conda/now 23.5.2-0 amd64 [installed,local]
coreutils/now 8.30-3ubuntu2 amd64 [installed,local]
cpp-9/now 9.4.0-1ubuntu1~20.04.1 amd64 [installed,local]
cpp/now 4:9.3.0-1ubuntu2 amd64 [installed,local]
cppcheck/now 1.90-4build1 amd64 [installed,local]
curl/now 7.68.0-1ubuntu2.19 amd64 [installed,local]
dash/now 0.5.10.2-6 amd64 [installed,local]
dbus-user-session/now 1.12.16-2ubuntu2.3 amd64 [installed,local]
dbus/now 1.12.16-2ubuntu2.3 amd64 [installed,local]
dconf-gsettings-backend/now 0.36.0-1 amd64 [installed,local]
dconf-service/now 0.36.0-1 amd64 [installed,local]
debconf/now 1.5.73 all [installed,local]
debianutils/now 4.9.1 amd64 [installed,local]
default-libmysqlclient-dev/now 1.0.5ubuntu2 amd64 [installed,local]
dialog/now 1.3-20190808-1 amd64 [installed,local]
diffutils/now 1:3.7-3 amd64 [installed,local]
dirmngr/now 2.2.19-3ubuntu2.2 amd64 [installed,local]
distro-info-data/now 0.43ubuntu1.13 all [installed,local]
dpkg-dev/now 1.19.7ubuntu3.2 all [installed,local]
dpkg/now 1.19.7ubuntu3.2 amd64 [installed,local]
e2fsprogs/now 1.45.5-2ubuntu1.1 amd64 [installed,local]
fdisk/now 2.34-0.1ubuntu9.4 amd64 [installed,local]
file/now 1:5.38-4 amd64 [installed,local]
findutils/now 4.7.0-1ubuntu1 amd64 [installed,local]
fish-common/now 3.1.0-1.2 all [installed,local]
fish/now 3.1.0-1.2 amd64 [installed,local]
fontconfig-config/now 2.13.1-2ubuntu3 all [installed,local]
fontconfig/now 2.13.1-2ubuntu3 amd64 [installed,local]
fonts-dejavu-core/now 2.37-1 all [installed,local]
g++-9/now 9.4.0-1ubuntu1~20.04.1 amd64 [installed,local]
g++/now 4:9.3.0-1ubuntu2 amd64 [installed,local]
gawk/now 1:5.0.1+dfsg-1 amd64 [installed,local]
gcc-10-base/now 10.5.0-1ubuntu1~20.04 amd64 [installed,local]
gcc-9-base/now 9.4.0-1ubuntu1~20.04.1 amd64 [installed,local]
gcc-9/now 9.4.0-1ubuntu1~20.04.1 amd64 [installed,local]
gcc/now 4:9.3.0-1ubuntu2 amd64 [installed,local]
gdb/now 9.2-0ubuntu1~20.04.1 amd64 [installed,local]
gdbserver/now 9.2-0ubuntu1~20.04.1 amd64 [installed,local]
gettext-base/now 0.19.8.1-10build1 amd64 [installed,local]
gettext/now 0.19.8.1-10build1 amd64 [installed,local]
gh/now 2.32.1 amd64 [installed,local]
gir1.2-glib-2.0/now 1.64.1-1~ubuntu20.04.1 amd64 [installed,local]
gir1.2-packagekitglib-1.0/now 1.1.13-2ubuntu1.1 amd64 [installed,local]
gir1.2-secret-1/now 0.20.4-0ubuntu1 amd64 [installed,local]
git-lfs/now 3.4.0 amd64 [installed,local]
git-man/now 1:2.25.1-1ubuntu3.11 all [installed,local]
git/now 1:2.25.1-1ubuntu3.11 amd64 [installed,local]
glib-networking-common/now 2.64.2-1ubuntu0.1 all [installed,local]
glib-networking-services/now 2.64.2-1ubuntu0.1 amd64 [installed,local]
glib-networking/now 2.64.2-1ubuntu0.1 amd64 [installed,local]
gnupg-l10n/now 2.2.19-3ubuntu2.2 all [installed,local]
gnupg-utils/now 2.2.19-3ubuntu2.2 amd64 [installed,local]
gnupg2/now 2.2.19-3ubuntu2.2 all [installed,local]
gnupg/now 2.2.19-3ubuntu2.2 all [installed,local]
gpg-agent/now 2.2.19-3ubuntu2.2 amd64 [installed,local]
gpg-wks-client/now 2.2.19-3ubuntu2.2 amd64 [installed,local]
gpg-wks-server/now 2.2.19-3ubuntu2.2 amd64 [installed,local]
gpg/now 2.2.19-3ubuntu2.2 amd64 [installed,local]
gpgconf/now 2.2.19-3ubuntu2.2 amd64 [installed,local]
gpgsm/now 2.2.19-3ubuntu2.2 amd64 [installed,local]
gpgv/now 2.2.19-3ubuntu2.2 amd64 [installed,local]
grep/now 3.4-1 amd64 [installed,local]
groff-base/now 1.22.4-4build1 amd64 [installed,local]
gsettings-desktop-schemas/now 3.36.0-1ubuntu1 all [installed,local]
gtk-update-icon-cache/now 3.24.20-0ubuntu1.1 amd64 [installed,local]
gzip/now 1.10-0ubuntu4.1 amd64 [installed,local]
hicolor-icon-theme/now 0.17-2 all [installed,local]
hostname/now 3.23 amd64 [installed,local]
htop/now 2.2.0-2build1 amd64 [installed,local]
humanity-icon-theme/now 0.6.15 all [installed,local]
icu-devtools/now 66.1-2ubuntu2.1 amd64 [installed,local]
init-system-helpers/now 1.57 all [installed,local]
iproute2/now 5.5.0-1ubuntu1 amd64 [installed,local]
iptables/now 1.8.4-3ubuntu2.1 amd64 [installed,local]
iso-codes/now 4.4-1 all [installed,local]
javascript-common/now 11 all [installed,local]
jq/now 1.6-1ubuntu0.20.04.1 amd64 [installed,local]
less/now 551-1ubuntu0.1 amd64 [installed,local]
lib32gcc-s1/now 10.5.0-1ubuntu1~20.04 amd64 [installed,local]
lib32stdc++6/now 10.5.0-1ubuntu1~20.04 amd64 [installed,local]
libacl1/now 2.2.53-6 amd64 [installed,local]
libapparmor1/now 2.13.3-7ubuntu5.2 amd64 [installed,local]
libappstream4/now 0.12.10-2 amd64 [installed,local]
libapt-pkg6.0/now 2.0.9 amd64 [installed,local]
libarchive13/now 3.4.0-2ubuntu1.2 amd64 [installed,local]
libargon2-1/now 0~20171227-0.2 amd64 [installed,local]
libargon2-dev/now 0~20171227-0.2 amd64 [installed,local]
libasan5/now 9.4.0-1ubuntu1~20.04.1 amd64 [installed,local]
libasn1-8-heimdal/now 7.7.0+dfsg-1ubuntu1.4 amd64 [installed,local]
libasound2-data/now 1.2.2-2.1ubuntu2.5 all [installed,local]
libasound2/now 1.2.2-2.1ubuntu2.5 amd64 [installed,local]
libassuan0/now 2.5.3-7ubuntu2 amd64 [installed,local]
libatk-bridge2.0-0/now 2.34.2-0ubuntu2~20.04.1 amd64 [installed,local]
libatk1.0-0/now 2.35.1-1ubuntu2 amd64 [installed,local]
libatk1.0-data/now 2.35.1-1ubuntu2 all [installed,local]
libatomic1/now 10.5.0-1ubuntu1~20.04 amd64 [installed,local]
libatspi2.0-0/now 2.36.0-2 amd64 [installed,local]
libattr1/now 1:2.4.48-5 amd64 [installed,local]
libaudit-common/now 1:2.8.5-2ubuntu6 all [installed,local]
libaudit1/now 1:2.8.5-2ubuntu6 amd64 [installed,local]
libavahi-client3/now 0.7-4ubuntu7.2 amd64 [installed,local]
libavahi-common-data/now 0.7-4ubuntu7.2 amd64 [installed,local]
libavahi-common3/now 0.7-4ubuntu7.2 amd64 [installed,local]
libbabeltrace1/now 1.5.8-1build1 amd64 [installed,local]
libbinutils/now 2.34-6ubuntu1.6 amd64 [installed,local]
libblkid-dev/now 2.34-0.1ubuntu9.4 amd64 [installed,local]
libblkid1/now 2.34-0.1ubuntu9.4 amd64 [installed,local]
libbrotli1/now 1.0.7-6ubuntu0.1 amd64 [installed,local]
libbsd-dev/now 0.10.0-1 amd64 [installed,local]
libbsd0/now 0.10.0-1 amd64 [installed,local]
libbz2-1.0/now 1.0.8-2 amd64 [installed,local]
libbz2-dev/now 1.0.8-2 amd64 [installed,local]
libc-bin/now 2.31-0ubuntu9.9 amd64 [installed,local]
libc-dev-bin/now 2.31-0ubuntu9.9 amd64 [installed,local]
libc6-dbg/now 2.31-0ubuntu9.9 amd64 [installed,local]
libc6-dev/now 2.31-0ubuntu9.9 amd64 [installed,local]
libc6-i386/now 2.31-0ubuntu9.9 amd64 [installed,local]
libc6/now 2.31-0ubuntu9.9 amd64 [installed,local]
libcairo-gobject2/now 1.16.0-4ubuntu1 amd64 [installed,local]
libcairo2/now 1.16.0-4ubuntu1 amd64 [installed,local]
libcanberra0/now 0.30-7ubuntu1 amd64 [installed,local]
libcap-ng0/now 0.7.9-2.1build1 amd64 [installed,local]
libcap2-bin/now 1:2.32-1ubuntu0.1 amd64 [installed,local]
libcap2/now 1:2.32-1ubuntu0.1 amd64 [installed,local]
libcbor0.6/now 0.6.0-0ubuntu1 amd64 [installed,local]
libcc1-0/now 10.5.0-1ubuntu1~20.04 amd64 [installed,local]
libclang-common-10-dev/now 1:10.0.0-4ubuntu1 amd64 [installed,local]
libclang-cpp10/now 1:10.0.0-4ubuntu1 amd64 [installed,local]
libclang1-10/now 1:10.0.0-4ubuntu1 amd64 [installed,local]
libcolord2/now 1.4.4-2 amd64 [installed,local]
libcom-err2/now 1.45.5-2ubuntu1.1 amd64 [installed,local]
libcroco3/now 0.6.13-1 amd64 [installed,local]
libcrypt-dev/now 1:4.4.10-10ubuntu4 amd64 [installed,local]
libcrypt1/now 1:4.4.10-10ubuntu4 amd64 [installed,local]
libcryptsetup12/now 2:2.2.2-3ubuntu2.4 amd64 [installed,local]
libctf-nobfd0/now 2.34-6ubuntu1.6 amd64 [installed,local]
libctf0/now 2.34-6ubuntu1.6 amd64 [installed,local]
libcups2/now 2.3.1-9ubuntu1.4 amd64 [installed,local]
libcurl3-gnutls/now 7.68.0-1ubuntu2.19 amd64 [installed,local]
libcurl4-openssl-dev/now 7.68.0-1ubuntu2.19 amd64 [installed,local]
libcurl4/now 7.68.0-1ubuntu2.19 amd64 [installed,local]
libdatrie1/now 0.2.12-3 amd64 [installed,local]
libdb5.3/now 5.3.28+dfsg1-0.6ubuntu2 amd64 [installed,local]
libdbus-1-3/now 1.12.16-2ubuntu2.3 amd64 [installed,local]
libdconf1/now 0.36.0-1 amd64 [installed,local]
libdebconfclient0/now 0.251ubuntu1 amd64 [installed,local]
libdevmapper1.02.1/now 2:1.02.167-1ubuntu1 amd64 [installed,local]
libdpkg-perl/now 1.19.7ubuntu3.2 all [installed,local]
libdrm-common/now 2.4.107-8ubuntu1~20.04.2 all [installed,local]
libdrm2/now 2.4.107-8ubuntu1~20.04.2 amd64 [installed,local]
libdw1/now 0.176-1.1build1 amd64 [installed,local]
libedit-dev/now 3.1-20191231-1 amd64 [installed,local]
libedit2/now 3.1-20191231-1 amd64 [installed,local]
libelf1/now 0.176-1.1build1 amd64 [installed,local]
libepoxy0/now 1.5.4-1 amd64 [installed,local]
liberror-perl/now 0.17029-1 all [installed,local]
libevent-2.1-7/now 2.1.11-stable-1 amd64 [installed,local]
libexif12/now 0.6.21-6ubuntu0.4 amd64 [installed,local]
libexpat1-dev/now 2.2.9-1ubuntu0.6 amd64 [installed,local]
libexpat1/now 2.2.9-1ubuntu0.6 amd64 [installed,local]
libext2fs2/now 1.45.5-2ubuntu1.1 amd64 [installed,local]
libfdisk1/now 2.34-0.1ubuntu9.4 amd64 [installed,local]
libffi-dev/now 3.3-4 amd64 [installed,local]
libffi7/now 3.3-4 amd64 [installed,local]
libfido2-1/now 1.3.1-1ubuntu2 amd64 [installed,local]
libfontconfig1-dev/now 2.13.1-2ubuntu3 amd64 [installed,local]
libfontconfig1/now 2.13.1-2ubuntu3 amd64 [installed,local]
libfreetype-dev/now 2.10.1-2ubuntu0.3 amd64 [installed,local]
libfreetype6-dev/now 2.10.1-2ubuntu0.3 amd64 [installed,local]
libfreetype6/now 2.10.1-2ubuntu0.3 amd64 [installed,local]
libfribidi0/now 1.0.8-2ubuntu0.1 amd64 [installed,local]
libgbm1/now 21.2.6-0ubuntu0.1~20.04.2 amd64 [installed,local]
libgc1c2/now 1:7.6.4-0.4ubuntu1 amd64 [installed,local]
libgcc-9-dev/now 9.4.0-1ubuntu1~20.04.1 amd64 [installed,local]
libgcc-s1/now 10.5.0-1ubuntu1~20.04 amd64 [installed,local]
libgcc1/now 1:10.5.0-1ubuntu1~20.04 amd64 [installed,local]
libgcrypt20-dev/now 1.8.5-5ubuntu1.1 amd64 [installed,local]
libgcrypt20/now 1.8.5-5ubuntu1.1 amd64 [installed,local]
libgdbm-compat4/now 1.18.1-5 amd64 [installed,local]
libgdbm-dev/now 1.18.1-5 amd64 [installed,local]
libgdbm6/now 1.18.1-5 amd64 [installed,local]
libgdiplus/now 6.0.4+dfsg-2 amd64 [installed,local]
libgdk-pixbuf2.0-0/now 2.40.0+dfsg-3ubuntu0.4 amd64 [installed,local]
libgdk-pixbuf2.0-common/now 2.40.0+dfsg-3ubuntu0.4 all [installed,local]
libgif7/now 5.1.9-1 amd64 [installed,local]
libgirepository-1.0-1/now 1.64.1-1~ubuntu20.04.1 amd64 [installed,local]
libglib2.0-0/now 2.64.6-1~ubuntu20.04.6 amd64 [installed,local]
libglib2.0-bin/now 2.64.6-1~ubuntu20.04.6 amd64 [installed,local]
libglib2.0-data/now 2.64.6-1~ubuntu20.04.6 all [installed,local]
libglib2.0-dev-bin/now 2.64.6-1~ubuntu20.04.6 amd64 [installed,local]
libglib2.0-dev/now 2.64.6-1~ubuntu20.04.6 amd64 [installed,local]
libgmp-dev/now 2:6.2.0+dfsg-4ubuntu0.1 amd64 [installed,local]
libgmp10/now 2:6.2.0+dfsg-4ubuntu0.1 amd64 [installed,local]
libgmpxx4ldbl/now 2:6.2.0+dfsg-4ubuntu0.1 amd64 [installed,local]
libgnutls-dane0/now 3.6.13-2ubuntu1.8 amd64 [installed,local]
libgnutls-openssl27/now 3.6.13-2ubuntu1.8 amd64 [installed,local]
libgnutls28-dev/now 3.6.13-2ubuntu1.8 amd64 [installed,local]
libgnutls30/now 3.6.13-2ubuntu1.8 amd64 [installed,local]
libgnutlsxx28/now 3.6.13-2ubuntu1.8 amd64 [installed,local]
libgomp1/now 10.5.0-1ubuntu1~20.04 amd64 [installed,local]
libgpg-error-dev/now 1.37-1 amd64 [installed,local]
libgpg-error0/now 1.37-1 amd64 [installed,local]
libgpm2/now 1.20.7-5 amd64 [installed,local]
libgraphite2-3/now 1.3.13-11build1 amd64 [installed,local]
libgssapi-krb5-2/now 1.17-6ubuntu4.3 amd64 [installed,local]
libgssapi3-heimdal/now 7.7.0+dfsg-1ubuntu1.4 amd64 [installed,local]
libgstreamer1.0-0/now 1.16.3-0ubuntu1.1 amd64 [installed,local]
libgtk-3-0/now 3.24.20-0ubuntu1.1 amd64 [installed,local]
libgtk-3-common/now 3.24.20-0ubuntu1.1 all [installed,local]
libharfbuzz0b/now 2.6.4-1ubuntu4.2 amd64 [installed,local]
libhcrypto4-heimdal/now 7.7.0+dfsg-1ubuntu1.4 amd64 [installed,local]
libheimbase1-heimdal/now 7.7.0+dfsg-1ubuntu1.4 amd64 [installed,local]
libheimntlm0-heimdal/now 7.7.0+dfsg-1ubuntu1.4 amd64 [installed,local]
libhogweed5/now 3.5.1+really3.5.1-2ubuntu0.2 amd64 [installed,local]
libhx509-5-heimdal/now 7.7.0+dfsg-1ubuntu1.4 amd64 [installed,local]
libice-dev/now 2:1.0.10-0ubuntu1 amd64 [installed,local]
libice6/now 2:1.0.10-0ubuntu1 amd64 [installed,local]
libicu-dev/now 66.1-2ubuntu2.1 amd64 [installed,local]
libicu66/now 66.1-2ubuntu2.1 amd64 [installed,local]
libidn11/now 1.33-2.2ubuntu2 amd64 [installed,local]
libidn2-0/now 2.2.0-2 amd64 [installed,local]
libidn2-dev/now 2.2.0-2 amd64 [installed,local]
libio-pty-perl/now 1:1.12-1 amd64 [installed,local]
libip4tc2/now 1.8.4-3ubuntu2.1 amd64 [installed,local]
libip6tc2/now 1.8.4-3ubuntu2.1 amd64 [installed,local]
libipc-run-perl/now 20180523.0-2 all [installed,local]
libisl22/now 0.22.1-1 amd64 [installed,local]
libitm1/now 10.5.0-1ubuntu1~20.04 amd64 [installed,local]
libjbig0/now 2.1-3.1ubuntu0.20.04.1 amd64 [installed,local]
libjpeg-turbo8/now 2.0.3-0ubuntu1.20.04.3 amd64 [installed,local]
libjpeg8/now 8c-2ubuntu8 amd64 [installed,local]
libjq1/now 1.6-1ubuntu0.20.04.1 amd64 [installed,local]
libjs-jquery/now 3.3.1~dfsg-3 all [installed,local]
libjson-c4/now 0.13.1+dfsg-7ubuntu0.3 amd64 [installed,local]
libjson-glib-1.0-0/now 1.4.4-2ubuntu2 amd64 [installed,local]
libjson-glib-1.0-common/now 1.4.4-2ubuntu2 all [installed,local]
libjsoncpp1/now 1.7.4-3.1ubuntu2 amd64 [installed,local]
libk5crypto3/now 1.17-6ubuntu4.3 amd64 [installed,local]
libkeyutils1/now 1.6-6ubuntu1.1 amd64 [installed,local]
libkmod2/now 27-1ubuntu2.1 amd64 [installed,local]
libkrb5-26-heimdal/now 7.7.0+dfsg-1ubuntu1.4 amd64 [installed,local]
libkrb5-3/now 1.17-6ubuntu4.3 amd64 [installed,local]
libkrb5support0/now 1.17-6ubuntu4.3 amd64 [installed,local]
libksba8/now 1.3.5-2ubuntu0.20.04.2 amd64 [installed,local]
liblcms2-2/now 2.9-4 amd64 [installed,local]
libldap-2.4-2/now 2.4.49+dfsg-2ubuntu1.9 amd64 [installed,local]
libldap-common/now 2.4.49+dfsg-2ubuntu1.9 all [installed,local]
liblldb-10/now 1:10.0.0-4ubuntu1 amd64 [installed,local]
libllvm10/now 1:10.0.0-4ubuntu1 amd64 [installed,local]
liblmdb0/now 0.9.24-1 amd64 [installed,local]
liblsan0/now 10.5.0-1ubuntu1~20.04 amd64 [installed,local]
libltdl-dev/now 2.4.6-14 amd64 [installed,local]
libltdl7/now 2.4.6-14 amd64 [installed,local]
liblttng-ust-ctl4/now 2.11.0-1 amd64 [installed,local]
liblttng-ust0/now 2.11.0-1 amd64 [installed,local]
liblz4-1/now 1.9.2-2ubuntu0.20.04.1 amd64 [installed,local]
liblzma-dev/now 5.2.4-1ubuntu1.1 amd64 [installed,local]
liblzma5/now 5.2.4-1ubuntu1.1 amd64 [installed,local]
libmagic-mgc/now 1:5.38-4 amd64 [installed,local]
libmagic1/now 1:5.38-4 amd64 [installed,local]
libmnl0/now 1.0.4-2 amd64 [installed,local]
libmount-dev/now 2.34-0.1ubuntu9.4 amd64 [installed,local]
libmount1/now 2.34-0.1ubuntu9.4 amd64 [installed,local]
libmpc3/now 1.1.0-1 amd64 [installed,local]
libmpdec2/now 2.4.2-3 amd64 [installed,local]
libmpfr6/now 4.0.2-1 amd64 [installed,local]
libmysqlclient-dev/now 8.0.34-0ubuntu0.20.04.1 amd64 [installed,local]
libmysqlclient21/now 8.0.34-0ubuntu0.20.04.1 amd64 [installed,local]
libncurses-dev/now 6.2-0ubuntu2.1 amd64 [installed,local]
libncurses5-dev/now 6.2-0ubuntu2.1 amd64 [installed,local]
libncurses5/now 6.2-0ubuntu2.1 amd64 [installed,local]
libncurses6/now 6.2-0ubuntu2.1 amd64 [installed,local]
libncursesw6/now 6.2-0ubuntu2.1 amd64 [installed,local]
libnetfilter-conntrack3/now 1.0.7-2 amd64 [installed,local]
libnettle7/now 3.5.1+really3.5.1-2ubuntu0.2 amd64 [installed,local]
libnfnetlink0/now 1.0.1-3build1 amd64 [installed,local]
libnftnl11/now 1.1.5-1 amd64 [installed,local]
libnghttp2-14/now 1.40.0-1ubuntu0.1 amd64 [installed,local]
libnpth0/now 1.6-1 amd64 [installed,local]
libnspr4-dev/now 2:4.25-1 amd64 [installed,local]
libnspr4/now 2:4.25-1 amd64 [installed,local]
libnss3-dev/now 2:3.49.1-1ubuntu1.9 amd64 [installed,local]
libnss3/now 2:3.49.1-1ubuntu1.9 amd64 [installed,local]
libnuma1/now 2.0.12-1 amd64 [installed,local]
libobjc-9-dev/now 9.4.0-1ubuntu1~20.04.1 amd64 [installed,local]
libobjc4/now 10.5.0-1ubuntu1~20.04 amd64 [installed,local]
libodbc1/now 2.3.6-0.1build1 amd64 [installed,local]
libogg0/now 1.3.4-0ubuntu1 amd64 [installed,local]
libomp-10-dev/now 1:10.0.0-4ubuntu1 amd64 [installed,local]
libomp5-10/now 1:10.0.0-4ubuntu1 amd64 [installed,local]
libonig-dev/now 6.9.4-1 amd64 [installed,local]
libonig5/now 6.9.4-1 amd64 [installed,local]
libp11-kit-dev/now 0.23.20-1ubuntu0.1 amd64 [installed,local]
libp11-kit0/now 0.23.20-1ubuntu0.1 amd64 [installed,local]
libpackagekit-glib2-18/now 1.1.13-2ubuntu1.1 amd64 [installed,local]
libpam-modules-bin/now 1.3.1-5ubuntu4.6 amd64 [installed,local]
libpam-modules/now 1.3.1-5ubuntu4.6 amd64 [installed,local]
libpam-runtime/now 1.3.1-5ubuntu4.6 all [installed,local]
libpam-systemd/now 245.4-4ubuntu3.22 amd64 [installed,local]
libpam0g/now 1.3.1-5ubuntu4.6 amd64 [installed,local]
libpango-1.0-0/now 1.44.7-2ubuntu4 amd64 [installed,local]
libpangocairo-1.0-0/now 1.44.7-2ubuntu4 amd64 [installed,local]
libpangoft2-1.0-0/now 1.44.7-2ubuntu4 amd64 [installed,local]
libpcre16-3/now 2:8.39-12ubuntu0.1 amd64 [installed,local]
libpcre2-16-0/now 10.34-7ubuntu0.1 amd64 [installed,local]
libpcre2-32-0/now 10.34-7ubuntu0.1 amd64 [installed,local]
libpcre2-8-0/now 10.34-7ubuntu0.1 amd64 [installed,local]
libpcre2-dev/now 10.34-7ubuntu0.1 amd64 [installed,local]
libpcre2-posix2/now 10.34-7ubuntu0.1 amd64 [installed,local]
libpcre3-dev/now 2:8.39-12ubuntu0.1 amd64 [installed,local]
libpcre32-3/now 2:8.39-12ubuntu0.1 amd64 [installed,local]
libpcre3/now 2:8.39-12ubuntu0.1 amd64 [installed,local]
libpcrecpp0v5/now 2:8.39-12ubuntu0.1 amd64 [installed,local]
libperl5.30/now 5.30.0-9ubuntu0.4 amd64 [installed,local]
libpfm4/now 4.10.1+git20-g7700f49-2 amd64 [installed,local]
libpipeline1/now 1.5.2-2build1 amd64 [installed,local]
libpixman-1-0/now 0.38.4-0ubuntu2.1 amd64 [installed,local]
libpng-dev/now 1.6.37-2 amd64 [installed,local]
libpng16-16/now 1.6.37-2 amd64 [installed,local]
libpolkit-agent-1-0/now 0.105-26ubuntu1.3 amd64 [installed,local]
libpolkit-gobject-1-0/now 0.105-26ubuntu1.3 amd64 [installed,local]
libpopt0/now 1.16-14 amd64 [installed,local]
libpq-dev/now 12.16-0ubuntu0.20.04.1 amd64 [installed,local]
libpq5/now 12.16-0ubuntu0.20.04.1 amd64 [installed,local]
libprocps8/now 2:3.3.16-1ubuntu2.3 amd64 [installed,local]
libproxy1v5/now 0.4.15-10ubuntu1.2 amd64 [installed,local]
libpsl5/now 0.21.0-1ubuntu1 amd64 [installed,local]
libpthread-stubs0-dev/now 0.4-1 amd64 [installed,local]
libpython3-dev/now 3.8.2-0ubuntu2 amd64 [installed,local]
libpython3-stdlib/now 3.8.2-0ubuntu2 amd64 [installed,local]
libpython3.8-dev/now 3.8.10-0ubuntu1~20.04.8 amd64 [installed,local]
libpython3.8-minimal/now 3.8.10-0ubuntu1~20.04.8 amd64 [installed,local]
libpython3.8-stdlib/now 3.8.10-0ubuntu1~20.04.8 amd64 [installed,local]
libpython3.8/now 3.8.10-0ubuntu1~20.04.8 amd64 [installed,local]
libquadmath0/now 10.5.0-1ubuntu1~20.04 amd64 [installed,local]
libreadline-dev/now 8.0-4 amd64 [installed,local]
libreadline8/now 8.0-4 amd64 [installed,local]
librest-0.7-0/now 0.8.1-1 amd64 [installed,local]
librhash0/now 1.3.9-1 amd64 [installed,local]
libroken18-heimdal/now 7.7.0+dfsg-1ubuntu1.4 amd64 [installed,local]
librsvg2-2/now 2.48.9-1ubuntu0.20.04.4 amd64 [installed,local]
librsvg2-common/now 2.48.9-1ubuntu0.20.04.4 amd64 [installed,local]
librtmp1/now 2.4+20151223.gitfa8646d.1-2build1 amd64 [installed,local]
libsasl2-2/now 2.1.27+dfsg-2ubuntu0.1 amd64 [installed,local]
libsasl2-modules-db/now 2.1.27+dfsg-2ubuntu0.1 amd64 [installed,local]
libseccomp2/now 2.5.1-1ubuntu1~20.04.2 amd64 [installed,local]
libsecret-1-0/now 0.20.4-0ubuntu1 amd64 [installed,local]
libsecret-1-dev/now 0.20.4-0ubuntu1 amd64 [installed,local]
libsecret-common/now 0.20.4-0ubuntu1 all [installed,local]
libselinux1-dev/now 3.0-1build2 amd64 [installed,local]
libselinux1/now 3.0-1build2 amd64 [installed,local]
libsemanage-common/now 3.0-1build2 all [installed,local]
libsemanage1/now 3.0-1build2 amd64 [installed,local]
libsepol1-dev/now 3.0-1ubuntu0.1 amd64 [installed,local]
libsepol1/now 3.0-1ubuntu0.1 amd64 [installed,local]
libsigsegv2/now 2.12-2 amd64 [installed,local]
libsm-dev/now 2:1.2.3-1 amd64 [installed,local]
libsm6/now 2:1.2.3-1 amd64 [installed,local]
libsmartcols1/now 2.34-0.1ubuntu9.4 amd64 [installed,local]
libsodium-dev/now 1.0.18-1 amd64 [installed,local]
libsodium23/now 1.0.18-1 amd64 [installed,local]
libsoup-gnome2.4-1/now 2.70.0-1 amd64 [installed,local]
libsoup2.4-1/now 2.70.0-1 amd64 [installed,local]
libsqlite3-0/now 3.31.1-4ubuntu0.5 amd64 [installed,local]
libsqlite3-dev/now 3.31.1-4ubuntu0.5 amd64 [installed,local]
libss2/now 1.45.5-2ubuntu1.1 amd64 [installed,local]
libssh-4/now 0.9.3-2ubuntu2.3 amd64 [installed,local]
libssl-dev/now 1.1.1f-1ubuntu2.19 amd64 [installed,local]
libssl1.1/now 1.1.1f-1ubuntu2.19 amd64 [installed,local]
libstdc++-9-dev/now 9.4.0-1ubuntu1~20.04.1 amd64 [installed,local]
libstdc++6/now 10.5.0-1ubuntu1~20.04 amd64 [installed,local]
libstemmer0d/now 0+svn585-2 amd64 [installed,local]
libsystemd0/now 245.4-4ubuntu3.22 amd64 [installed,local]
libtasn1-6-dev/now 4.16.0-2 amd64 [installed,local]
libtasn1-6/now 4.16.0-2 amd64 [installed,local]
libtcl8.6/now 8.6.10+dfsg-1 amd64 [installed,local]
libtdb1/now 1.4.5-0ubuntu0.20.04.1 amd64 [installed,local]
libthai-data/now 0.1.28-3 all [installed,local]
libthai0/now 0.1.28-3 amd64 [installed,local]
libtiff5/now 4.1.0+git191117-2ubuntu0.20.04.9 amd64 [installed,local]
libtime-duration-perl/now 1.21-1 all [installed,local]
libtimedate-perl/now 2.3200-1 all [installed,local]
libtinfo-dev/now 6.2-0ubuntu2.1 amd64 [installed,local]
libtinfo5/now 6.2-0ubuntu2.1 amd64 [installed,local]
libtinfo6/now 6.2-0ubuntu2.1 amd64 [installed,local]
libtinyxml2-6a/now 7.0.0+dfsg-1build1 amd64 [installed,local]
libtk8.6/now 8.6.10-1 amd64 [installed,local]
libtool/now 2.4.6-14 all [installed,local]
libtsan0/now 10.5.0-1ubuntu1~20.04 amd64 [installed,local]
libubsan1/now 10.5.0-1ubuntu1~20.04 amd64 [installed,local]
libuchardet0/now 0.0.6-3build1 amd64 [installed,local]
libudev1/now 245.4-4ubuntu3.22 amd64 [installed,local]
libunbound8/now 1.9.4-2ubuntu1.4 amd64 [installed,local]
libunistring2/now 0.9.10-2 amd64 [installed,local]
libunwind8/now 1.2.1-9ubuntu0.1 amd64 [installed,local]
liburcu6/now 0.11.1-2 amd64 [installed,local]
libuuid1/now 2.34-0.1ubuntu9.4 amd64 [installed,local]
libuv1/now 1.34.2-1ubuntu1.3 amd64 [installed,local]
libvorbis0a/now 1.3.6-2ubuntu1 amd64 [installed,local]
libvorbisfile3/now 1.3.6-2ubuntu1 amd64 [installed,local]
libwayland-client0/now 1.18.0-1ubuntu0.1 amd64 [installed,local]
libwayland-cursor0/now 1.18.0-1ubuntu0.1 amd64 [installed,local]
libwayland-egl1/now 1.18.0-1ubuntu0.1 amd64 [installed,local]
libwayland-server0/now 1.18.0-1ubuntu0.1 amd64 [installed,local]
libwebp6/now 0.6.1-2ubuntu0.20.04.2 amd64 [installed,local]
libwind0-heimdal/now 7.7.0+dfsg-1ubuntu1.4 amd64 [installed,local]
libwrap0/now 7.6.q-30 amd64 [installed,local]
libx11-6/now 2:1.6.9-2ubuntu1.5 amd64 [installed,local]
libx11-data/now 2:1.6.9-2ubuntu1.5 all [installed,local]
libx11-dev/now 2:1.6.9-2ubuntu1.5 amd64 [installed,local]
libx11-xcb1/now 2:1.6.9-2ubuntu1.5 amd64 [installed,local]
libxau-dev/now 1:1.0.9-0ubuntu1 amd64 [installed,local]
libxau6/now 1:1.0.9-0ubuntu1 amd64 [installed,local]
libxcb-render0/now 1.14-2 amd64 [installed,local]
libxcb-shm0/now 1.14-2 amd64 [installed,local]
libxcb1-dev/now 1.14-2 amd64 [installed,local]
libxcb1/now 1.14-2 amd64 [installed,local]
libxcomposite1/now 1:0.4.5-1 amd64 [installed,local]
libxcursor1/now 1:1.2.0-2 amd64 [installed,local]
libxdamage1/now 1:1.1.5-2 amd64 [installed,local]
libxdmcp-dev/now 1:1.1.3-0ubuntu1 amd64 [installed,local]
libxdmcp6/now 1:1.1.3-0ubuntu1 amd64 [installed,local]
libxext-dev/now 2:1.3.4-0ubuntu1 amd64 [installed,local]
libxext6/now 2:1.3.4-0ubuntu1 amd64 [installed,local]
libxfixes3/now 1:5.0.3-2 amd64 [installed,local]
libxft-dev/now 2.3.3-0ubuntu1 amd64 [installed,local]
libxft2/now 2.3.3-0ubuntu1 amd64 [installed,local]
libxi6/now 2:1.7.10-0ubuntu1 amd64 [installed,local]
libxinerama1/now 2:1.1.4-2 amd64 [installed,local]
libxkbcommon0/now 0.10.0-1 amd64 [installed,local]
libxml2-dev/now 2.9.10+dfsg-5ubuntu0.20.04.6 amd64 [installed,local]
libxml2/now 2.9.10+dfsg-5ubuntu0.20.04.6 amd64 [installed,local]
libxmlsec1-dev/now 1.2.28-2 amd64 [installed,local]
libxmlsec1-gcrypt/now 1.2.28-2 amd64 [installed,local]
libxmlsec1-gnutls/now 1.2.28-2 amd64 [installed,local]
libxmlsec1-nss/now 1.2.28-2 amd64 [installed,local]
libxmlsec1-openssl/now 1.2.28-2 amd64 [installed,local]
libxmlsec1/now 1.2.28-2 amd64 [installed,local]
libxrandr2/now 2:1.5.2-0ubuntu1 amd64 [installed,local]
libxrender-dev/now 1:0.9.10-1 amd64 [installed,local]
libxrender1/now 1:0.9.10-1 amd64 [installed,local]
libxslt1-dev/now 1.1.34-4ubuntu0.20.04.1 amd64 [installed,local]
libxslt1.1/now 1.1.34-4ubuntu0.20.04.1 amd64 [installed,local]
libxss-dev/now 1:1.2.3-1 amd64 [installed,local]
libxss1/now 1:1.2.3-1 amd64 [installed,local]
libxt-dev/now 1:1.1.5-1 amd64 [installed,local]
libxt6/now 1:1.1.5-1 amd64 [installed,local]
libxtables12/now 1.8.4-3ubuntu2.1 amd64 [installed,local]
libyaml-0-2/now 0.2.2-1 amd64 [installed,local]
libyaml-dev/now 0.2.2-1 amd64 [installed,local]
libz3-4/now 4.8.7-4build1 amd64 [installed,local]
libz3-dev/now 4.8.7-4build1 amd64 [installed,local]
libzstd1/now 1.4.4+dfsg-3ubuntu0.1 amd64 [installed,local]
linux-libc-dev/now 5.4.0-156.173 amd64 [installed,local]
lldb-10/now 1:10.0.0-4ubuntu1 amd64 [installed,local]
lldb/now 1:10.0-50~exp1 amd64 [installed,local]
llvm-10-dev/now 1:10.0.0-4ubuntu1 amd64 [installed,local]
llvm-10-runtime/now 1:10.0.0-4ubuntu1 amd64 [installed,local]
llvm-10-tools/now 1:10.0.0-4ubuntu1 amd64 [installed,local]
llvm-10/now 1:10.0.0-4ubuntu1 amd64 [installed,local]
llvm-runtime/now 1:10.0-50~exp1 amd64 [installed,local]
llvm/now 1:10.0-50~exp1 amd64 [installed,local]
locales/now 2.31-0ubuntu9.9 all [installed,local]
login/now 1:4.8.1-1ubuntu5.20.04.4 amd64 [installed,local]
logsave/now 1.45.5-2ubuntu1.1 amd64 [installed,local]
lsb-base/now 11.1.0ubuntu2 all [installed,local]
lsb-release/now 11.1.0ubuntu2 all [installed,local]
lsof/now 4.93.2+dfsg-1ubuntu0.20.04.1 amd64 [installed,local]
lynx-common/now 2.9.0dev.5-1 all [installed,local]
lynx/now 2.9.0dev.5-1 amd64 [installed,local]
m4/now 1.4.18-4 amd64 [installed,local]
make/now 4.2.1-1.2 amd64 [installed,local]
man-db/now 2.9.1-1 amd64 [installed,local]
manpages-dev/now 5.05-1 all [installed,local]
manpages/now 5.05-1 all [installed,local]
mawk/now 1.3.4.20200120-2 amd64 [installed,local]
mime-support/now 3.64ubuntu1 all [installed,local]
moby-buildx/now 0.11.2+azure-ubuntu20.04u1 amd64 [installed,local]
moby-cli/now 23.0.6+azure-ubuntu20.04u2 amd64 [installed,local]
moby-compose/now 2.20.3+azure-ubuntu20.04u1 amd64 [installed,local]
moby-containerd/now 1.6.23+azure-ubuntu20.04u1 amd64 [installed,local]
moby-engine/now 23.0.6+azure-ubuntu20.04u2 amd64 [installed,local]
moby-runc/now 1.1.8+azure-ubuntu20.04u1 amd64 [installed,local]
moreutils/now 0.63-1 amd64 [installed,local]
mount/now 2.34-0.1ubuntu9.4 amd64 [installed,local]
mysql-common/now 5.8+1.0.5ubuntu2 all [installed,local]
nano/now 4.8-1ubuntu1 amd64 [installed,local]
ncdu/now 1.14.1-1 amd64 [installed,local]
ncurses-base/now 6.2-0ubuntu2.1 all [installed,local]
ncurses-bin/now 6.2-0ubuntu2.1 amd64 [installed,local]
net-tools/now 1.60+git20180626.aebd88e-1ubuntu1 amd64 [installed,local]
netbase/now 6.1 all [installed,local]
nettle-dev/now 3.5.1+really3.5.1-2ubuntu0.2 amd64 [installed,local]
odbcinst1debian2/now 2.3.6-0.1build1 amd64 [installed,local]
odbcinst/now 2.3.6-0.1build1 amd64 [installed,local]
openssh-client/now 1:8.2p1-4ubuntu0.9 amd64 [installed,local]
openssh-server/now 1:8.2p1-4ubuntu0.9 amd64 [installed,local]
openssh-sftp-server/now 1:8.2p1-4ubuntu0.9 amd64 [installed,local]
openssl/now 1.1.1f-1ubuntu2.19 amd64 [installed,local]
packagekit/now 1.1.13-2ubuntu1.1 amd64 [installed,local]
passwd/now 1:4.8.1-1ubuntu5.20.04.4 amd64 [installed,local]
patch/now 2.7.6-6 amd64 [installed,local]
perl-base/now 5.30.0-9ubuntu0.4 amd64 [installed,local]
perl-modules-5.30/now 5.30.0-9ubuntu0.4 all [installed,local]
perl/now 5.30.0-9ubuntu0.4 amd64 [installed,local]
pigz/now 2.4-1 amd64 [installed,local]
pinentry-curses/now 1.1.0-3build1 amd64 [installed,local]
pkg-config/now 0.29.1-0ubuntu4 amd64 [installed,local]
policykit-1/now 0.105-26ubuntu1.3 amd64 [installed,local]
procps/now 2:3.3.16-1ubuntu2.3 amd64 [installed,local]
psmisc/now 23.3-1 amd64 [installed,local]
python-apt-common/now 2.0.1ubuntu0.20.04.1 all [installed,local]
python-pip-whl/now 20.0.2-5ubuntu1.9 all [installed,local]
python3-apt/now 2.0.1ubuntu0.20.04.1 amd64 [installed,local]
python3-certifi/now 2019.11.28-1 all [installed,local]
python3-chardet/now 3.0.4-4build1 all [installed,local]
python3-dbus/now 1.2.16-1build1 amd64 [installed,local]
python3-dev/now 3.8.2-0ubuntu2 amd64 [installed,local]
python3-distutils/now 3.8.10-0ubuntu1~20.04 all [installed,local]
python3-gi/now 3.36.0-1 amd64 [installed,local]
python3-idna/now 2.8-1 all [installed,local]
python3-lib2to3/now 3.8.10-0ubuntu1~20.04 all [installed,local]
python3-lldb-10/now 1:10.0.0-4ubuntu1 amd64 [installed,local]
python3-minimal/now 3.8.2-0ubuntu2 amd64 [installed,local]
python3-pip/now 20.0.2-5ubuntu1.9 all [installed,local]
python3-pkg-resources/now 45.2.0-1ubuntu0.1 all [installed,local]
python3-pygments/now 2.3.1+dfsg-1ubuntu2.2 all [installed,local]
python3-requests-unixsocket/now 0.2.0-2 all [installed,local]
python3-requests/now 2.22.0-2ubuntu1.1 all [installed,local]
python3-setuptools/now 45.2.0-1ubuntu0.1 all [installed,local]
python3-six/now 1.14.0-2 all [installed,local]
python3-software-properties/now 0.99.9.11 all [installed,local]
python3-urllib3/now 1.25.8-2ubuntu0.2 all [installed,local]
python3-wheel/now 0.34.2-1ubuntu0.1 all [installed,local]
python3-yaml/now 5.3.1-1ubuntu0.1 amd64 [installed,local]
python3.8-dev/now 3.8.10-0ubuntu1~20.04.8 amd64 [installed,local]
python3.8-minimal/now 3.8.10-0ubuntu1~20.04.8 amd64 [installed,local]
python3.8/now 3.8.10-0ubuntu1~20.04.8 amd64 [installed,local]
python3/now 3.8.2-0ubuntu2 amd64 [installed,local]
re2c/now 1.3-1ubuntu0.1 amd64 [installed,local]
readline-common/now 8.0-4 all [installed,local]
rsync/now 3.1.3-8ubuntu0.5 amd64 [installed,local]
sed/now 4.7-1 amd64 [installed,local]
sensible-utils/now 0.0.12+nmu1 all [installed,local]
shared-mime-info/now 1.15-1 amd64 [installed,local]
software-properties-common/now 0.99.9.11 all [installed,local]
sound-theme-freedesktop/now 0.8-2ubuntu1 all [installed,local]
sqlite3/now 3.31.1-4ubuntu0.5 amd64 [installed,local]
strace/now 5.5-3ubuntu1 amd64 [installed,local]
sudo/now 1.8.31-1ubuntu1.5 amd64 [installed,local]
swig3.0/now 3.0.12-2.2ubuntu1 amd64 [installed,local]
systemd-sysv/now 245.4-4ubuntu3.22 amd64 [installed,local]
systemd-timesyncd/now 245.4-4ubuntu3.22 amd64 [installed,local]
systemd/now 245.4-4ubuntu3.22 amd64 [installed,local]
sysvinit-utils/now 2.96-2.1ubuntu1 amd64 [installed,local]
tar/now 1.30+dfsg-7ubuntu0.20.04.3 amd64 [installed,local]
tcl-dev/now 8.6.9+1 amd64 [installed,local]
tcl8.6-dev/now 8.6.10+dfsg-1 amd64 [installed,local]
tcl8.6/now 8.6.10+dfsg-1 amd64 [installed,local]
tcl/now 8.6.9+1 amd64 [installed,local]
tk-dev/now 8.6.9+1 amd64 [installed,local]
tk8.6-dev/now 8.6.10-1 amd64 [installed,local]
tk8.6/now 8.6.10-1 amd64 [installed,local]
tk/now 8.6.9+1 amd64 [installed,local]
tree/now 1.8.0-1 amd64 [installed,local]
tzdata/now 2023c-0ubuntu0.20.04.2 all [installed,local]
ubuntu-keyring/now 2020.02.11.4 all [installed,local]
ubuntu-mono/now 19.04-0ubuntu3 all [installed,local]
ucf/now 3.0038+nmu1 all [installed,local]
unixodbc-dev/now 2.3.6-0.1build1 amd64 [installed,local]
unzip/now 6.0-25ubuntu1.1 amd64 [installed,local]
util-linux/now 2.34-0.1ubuntu9.4 amd64 [installed,local]
uuid-dev/now 2.34-0.1ubuntu9.4 amd64 [installed,local]
valgrind/now 1:3.15.0-1ubuntu9.1 amd64 [installed,local]
vim-common/now 2:8.1.2269-1ubuntu5.16 all [installed,local]
vim-doc/now 2:8.1.2269-1ubuntu5.16 all [installed,local]
vim-runtime/now 2:8.1.2269-1ubuntu5.16 all [installed,local]
vim-tiny/now 2:8.1.2269-1ubuntu5.16 amd64 [installed,local]
vim/now 2:8.1.2269-1ubuntu5.16 amd64 [installed,local]
wget/now 1.20.3-1ubuntu2 amd64 [installed,local]
x11-common/now 1:7.7+19ubuntu14 all [installed,local]
x11proto-core-dev/now 2019.2-1ubuntu1 all [installed,local]
x11proto-dev/now 2019.2-1ubuntu1 all [installed,local]
x11proto-scrnsaver-dev/now 2019.2-1ubuntu1 all [installed,local]
x11proto-xext-dev/now 2019.2-1ubuntu1 all [installed,local]
xkb-data/now 2.29-2 all [installed,local]
xorg-sgml-doctools/now 1:1.11-1 all [installed,local]
xsel/now 1.2.0+git9bfc13d.20180109-3 amd64 [installed,local]
xtail/now 2.1-6 amd64 [installed,local]
xtrans-dev/now 1.4.0-1 all [installed,local]
xxd/now 2:8.1.2269-1ubuntu5.16 amd64 [installed,local]
xz-utils/now 5.2.4-1ubuntu1.1 amd64 [installed,local]
yarn/now 1.22.19-1 all [installed,local]
zip/now 3.0-11build1 amd64 [installed,local]
zlib1g-dev/now 1:1.2.11.dfsg-2ubuntu1.5 amd64 [installed,local]
zlib1g/now 1:1.2.11.dfsg-2ubuntu1.5 amd64 [installed,local]
zsh-common/now 5.8-3ubuntu1.1 all [installed,local]
zsh/now 5.8-3ubuntu1.1 amd64 [installed,local]
エイリアス
コマンドの置き換えに重要なエイリアスをチェックします。
aliasを実行する
alias
実行結果
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
alias grep='grep --color=auto'
alias l='ls -CF'
alias la='ls -A'
alias ll='ls -alF'
alias ls='ls --color=auto'
alias rvm-restart='rvm_reload_flag=1 source '\''/usr/local/rvm/scripts/rvm'\'''
codespaceを停止する
最後に環境を削除してcodespaceを停止します。なお、gh codespace stop
を使うと環境を残したまま停止できます。
gh codespace
環境を削除する
gh codespace delete
まとめ
GitHub codespaceを使うとGitHub上の操作をコマンドラインで実行できることがわかりました。
codespceについてもコマンド一発で起動できます。うまく使えば、利用端末を選ぶことなく開発に集中できる環境を構築できそうです。
codespaceについては起動して削除するだけでしたが、機会があれば、もっと深く触ってみたいと思いました。
Discussion