English
Ask Your Question
0

how to find and open this installed program?

asked 2017-08-12 02:44:46 +0000

vileijuliana gravatar image

updated 2017-08-12 10:37:00 +0000

florian gravatar image
[vileijuliana@Host-001 ~]$ sudo dnf install draftsight
[sudo] senha para vileijuliana: 
Última verificação de data de vencimento de metadados: 2:20:02 atrás em sex 11 ago 2017 21:21:32 -03.
Pacote draftsight-2017.2.0.3085-1.x86_64 já está instalado, ignorando. 
Pacote draftsight-2016.3.0.4050-1.x86_64 já está instalado, ignorando. 
Dependências resolvidas. 
Nada para fazer. 
Concluído!


[vileijuliana@Host-001 ~]$ gnome-open draftsight
Erro ao mostrar url: Erro ao obter informação para o arquivo “/home/vileijuliana/draftsight”: No such file or directory


[vileijuliana@Host-001 ~]$ gnome-open draftsight-2017.2.0.3085-1.x86_64
Erro ao mostrar url: Erro ao obter informação para o arquivo “/home/vileijuliana/draftsight-2017.2.0.3085-1.x86_64”: No such file or directory
edit retag flag offensive close merge delete

Comments

did you download the .rpm file from here and installed it with something like sudo dnf install ~/Downloads/draftSight.rpm?

florian ( 2017-08-12 11:37:09 +0000 )edit

Yes, I have installed it through the "Programs"

vileijuliana ( 2017-08-12 13:36:20 +0000 )edit

"Programs", you mean Gnome Software? Seria melhor usar dnf para instalar o pacote.

florian ( 2017-08-12 13:52:46 +0000 )edit

4 answers

Sort by » oldest newest most voted
2

answered 2017-08-12 06:16:36 +0000

psg_nm gravatar image

As fcomida said, you might be able to simply run the program as draftsight on the command line.

To find out more about the files in a package, I will frequently run rpm -q -l <name of package>. If just running draftsight doesn't work, try running rpm -q -l draftsight to figure out the name of the program and its location in the file system.

edit flag offensive delete link more

Comments

"[vileijuliana@Host-001 ~]$ draftsight

bash: draftsight: Comando não encontrado..."

The command rpm -q -l draftsight worked, I guess. But I don't know how to proceed after this. Thank you.

vileijuliana ( 2017-08-12 13:40:33 +0000 )edit

In the output of rpm -q -l draftsight see if there are files installed in /usr/bin or /usr/local/bin (or a similar place). Those would likely be the files to try to execute. Otherwise, you might execute the following to find the executable files:

files=`rpm -q -l draftsight`; for i in $files; do ls -alF $i | grep "\\-..x..x..x"; done

This command records the files from the draftsight RPM in the files variable, performs an ls -alF on each of the files, and prints out only files that everyone can execute, ignoring links and directories. Ignore .so files, they are libraries.

psg_nm ( 2017-08-12 22:33:30 +0000 )edit
2

answered 2017-08-12 06:06:51 +0000

fcomida gravatar image

do not use gnome-open, just run it typing its name on the command line: $ draftsight

edit flag offensive delete link more
1

answered 2017-08-12 14:33:41 +0000

florian gravatar image

updated 2017-08-12 17:21:49 +0000

If you have DraftSight correctly installed (use sudo dnf install ~/Downloads/draftSight.rpm after downloading the file), it will end up in /opt/dassault-systemes/DraftSight/.

On my test system, it also created a program starter, so it is easily accessible from Gnome.

From command line you can start it with /opt/dassault-systemes/DraftSight/Linux/DraftSight.

PS: On my test machine (running F25 Gnome on Xorg), the program crashes with the following warning:

Could not parse stylesheet of object 0x3cab5e0
Could not parse stylesheet of object 0x3cab5e0
edit flag offensive delete link more

Comments

[vileijuliana@Host-001 ~]$ sudo dnf install ~Downloads/draftSight.rpm [sudo] senha para vileijuliana: Última verificação de data de vencimento de metadados: 0:34:19 atrás em sáb 12 ago 2017 13:25:30 -03. Can not load RPM file: ~Downloads/draftSight.rpm. Não foi possível abrir: ~Downloads/draftSight.rpm [vileijuliana@Host-001 ~]$ /opt/dassault-systemes/DraftSight/Linux/DraftSight Segmentation fault (imagem do núcleo gravada)

vileijuliana ( 2017-08-12 17:03:28 +0000 )edit
1

Sorry, my command had a typo, "/" was missing. I corrected it.

But apparently, you have it installed and it crashes as well upon start. Maybe ask in Dassault forums for support...?

florian ( 2017-08-12 17:25:21 +0000 )edit
1

But also try starting Gnome on XOrg and then start DraftSight

florian ( 2017-08-12 17:27:41 +0000 )edit

thank you for your attention, I will looking for the Dassault support.

vileijuliana ( 2017-08-12 23:38:32 +0000 )edit

Feel free to let us know the solution here

florian ( 2017-08-13 02:34:08 +0000 )edit
0

answered 2017-08-12 05:49:24 +0000

You haven't install it. It is not in the repositories. It is commercial product and unknown if it is available for linux. Search for alternative.

edit flag offensive delete link more

Comments

Pacote draftsight-2017.2.0.3085-1.x8664 já está instalado, ignorando. Pacote draftsight-2016.3.0.4050-1.x8664 já está instalado, ignorando. Dependências resolvidas. Nada para fazer.

actually says that there are two draftsight packages installed.

florian ( 2017-08-12 10:33:54 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question Tools

Follow
1 follower

Stats

Asked: 2017-08-12 02:44:46 +0000

Seen: 98 times

Last updated: Aug 12