Ubuntu安装Kodi教程

Kodi可以运行在Windows、Android、iOS、Mac、Linux、Raspberry Pi系统,Ubuntu基于Linux,自然也能够安装Kodi。

按“Ctrl+Alt+T”键呼出terminal(控制台),输入:

sudo -i

回车,输入密码,回车。

Ubuntu本身的源因为DNS原因访问较慢,需要换成国内源输入:

vi /etc/apt/sources.list

接着输入 i 进入编辑模式,将粘贴下面代码:

deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy main restricted universe multiverse

# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy main restricted universe multiverse

deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-updates main restricted universe multiverse

# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-updates main restricted universe multiverse

deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-backports main restricted universe multiverse

# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-backports main restricted universe multiverse

deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-security main restricted universe multiverse

# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-security main restricted universe multiverse


按ESC退出编辑模式,输入 :wq  按回车。

更新源,输入:

apt-get update



依次输入下面代码下载安装Kodi:

sudo apt install software-properties-common

sudo add-apt-repository -y ppa:team-xbmc/ppa

sudo apt install kodi


提示“Do you want to continue?”输入Y,回车。

安装完成后输入:kodi 回车打开Kodi。也可以在桌面点击Kodi图标访问。

5[1].jpg

删除Kodi命令: sudo apt remove --autoremove kodi kodi-data kodi-bin

相关文章