红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > Ubuntu

一条命令在Ubuntu 8.04中拥有DVD回放、Flash插件、MP3

发布时间:2008-05-23 10:54:39来源:红联作者:Htgiot
打开一个终端(应用程序->附件>终端)打入如下命令:

sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list && sudo apt-get update && sudo apt-get install medibuntu-keyring && sudoapt-get update && sudo apt-get install libdvdcss2 && sudo apt-get install w32codecs

上面的命令从Medibuntu仓库下载所有需要的解码文件,你的Ubuntu马上变成多媒体强人了。

注意:上面命令是32位系统专用的。AMD64位用户,把最后的win32codecs改成w64codecs。PPC用户把win32codecs改成ppc-codecs。

另外安装Google Earth:

sudo apt-get install googleearth-4.2
文章评论

共有 8 条评论

  1. 相思爱文 于 2008-05-31 21:57:41发表:

    sudo apt-get install后面可跟多个软件(用空格分开)

  2. 相思爱文 于 2008-05-31 21:56:13发表:

    明明是六条啊,只是按顺序执行。

  3. 鸟无音信 于 2008-05-31 00:40:59发表:

    这命令还真长。。
    不过现在播放电影,音乐之类的基本正常了

  4. yushun000 于 2008-05-30 16:12:42发表:

    root@yushun-desktop:/home/yushun# sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list && sudo apt-get update && sudo apt-get install medibuntu-keyring && sudoapt-get update && sudo apt-get install libdvdcss2 && sudo apt-get install w64codecs
    --15:15:07-- http://www.medibuntu.org/sources.list.d/hardy.list
    => `/etc/apt/sources.list.d/medibuntu.list'
    正在解析主机 www.medibuntu.org... 87.98.242.10
    正在连接 www.medibuntu.org|87.98.242.10|:80... 已连接。
    已发出 HTTP 请求,正在等待回应... 200 OK
    长度: 226 [text/plain]

    100%[====================================>] 226 --.--K/s

    15:15:08 (12.44 MB/s) - `/etc/apt/sources.list.d/medibuntu.list' 已经保存 [226/226]

    获取:1 http://mirror.rootguide.org hardy Release.gpg [191B]
    命中 http://mirror.rootguide.org hardy/main Translation-zh_CN
    忽略 http://mirror.rootguide.org hardy/restricted Translation-zh_CN
    命中 http://mirror.rootguide.org hardy/universe Translation-zh_CN
    命中 http://mirror.rootguide.org hardy/multiverse Translation-zh_CN
    忽略 http://ubuntu.cn99.com edgy Release.gpg
    忽略 http://ubuntu.cn99.com edgy/main Translation-zh_CN
    忽略 http://ubuntu.cn99.com edgy/restricted Translation-zh_CN
    忽略 http://ubuntu.cn99.com edgy/universe Translation-zh_CN
    获取:2 http://mirror.rootguide.org hardy-updates Release.gpg [191B]
    忽略 http://mirror.rootguide.org hardy-updates/main Translation-zh_CN
    忽略 http://mirror.rootguide.org hardy-updates/restricted Translation-zh_CN
    忽略 http://mirror.rootguide.org hardy-updates/universe Translation-zh_CN
    忽略 http://mirror.rootguide.org hardy-updates/multiverse Translation-zh_CN
    获取:3 http://mirror.rootguide.org hardy-security Release.gpg [191B]
    忽略 http://ubuntu.cn99.com edgy/multiverse Translation-zh_CN
    忽略 http://ubuntu.cn99.com edgy-security Release.gpg
    忽略 http://ubuntu.cn99.com edgy-security/main Translation-zh_CN
    忽略 http://ubuntu.cn99.com edgy-security/restricted Translation-zh_CN
    忽略 http://ubuntu.cn99.com edgy-security/universe Translation-zh_CN
    忽略 http://ubuntu.cn99.com edgy-security/multiverse Translation-zh_CN
    忽略 http://ubuntu.cn99.com edgy-updates Release.gpg
    忽略 http://mirror.rootguide.org hardy-security/main Translation-zh_CN
    忽略 http://mirror.rootguide.org hardy-security/restricted Translation-zh_CN
    忽略 http://ubuntu.cn99.com edgy-updates/main Translation-zh_CN
    忽略 http://ubuntu.cn99.com edgy-updates/restricted Translation-zh_CN
    忽略 http://ubuntu.cn99.com edgy-updates/universe Translation-zh_CN
    忽略 http://ubuntu.cn99.com edgy-updates/multiverse Translation-zh_CN
    忽略 http://ubuntu.cn99.com edgy-proposed Release.gpg
    忽略 http://ubuntu.cn99.com edgy-proposed/main Translation-zh_CN
    忽略 http://ubuntu.cn99.com edgy-proposed/restricted Translation-zh_CN
    忽略 http://ubuntu.cn99.com edgy-proposed/universe Translation-zh_CN
    忽略 http://ubuntu.cn99.com edgy-proposed/multiverse Translation-zh_CN
    忽略 http://ubuntu.cn99.com edgy-backports Release.gpg
    忽略 http://ubuntu.cn99.com edgy-backports/main Translation-zh_CN
    忽略 http://ubuntu.cn99.com edgy-backports/restricted Translation-zh_CN
    忽略 http://ubuntu.cn99.com edgy-backports/universe Translation-zh_CN
    忽略 http://ubuntu.cn99.com edgy-backports/multiverse Translation-zh_CN
    忽略 http://ubuntu.cn99.com edgy Release.gpg
    忽略 http://ubuntu.cn99.com edgy/main Translation-zh_CN
    忽略 http://ubuntu.cn99.com edgy/restricted Translation-zh_CN
    忽略 http://ubuntu.cn99.com edgy/universe Translation-zh_CN
    忽略 http://ubuntu.cn99.com edgy/multiverse Translation-zh_CN
    忽略 http://ubuntu.cn99.com edgy Release
    忽略 http://ubuntu.cn99.com edgy-security Release
    忽略 http://ubuntu.cn99.com edgy-updates Release
    忽略 http://ubuntu.cn99.com edgy-proposed Release
    忽略 http://ubuntu.cn99.com edgy-backports Release
    忽略 http://ubuntu.cn99.com edgy Release
    忽略 http://ubuntu.cn99.com edgy/main Packages
    忽略 http://ubuntu.cn99.com edgy/restricted Packages
    忽略 http://ubuntu.cn99.com edgy/universe Packages
    忽略 http://ubuntu.cn99.com edgy/multiverse Packages
    忽略 http://ubuntu.cn99.com edgy/main Sources
    忽略 http://ubuntu.cn99.com edgy/restricted Sources
    忽略 http://ubuntu.cn99.com edgy/universe Sources
    忽略 http://ubuntu.cn99.com edgy/multiverse Sources
    忽略 http://ubuntu.cn99.com edgy-security/main Packages
    忽略 http://ubuntu.cn99.com edgy-security/restricted Packages
    忽略 http://ubuntu.cn99.com edgy-security/universe Packages
    忽略 http://ubuntu.cn99.com edgy-security/multiverse Packages
    忽略 http://ubuntu.cn99.com edgy-security/main Sources
    忽略 http://ubuntu.cn99.com edgy-security/restricted Sources
    忽略 http://ubuntu.cn99.com edgy-security/universe Sources
    忽略 http://ubuntu.cn99.com edgy-security/multiverse Sources
    忽略 http://ubuntu.cn99.com edgy-updates/main Packages
    忽略 http://ubuntu.cn99.com edgy-updates/restricted Packages
    忽略 http://ubuntu.cn99.com edgy-updates/universe Packages
    忽略 http://ubuntu.cn99.com edgy-updates/multiverse Packages
    忽略 http://ubuntu.cn99.com edgy-updates/main Sources
    忽略 http://ubuntu.cn99.com edgy-updates/restricted Sources
    忽略 http://ubuntu.cn99.com edgy-updates/universe Sources
    忽略 http://ubuntu.cn99.com edgy-updates/multiverse Sources
    忽略 http://ubuntu.cn99.com edgy-proposed/main Packages
    忽略 http://ubuntu.cn99.com edgy-proposed/restricted Packages
    忽略 http://ubuntu.cn99.com edgy-proposed/universe Packages
    忽略 http://ubuntu.cn99.com edgy-proposed/multiverse Packages
    忽略 http://ubuntu.cn99.com edgy-proposed/main Sources
    忽略 http://ubuntu.cn99.com edgy-proposed/restricted Sources
    忽略 http://ubuntu.cn99.com edgy-proposed/universe Sources
    忽略 http://ubuntu.cn99.com edgy-proposed/multiverse Sources
    忽略 http://ubuntu.cn99.com edgy-backports/main Packages
    忽略 http://ubuntu.cn99.com edgy-backports/restricted Packages
    忽略 http://ubuntu.cn99.com edgy-backports/universe Packages
    忽略 http://ubuntu.cn99.com edgy-backports/multiverse Packages
    忽略 http://ubuntu.cn99.com edgy-backports/main Sources
    忽略 http://ubuntu.cn99.com edgy-backports/restricted Sources
    忽略 http://ubuntu.cn99.com edgy-backports/universe Sources
    忽略 http://ubuntu.cn99.com edgy-backports/multiverse Sources
    忽略 http://ubuntu.cn99.com edgy/main Packages
    忽略 http://ubuntu.cn99.com edgy/restricted Packages
    忽略 http://ubuntu.cn99.com edgy/universe Packages
    忽略 http://ubuntu.cn99.com edgy/multiverse Packages
    错误 http://ubuntu.cn99.com edgy/main Packages
    404 Not Found
    错误 http://ubuntu.cn99.com edgy/restricted Packages
    404 Not Found
    错误 http://ubuntu.cn99.com edgy/universe Packages
    404 Not Found
    错误 http://ubuntu.cn99.com edgy/multiverse Packages
    404 Not Found
    错误 http://ubuntu.cn99.com edgy/main Sources
    404 Not Found
    错误 http://ubuntu.cn99.com edgy/restricted Sources
    404 Not Found
    错误 http://ubuntu.cn99.com edgy/universe Sources
    404 Not Found
    错误 http://ubuntu.cn99.com edgy/multiverse Sources
    404 Not Found
    错误 http://ubuntu.cn99.com edgy-security/main Packages
    404 Not Found
    错误 http://ubuntu.cn99.com edgy-security/restricted Packages
    404 Not Found
    错误 http://ubuntu.cn99.com edgy-security/universe Packages
    404 Not Found
    错误 http://ubuntu.cn99.com edgy-security/multiverse Packages
    404 Not Found
    错误 http://ubuntu.cn99.com edgy-security/main Sources
    404 Not Found
    错误 http://ubuntu.cn99.com edgy-security/restricted Sources
    404 Not Found
    错误 http://ubuntu.cn99.com edgy-security/universe Sources
    404 Not Found
    错误 http://ubuntu.cn99.com edgy-security/multiverse Sources
    404 Not Found
    错误 http://ubuntu.cn99.com edgy-updates/main Packages
    404 Not Found
    错误 http://ubuntu.cn99.com edgy-updates/restricted Packages
    404 Not Found
    错误 http://ubuntu.cn99.com edgy-updates/universe Packages
    404 Not Found
    错误 http://ubuntu.cn99.com edgy-updates/multiverse Packages
    404 Not Found
    错误 http://ubuntu.cn99.com edgy-updates/main Sources
    404 Not Found
    错误 http://ubuntu.cn99.com edgy-updates/restricted Sources
    404 Not Found
    错误 http://ubuntu.cn99.com edgy-updates/universe Sources
    404 Not Found
    错误 http://ubuntu.cn99.com edgy-updates/multiverse Sources
    404 Not Found
    错误 http://ubuntu.cn99.com edgy-proposed/main Packages
    404 Not Found
    错误 http://ubuntu.cn99.com edgy-proposed/restricted Packages
    404 Not Found
    错误 http://ubuntu.cn99.com edgy-proposed/universe Packages
    404 Not Found
    错误 http://ubuntu.cn99.com edgy-proposed/multiverse Packages
    404 Not Found
    错误 http://ubuntu.cn99.com edgy-proposed/main Sources
    404 Not Found
    错误 http://ubuntu.cn99.com edgy-proposed/restricted Sources
    404 Not Found
    错误 http://ubuntu.cn99.com edgy-proposed/universe Sources
    404 Not Found
    错误 http://ubuntu.cn99.com edgy-proposed/multiverse Sources
    404 Not Found
    错误 http://ubuntu.cn99.com edgy-backports/main Packages
    404 Not Found
    错误 http://ubuntu.cn99.com edgy-backports/restricted Packages
    404 Not Found
    错误 http://ubuntu.cn99.com edgy-backports/universe Packages
    404 Not Found
    错误 http://ubuntu.cn99.com edgy-backports/multiverse Packages
    404 Not Found
    错误 http://ubuntu.cn99.com edgy-backports/main Sources
    404 Not Found
    错误 http://ubuntu.cn99.com edgy-backports/restricted Sources
    404 Not Found
    错误 http://ubuntu.cn99.com edgy-backports/universe Sources
    404 Not Found
    错误 http://ubuntu.cn99.com edgy-backports/multiverse Sources
    404 Not Found
    命中 http://ubuntu.cn99.com edgy/main Packages
    命中 http://ubuntu.cn99.com edgy/restricted Packages
    命中 http://ubuntu.cn99.com edgy/universe Packages
    命中 http://ubuntu.cn99.com edgy/multiverse Packages
    获取:4 http://packages.medibuntu.org hardy Release.gpg [189B]
    忽略 http://packages.medibuntu.org hardy/free Translation-zh_CN
    忽略 http://packages.medibuntu.org hardy/non-free Translation-zh_CN
    命中 http://packages.medibuntu.org hardy Release
    忽略 http://mirror.rootguide.org hardy-security/universe Translation-zh_CN
    忽略 http://mirror.rootguide.org hardy-security/multiverse Translation-zh_CN
    命中 http://mirror.rootguide.org hardy Release
    命中 http://mirror.rootguide.org hardy-updates Release
    命中 http://mirror.rootguide.org hardy-security Release
    命中 http://packages.medibuntu.org hardy/free Packages
    命中 http://mirror.rootguide.org hardy/main Packages
    获取:5 http://mirror.rootguide.org hardy/restricted Packages [6521B]
    获取:6 http://mirror.rootguide.org hardy/main Sources [312kB]
    获取:7 http://mirror.rootguide.org hardy/restricted Sources [2071B]
    命中 http://packages.medibuntu.org hardy/non-free Packages
    获取:8 http://mirror.rootguide.org hardy/universe Packages [4248kB]
    获取:9 http://mirror.rootguide.org hardy/universe Sources [1323kB]
    获取:10 http://mirror.rootguide.org hardy/multiverse Packages [152kB]
    获取:11 http://mirror.rootguide.org hardy/multiverse Sources [55.7kB]
    命中 http://mirror.rootguide.org hardy-updates/main Packages
    命中 http://mirror.rootguide.org hardy-updates/restricted Packages
    命中 http://mirror.rootguide.org hardy-updates/main Sources
    命中 http://mirror.rootguide.org hardy-updates/restricted Sources
    命中 http://mirror.rootguide.org hardy-updates/universe Packages
    命中 http://mirror.rootguide.org hardy-updates/universe Sources
    命中 http://mirror.rootguide.org hardy-updates/multiverse Packages
    命中 http://mirror.rootguide.org hardy-updates/multiverse Sources
    命中 http://mirror.rootguide.org hardy-security/main Packages
    命中 http://mirror.rootguide.org hardy-security/restricted Packages
    命中 http://mirror.rootguide.org hardy-security/main Sources
    命中 http://mirror.rootguide.org hardy-security/restricted Sources
    命中 http://mirror.rootguide.org hardy-security/universe Packages
    命中 http://mirror.rootguide.org hardy-security/universe Sources
    命中 http://mirror.rootguide.org hardy-security/multiverse Packages
    命中 http://mirror.rootguide.org hardy-security/multiverse Sources
    下载 769B,耗时 9s (84B/s)
    W: 无法下载 http://ubuntu.cn99.com/ubuntu/dists/edgy/main/binary-amd64/Packages.gz 404 Not Found

    W: 无法下载 http://ubuntu.cn99.com/ubuntu/dists/edgy/restricted/binary-amd64/Packages.gz 404 Not Found

    W: 无法下载 http://ubuntu.cn99.com/ubuntu/dists/edgy/universe/binary-amd64/Packages.gz 404 Not Found

    W: 无法下载 http://ubuntu.cn99.com/ubuntu/dists/edgy/multiverse/binary-amd64/Packages.gz 404 Not Found

    W: 无法下载 http://ubuntu.cn99.com/ubuntu/dists/edgy/main/source/Sources.gz 404 Not Found

    W: 无法下载 http://ubuntu.cn99.com/ubuntu/dists/edgy/restricted/source/Sources.gz 404 Not Found

    W: 无法下载 http://ubuntu.cn99.com/ubuntu/dists/edgy/universe/source/Sources.gz 404 Not Found

    W: 无法下载 http://ubuntu.cn99.com/ubuntu/dists/edgy/multiverse/source/Sources.gz 404 Not Found

    W: 无法下载 http://ubuntu.cn99.com/ubuntu/dists/edgy-security/main/binary-amd64/Packages.gz 404 Not Found

    W: 无法下载 http://ubuntu.cn99.com/ubuntu/dists/edgy-security/restricted/binary-amd64/Packages.gz 404 Not Found

    W: 无法下载 http://ubuntu.cn99.com/ubuntu/dists/edgy-security/universe/binary-amd64/Packages.gz 404 Not Found

    W: 无法下载 http://ubuntu.cn99.com/ubuntu/dists/edgy-security/multiverse/binary-amd64/Packages.gz 404 Not Found

    W: 无法下载 http://ubuntu.cn99.com/ubuntu/dists/edgy-security/main/source/Sources.gz 404 Not Found

    W: 无法下载 http://ubuntu.cn99.com/ubuntu/dists/edgy-security/restricted/source/Sources.gz 404 Not Found

    W: 无法下载 http://ubuntu.cn99.com/ubuntu/dists/edgy-security/universe/source/Sources.gz 404 Not Found

    W: 无法下载 http://ubuntu.cn99.com/ubuntu/dists/edgy-security/multiverse/source/Sources.gz 404 Not Found

    W: 无法下载 http://ubuntu.cn99.com/ubuntu/dists/edgy-updates/main/binary-amd64/Packages.gz 404 Not Found

    W: 无法下载 http://ubuntu.cn99.com/ubuntu/dists/edgy-updates/restricted/binary-amd64/Packages.gz 404 Not Found

    W: 无法下载 http://ubuntu.cn99.com/ubuntu/dists/edgy-updates/universe/binary-amd64/Packages.gz 404 Not Found

    W: 无法下载 http://ubuntu.cn99.com/ubuntu/dists/edgy-updates/multiverse/binary-amd64/Packages.gz 404 Not Found

    W: 无法下载 http://ubuntu.cn99.com/ubuntu/dists/edgy-updates/main/source/Sources.gz 404 Not Found

    W: 无法下载 http://ubuntu.cn99.com/ubuntu/dists/edgy-updates/restricted/source/Sources.gz 404 Not Found

    W: 无法下载 http://ubuntu.cn99.com/ubuntu/dists/edgy-updates/universe/source/Sources.gz 404 Not Found

    W: 无法下载 http://ubuntu.cn99.com/ubuntu/dists/edgy-updates/multiverse/source/Sources.gz 404 Not Found

    W: 无法下载 http://ubuntu.cn99.com/ubuntu/dists/edgy-proposed/main/binary-amd64/Packages.gz 404 Not Found

    W: 无法下载 http://ubuntu.cn99.com/ubuntu/dists/edgy-proposed/restricted/binary-amd64/Packages.gz 404 Not Found

    W: 无法下载 http://ubuntu.cn99.com/ubuntu/dists/edgy-proposed/universe/binary-amd64/Packages.gz 404 Not Found

    W: 无法下载 http://ubuntu.cn99.com/ubuntu/dists/edgy-proposed/multiverse/binary-amd64/Packages.gz 404 Not Found

    W: 无法下载 http://ubuntu.cn99.com/ubuntu/dists/edgy-proposed/main/source/Sources.gz 404 Not Found

    W: 无法下载 http://ubuntu.cn99.com/ubuntu/dists/edgy-proposed/restricted/source/Sources.gz 404 Not Found

    W: 无法下载 http://ubuntu.cn99.com/ubuntu/dists/edgy-proposed/universe/source/Sources.gz 404 Not Found

    W: 无法下载 http://ubuntu.cn99.com/ubuntu/dists/edgy-proposed/multiverse/source/Sources.gz 404 Not Found

    W: 无法下载 http://ubuntu.cn99.com/ubuntu/dists/edgy-backports/main/binary-amd64/Packages.gz 404 Not Found

    W: 无法下载 http://ubuntu.cn99.com/ubuntu/dists/edgy-backports/restricted/binary-amd64/Packages.gz 404 Not Found

    W: 无法下载 http://ubuntu.cn99.com/ubuntu/dists/edgy-backports/universe/binary-amd64/Packages.gz 404 Not Found

    W: 无法下载 http://ubuntu.cn99.com/ubuntu/dists/edgy-backports/multiverse/binary-amd64/Packages.gz 404 Not Found

    W: 无法下载 http://ubuntu.cn99.com/ubuntu/dists/edgy-backports/main/source/Sources.gz 404 Not Found

    W: 无法下载 http://ubuntu.cn99.com/ubuntu/dists/edgy-backports/restricted/source/Sources.gz 404 Not Found

    W: 无法下载 http://ubuntu.cn99.com/ubuntu/dists/edgy-backports/universe/source/Sources.gz 404 Not Found

    W: 无法下载 http://ubuntu.cn99.com/ubuntu/dists/edgy-backports/multiverse/source/Sources.gz 404 Not Found

    W: 无法下载 http://mirror.rootguide.org/ubuntu/dists/hardy/restricted/binary-amd64/Packages.bz2 Hash Sum mismatch

    W: 无法下载 http://mirror.rootguide.org/ubuntu/dists/hardy/main/source/Sources.bz2 Hash Sum mismatch

    W: 无法下载 http://mirror.rootguide.org/ubuntu/dists/hardy/restricted/source/Sources.bz2 Hash Sum mismatch

    W: 无法下载 http://mirror.rootguide.org/ubuntu/dists/hardy/universe/binary-amd64/Packages.bz2 Hash Sum mismatch

    W: 无法下载 http://mirror.rootguide.org/ubuntu/dists/hardy/universe/source/Sources.bz2 Hash Sum mismatch

    W: 无法下载 http://mirror.rootguide.org/ubuntu/dists/hardy/multiverse/binary-amd64/Packages.bz2 Hash Sum mismatch

    W: 无法下载 http://mirror.rootguide.org/ubuntu/dists/hardy/multiverse/source/Sources.bz2 Hash Sum mismatch

    E: 有一些索引文件不能下载,它们可能被忽略了,也可能转而使用了旧的索引文件。
    E: 无法获得锁 /var/lib/dpkg/lock - open (11 资源临时不可用)
    E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
    root@yushun-desktop:/home/yushun#
    这是为什么啊

  5. wwangzi 于 2008-05-29 13:04:09发表:

    sudo: timestamp too far in the future: May 30 12:06:29 2008
    出来这个,啥意思!!??

  6. bluemare 于 2008-05-29 10:33:55发表:

    我也觉得linux对net的要求超高

  7. chirpy1606 于 2008-05-23 22:21:25发表:

    不知道下载要多长时间?
    现在怎么感觉linux离了网络好像什么也不能干了……
    菜鸟一个,高手勿笑!

  8. xiaolin3325 于 2008-05-23 10:57:50发表:

    呵呵,真的是一条