(This works for Fedora, and should work for Suse, but I haven't tested)
Put the qcad folder in /usr/share/:
- Code: Select all
sudo mv qcad /usr/share/
Put the icon in the /usr/share/pixmaps/ directory:
- Code: Select all
sudo cp /usr/share/qcad/doc/img/qcadicon.png /usr/share/pixmaps/
Make an freedesktop shortcut:
- Code: Select all
echo '[Desktop Entry]
Name=Qcad
Terminal=false
Icon=/usr/share/pixmaps/qcadicon.png
Type=Application
Encoding=UTF-8
Categories=Graphics;
Exec=/usr/bin/qcad
Comment=Computer-aided design for 2D design and drafting' | sudo tee /usr/share/applications/qcad.desktop > /dev/null
Copy or link the executable to the /usr/bin/ directory:
- Code: Select all
sudo ln -s /usr/share/qcad/qcad /usr/bin/qcad
Hope this is helpful!