無法將 Cura 3.1 安裝到我的 Ubuntu 16.04

無法將 Cura 3.1 安裝到我的 Ubuntu 16.04

我正在嘗試將 Cura 切片機軟體下載到我的電腦上,但我總是被攔住。我已經嘗試過sudo apt update ,並收到以下訊息:

Aborted (core dumped)
Reading package lists... Done
N: Ignoring file 'sp' in directory '/etc/apt/sources.list.d/' as it has no filename extension
N: Ignoring file 'google-chrome.lis' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh > /dev/null; fi'
E: Sub-process returned an error code

我嘗試安裝

sudo apt-get install cura    

但後來我得到:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 cura : Depends: python3-uranium but it is not going to be installed
        Depends: qml-module-qtqml-models2 but it is not installable
        Depends: qml-module-qtquick-controls but it is not installable
        Depends: qml-module-qtquick-dialogs but it is not installable
        Recommends: cura-resources-firmware but it is not going to be installed
        Recommends: cura-plugins-all but it is not going to be installed
        Recommends: python3-numpy-stl but it is not installable
N: Ignoring file 'sp' in directory '/etc/apt/sources.list.d/' as it has no filename extension
N: Ignoring file 'google-chrome.lis' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Unable to correct problems, you have held broken packages.

我努力了

sudo ppa-purge ppa:thopiekar/cura    

但它告訴我:sudo: ppa-purge: command not found

我是linux新手,經驗很少。請用通俗的語言解釋一下你想告訴我什麼。先感謝您。

答案1

Cura 目前的穩定版本可透過 PPA 取得: PPA:托皮卡爾/庫拉:

sudo add-apt-repository ppa:thopiekar/cura
sudo apt-get update 
sudo apt-get install cura

如果您想要 Cura 的前緣版本 - 您可以使用PPA:thopiekar/cura-master

sudo add-apt-repository ppa:thopiekar/cura-master
sudo apt-get update
sudo apt-get install cura

答案2

接受的答案中提到的存儲庫已過時,它只有 2.7 版本的 cura。目前更好的安裝方法是從以下位置下載庫拉網站直接地。

wget https://download.ultimaker.com/current/Cura-3.4.1.AppImage
sudo mv Cura-3.4.1.AppImage /usr/bin/cura
sudo chmod +x /usr/bin/cura

現在你可以運行cura

相關內容