3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Clear Linuxでyumを使用可能にする

Last updated at Posted at 2016-08-01

Clear Linuxでyumを使いたい人向けのメモ
最新のパッケージはこちらで管理されています

Software update tool で、yumコマンドをインストールする

swupd bundle-add os-clr-on-clr
swupd bundle-add os-core-dev

yum用のディレクトリを作成

mkdir -p /etc/yum/vars/
mkdir -p /etc/yum.repos.d/

変数を定義(ClearLinux自体のバージョンが/lib/os-releaseに書かれています)

grep VERSION_ID /lib/os-release
echo XXXX > /etc/yum/vars/clearrelease

/etc/yum.conf を作成

[main]
cachedir=/var/cache/yum/$basearch/$clearrelease
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=5

/etc/yum.repos.d/clear.repo を作成

[clearlinux]
name=clearlinux
baseurl=https://download.clearlinux.org/releases/$clearrelease/clear/$basearch/os/
gpgcheck=0
enabled=1
3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?