我想在 Ubuntu 11.10 中安装 UltraStar Deluxe。在项目主页以及此 PPA有一些软件包,但它们似乎是针对旧版本的 Ubuntu,因为当我尝试安装它们时,我收到有关缺少依赖项(11.10 存储库中不再可用的软件包)的投诉:
...
dpkg: dependency problems prevent configuration of ultrastar-deluxe:
ultrastar-deluxe depends on libavcodec52 (>= 4:0.6-1~) | libavcodec-extra-52 (>= 4:0.6-1~); however:
Package libavcodec52 is not installed.
Package libavcodec-extra-52 is not installed.
ultrastar-deluxe depends on libavformat52 (>= 4:0.6-1~) | libavformat-extra-52 (>= 4:0.6-1~); however:
Package libavformat52 is not installed.
Package libavformat-extra-52 is not installed.
ultrastar-deluxe depends on libavutil50 (>= 4:0.6-1~) | libavutil-extra-50 (>= 4:0.6-1~); however:
Package libavutil50 is not installed.
Package libavutil-extra-50 is not installed.
ultrastar-deluxe depends on libprojectm2; however:
Package libprojectm2 is not installed.
ultrastar-deluxe depends on libswscale0 (>= 4:0.6-1~) | libswscale-extra-0 (>= 4:0.6-1~); however:
Package libswscale0 is not installed.
Package libswscale-extra-0 is not installed.
dpkg: error processing ultrastar-deluxe (--install):
dependency problems - leaving unconfigured
...
除了自己编译程序和/或重新打包软件之外,还有其他方法可以在 Ubuntu 11.10 中安装 UltraStar Deluxe 吗?
答案1
这不是最佳解决方案,但您可以通过从 Launchpad 获取所需的包来手动安装依赖项。
首先,您需要安装一些其他所需的依赖项,这些依赖项可以在 Ubuntu 存储库中找到:
sudo apt-get install libprojectm2 projectm-data libftgl2
下载文件:
对于 32 位 Ubuntu:
libavcodec52_0.6.2-1ubuntu1.1_i386.deb
libavformat52_0.6.2-1ubuntu1.1_i386.deb
libavutil50_0.6.2-1ubuntu1.1_i386.deb
libswscale0_0.6.2-1ubuntu1.1_i386.deb
ultrastar-deluxe_1.1.0-4_i386.deb
ultrastar-deluxe-data_1.1.0-4_all.deb
ultrastar-deluxe-songs_20100506-1_all.deb对于 64 位 Ubuntu:
libavcodec52_0.6.2-1ubuntu1.1_amd64.deb
libavformat52_0.6.2-1ubuntu1.1_amd64.deb
libavutil50_0.6.2-1ubuntu1.1_amd64.deb
libswscale0_0.6.2-1ubuntu1.1_amd64.deb
ultrastar-deluxe_1.1.0-4_amd64.deb
ultrastar-deluxe-data_1.1.0-4_all.deb
ultrastar-deluxe-songs_20100506-1_all.deb
按以下顺序安装软件包:
在 32 位 Ubuntu 上:
sudo dpkg -i libavutil50_0.6.2-1ubuntu1.1_i386.deb sudo dpkg -i libavcodec52_0.6.2-1ubuntu1.1_i386.deb sudo dpkg -i libavformat52_0.6.2-1ubuntu1.1_i386.deb sudo dpkg -i libswscale0_0.6.2-1ubuntu1.1_i386.deb sudo dpkg -i ultrastar-deluxe-data_1.1.0-4_all.deb sudo dpkg -i ultrastar-deluxe_1.1.0-4_i386.deb sudo dpkg -i ultrastar-deluxe-songs_20100506-1_all.deb
在 64 位 Ubuntu 上:
sudo dpkg -i libavutil50_0.6.2-1ubuntu1.1_amd64.deb sudo dpkg -i libavcodec52_0.6.2-1ubuntu1.1_amd64.deb sudo dpkg -i libavformat52_0.6.2-1ubuntu1.1_amd64.deb sudo dpkg -i libswscale0_0.6.2-1ubuntu1.1_amd64.deb sudo dpkg -i ultrastar-deluxe-data_1.1.0-4_all.deb sudo dpkg -i ultrastar-deluxe_1.1.0-4_amd64.deb sudo dpkg -i ultrastar-deluxe-songs_20100506-1_all.deb
现在您应该可以通过运行来运行 UltraStar Deluxe
ultrastardx
。