![在 ubuntu 20.04 中安装 IDJC](https://linux22.com/image/924303/%E5%9C%A8%20ubuntu%2020.04%20%E4%B8%AD%E5%AE%89%E8%A3%85%20IDJC.png)
我将 Ubuntu Studio(桌面版)升级到 20.04 LTS,并想安装独立日间。
从我在 launchpad.net 上看到的内容来看,它应该在 repo 中,但我无法安装它。有人知道我需要做什么吗?
根据 IDJC 网站说明尝试安装时的控制台输出:
sudo apt install idjc Reading package lists...
Done Building dependency tree
Reading state information...
Done Package idjc is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source
E: Package 'idjc' has no installation candidate
答案1
这Sourceforge.net 上的 IDJC 页面还解释了当他们没有准备好包时会发生什么情况,并解释了如何解决依赖关系并从源代码安装。
他们说运行这个命令来解决依赖关系:
sudo apt-get install build-essential libc6-dev libglib2.0-dev libjack-dev jackd libvorbis-dev libsamplerate0-dev libsndfile1-dev python-gtk2-dev libmpg123-dev libavcodec-dev libavformat-dev libtwolame-dev libmp3lame-dev libflac-dev python-mutagen libspeex-dev
然后提供从源代码构建所需的步骤,单击相关链接进行下载自由呼喊-idjc从该网页(目前https://sourceforge.net/projects/libshoutidjc.idjc.p/files/libshout-idjc-2.4.2.tar.gz/download/获取版本2.4.2),然后在控制台中输入以下内容。
cd Downloads
tar xzvf libshout-idjc-[version].tar.gz
cd libshout-idjc-[version]/
./configure CFLAGS="-O2" --prefix=/usr
make
sudo make install
sudo ldconfig
导航http://sourceforge.net/projects/idjc/击中大绿色下载按钮。等待下载完成。记下版本号,然后使用
cd Downloads
tar xzvf idjc-[version].tar.gz
cd idjc-[version]/
./configure CFLAGS="-O2" --prefix=/usr
make
sudo make install