Closed brokendisplay closed 3 years ago
After this step: sudo apt-get install cmus
, if there are no output plugins installed, then it means that Ubuntu package is broken, unfortunately.
However, installing from source should definitely work. Can you please tell me what exactly was wrong here:
Running cmus gave me an error, saying there was nothing in /usr/local/bin
?
Installing from source by default will place cmus and plugins in subdirectories of /usr/local/
.
This is the result after installing through apt and trying to run cmus
After uninstalling using sudo apt-get remove cmus
and sudo make uninstall
for the the build source, I also removed all instances of cmus (that I know of) in /usr/lib/cmus
, /usr/local/lib/cmus
, and /usr/local/bin
to try to reproduce the error. The apt-get error is reproducible but I can now build from source and not run into any issues.
With
Running cmus gave me an error, saying there was nothing in
/usr/local/bin
the issue is that there was no executable script/file available in that directory to open cmus. When it's installed through source, there are two scripts/files in /usr/local/bin
, cmus
and cmus-remote
; neither of those files were there after installing through apt-get.
Have you solved the installation problems?
Looking at the screenshot, apt has probably installed binary in /usr/bin
, but your cmus
looks to be a symlink to /usr/local/bin/cmus
for some reason.
Do you still have this issue?
@nefthy, this issue hasn't had a response for almost 2 years, and it's not a bug in cmus, so it should probably be closed.
Hi, I am having a weird issue with installing cmus.
I tried installing both dependencies and the cmus package through apt:
sudo apt-get build-dep cmus
sudo apt-get install cmus
When executing, I ran into an error saying that there was no output plugin folder. I found that/usr/lib/cmus
contained the input plugin folder/usr/lib/cmus/ip
but no output plugin folder/usr/lib/cmus/op
Trying to resolve the error, I manually created the directorysudo mkdir /usr/lib/cmus/op
Afterwards, I ran cmus, and was greeted with this error in the status bar:Error: selecting output plugin '': no such plugin
Thinking there was an issue with the Ubuntu package, I uninstalled and decided to build from the package found on the download page
sudo apt-get remove cmus
I built using these commands./configure; make; sudo make install
This put (what I think is, from Googling) the required plugins into both/usr/lib/cmus/ip
and/usr/lib/cmus/op
Running cmus gave me an error, saying there was nothing in/usr/local/bin
Removing the install using
sudo make uninstall
, I found that/usr/lib/cmus/ip
stayed but/usr/lib/cmus/op
was removed. I reinstalled and copied/usr/lib/cmus/op
contents to a different folder, uninstalled the package, then installed via apt. Because the installation through apt didn't provide me with/usr/lib/cmus/op
, I copied the*.so
files that the built package provided into/usr/lib/cmus/op
and now I can run cmus without issues.I am not very knowledgeable in building packages and diagnosing errors, but this doesn't seen like an appropriate way of installing cmus. It works, and I'm glad it does, but do you have any insight into what I did wrong to prevent any one method from working and instead requiring the use of both installation methods?
Thank you!