How do I get Xm/CutPaste.h?
Google gives only x11 documentation.
And I don't know how to get needed libraries
            Asked
            
        
        
            Active
            
        
            Viewed 150 times
        
    -1
            
            
        1 Answers
1
            
            
        If you want to find out what package has a specific file, you can install apt-file.  For example,
$ sudo apt install apt-file
$ sudo apt-file update
$ sudo apt-file search Xm/CutPaste.h
libmotif-dev: /usr/include/Xm/CutPaste.h
So, to answer your question, the libmotif-dev package has the file Xm/CutPaste.h.  I'm not sure if that's the file you're looking for, of course.  It's just matching by filename.
Oh, and this was for Ubuntu 22.04. You didn't mention what version of Ubuntu you're on.
 
    
    
        Ray
        
- 2,200
