[RISOLTO] Installare ultima versione EAGLE CAD

Utilizzo di applicazioni in ambito professionale.
nonno_62
Prode Principiante
Messaggi: 129
Iscrizione: sabato 8 settembre 2012, 22:51
Distribuzione: xubuntu

Re: Installare ultima versione EAGLE CAD

Messaggio da nonno_62 »

xubuntu@xubuntu:~$ nano .bashrc
xubuntu@xubuntu:~$ eagle
Il programma "eagle" non è attualmente installato. È possibile installarlo digitando:
sudo apt-get install eagle
xubuntu@xubuntu:~$ ^C

Non funziona ...Provo ad installarlo come dice lui?

Stefano

PS .bashrc è un file di configurazione? cosa fa?
Avatar utente
hellojoker
Rampante Reduce
Rampante Reduce
Messaggi: 7740
Iscrizione: martedì 22 febbraio 2011, 20:37
Desktop: Gnome Shell
Distribuzione: Fedora|Win10

Re: Installare ultima versione EAGLE CAD

Messaggio da hellojoker »

mi riposti cat .bashrc per favore
nonno_62
Prode Principiante
Messaggi: 129
Iscrizione: sabato 8 settembre 2012, 22:51
Distribuzione: xubuntu

Re: Installare ultima versione EAGLE CAD

Messaggio da nonno_62 »

tando:
sudo apt-get install eagle
xubuntu@xubuntu:~$ ^C
xubuntu@xubuntu:~$ cat .bashrc
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples

# If not running interactively, don't do anything
[ -z "$PS1" ] && return

# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
HISTCONTROL=ignoreboth

# append to the history file, don't overwrite it
shopt -s histappend

# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
HISTFILESIZE=2000

# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize

# If set, the pattern "**" used in a pathname expansion context will
# match all files and zero or more directories and subdirectories.
#shopt -s globstar

# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"

# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then
debian_chroot=$(cat /etc/debian_chroot)
fi

# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
xterm-color) color_prompt=yes;;
esac

# uncomment for a colored prompt, if the terminal has the capability; turned
# off by default to not distract the user: the focus in a terminal window
# should be on the output of commands, not on the prompt
#force_color_prompt=yes

if [ -n "$force_color_prompt" ]; then
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
# We have color support; assume it's compliant with Ecma-48
# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
# a case would tend to support setf rather than setaf.)
color_prompt=yes
else
color_prompt=
fi
fi

if [ "$color_prompt" = yes ]; then
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
else
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
fi
unset color_prompt force_color_prompt

# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
;;
*)
;;
esac

# enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
alias ls='ls --color=auto'
#alias dir='dir --color=auto'
#alias vdir='vdir --color=auto'

alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
fi

# some more ls aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'

# Add an "alert" alias for long running commands. Use like so:
# sleep 10; alert
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'

# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.

if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi

# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
. /etc/bash_completion
fi
PATH=$PATH:/opt/eagle-6.2.0/bin
xubuntu@xubuntu:~$
Avatar utente
hellojoker
Rampante Reduce
Rampante Reduce
Messaggi: 7740
Iscrizione: martedì 22 febbraio 2011, 20:37
Desktop: Gnome Shell
Distribuzione: Fedora|Win10

Re: Installare ultima versione EAGLE CAD

Messaggio da hellojoker »

posta ls /opt/eagle-6.2.0/bin
nonno_62
Prode Principiante
Messaggi: 129
Iscrizione: sabato 8 settembre 2012, 22:51
Distribuzione: xubuntu

Re: Installare ultima versione EAGLE CAD

Messaggio da nonno_62 »

PATH=$PATH:/opt/eagle-6.2.0/bin
xubuntu@xubuntu:~$ ls /opt/eagle-6.2.0/bin
designlink22.png eagle_de.qm eagleicon50.png pcb-service.png qt_de.qm
eagle eagle_en.htm eagle.key platforms-lin.png qt_hu.qm
eagle.def eagle_hu.qm eagle_zh.qm platforms-mac.png
eagle_de.htm eagleicon16.png freeware.key platforms-win.png
xubuntu@xubuntu:~$

Ancora non ti ho ringraziato per l'aiuto ....
Avatar utente
hellojoker
Rampante Reduce
Rampante Reduce
Messaggi: 7740
Iscrizione: martedì 22 febbraio 2011, 20:37
Desktop: Gnome Shell
Distribuzione: Fedora|Win10

Re: Installare ultima versione EAGLE CAD

Messaggio da hellojoker »

ma figurati non ti preoccupare (quel PATH=$PATH:/opt/eagle-6.2.0/bin) lo leggi nel terminale ogni volta o l'hai scritto per sbaglio?
nonno_62
Prode Principiante
Messaggi: 129
Iscrizione: sabato 8 settembre 2012, 22:51
Distribuzione: xubuntu

Re: Installare ultima versione EAGLE CAD

Messaggio da nonno_62 »

No ho copiato anche la riga sopra che era la fine dell'altro comando, per paura di scordare qualcosa o ripetuto una parte già postata
Avatar utente
hellojoker
Rampante Reduce
Rampante Reduce
Messaggi: 7740
Iscrizione: martedì 22 febbraio 2011, 20:37
Desktop: Gnome Shell
Distribuzione: Fedora|Win10

Re: Installare ultima versione EAGLE CAD

Messaggio da hellojoker »

ok fai questa prova dai source .bashrc poi di nuovo eagle
nonno_62
Prode Principiante
Messaggi: 129
Iscrizione: sabato 8 settembre 2012, 22:51
Distribuzione: xubuntu

Re: Installare ultima versione EAGLE CAD

Messaggio da nonno_62 »

Volevo ricordarti che ho xubuntu live su chiavetta usb con persistenza :)

E' il caso che faccio un reset (spengo e riaccendo)?
Avatar utente
hellojoker
Rampante Reduce
Rampante Reduce
Messaggi: 7740
Iscrizione: martedì 22 febbraio 2011, 20:37
Desktop: Gnome Shell
Distribuzione: Fedora|Win10

Re: Installare ultima versione EAGLE CAD

Messaggio da hellojoker »

no non serve fai quella prova
nonno_62
Prode Principiante
Messaggi: 129
Iscrizione: sabato 8 settembre 2012, 22:51
Distribuzione: xubuntu

Re: Installare ultima versione EAGLE CAD

Messaggio da nonno_62 »

Ok ho fatto e il risultato è stato come il primo lancio, michede di scegliere la licenza e poi mi appare un popup con questa scritta:
Please run EAGLE as administrator to install your license!
Vuole che lancio eagle come amministratore per installare la licenza
poi esce :(

Stefano
Avatar utente
hellojoker
Rampante Reduce
Rampante Reduce
Messaggi: 7740
Iscrizione: martedì 22 febbraio 2011, 20:37
Desktop: Gnome Shell
Distribuzione: Fedora|Win10

Re: Installare ultima versione EAGLE CAD

Messaggio da hellojoker »

puoi dare sudo eagle per quello vedi se ti fa continuare
nonno_62
Prode Principiante
Messaggi: 129
Iscrizione: sabato 8 settembre 2012, 22:51
Distribuzione: xubuntu

Re: Installare ultima versione EAGLE CAD

Messaggio da nonno_62 »

Azzzzzz
Mi ridà eagle comando sconosciuto, se lo lancio con sudo non vede eagle ... mi sono anche spostato nella dir /opt/eagle..../bin ma nulla sudo non riconosce eagle come comando.
Avatar utente
hellojoker
Rampante Reduce
Rampante Reduce
Messaggi: 7740
Iscrizione: martedì 22 febbraio 2011, 20:37
Desktop: Gnome Shell
Distribuzione: Fedora|Win10

Re: Installare ultima versione EAGLE CAD

Messaggio da hellojoker »

si scusa ha ragione dai sudo /opt/eagle-6.2.0/bin/eagle
nonno_62
Prode Principiante
Messaggi: 129
Iscrizione: sabato 8 settembre 2012, 22:51
Distribuzione: xubuntu

Re: Installare ultima versione EAGLE CAD

Messaggio da nonno_62 »

con eagle mi dice

EAGLE needs to install a license file on your computer in order to work.

Select Use license file if you have a personalized EAGLE license file.
Select Run as Freeware to run EAGLE as Freeware.
Select Freemium if you have an EAGLE Freemium code from
http://www.element-14.com/eagle-freemium.

e qui scelgo freware con l'apposito pulsante poi da errore, credo che il file eagle debba scrivere la licenza da qualche parte ma il file (programma) non ha i privilegi per scrivere.
non c'è un comando tipo chmod e qualche altra cosa per dare i permessi di scrittura ad eagle?

Stefano
Avatar utente
hellojoker
Rampante Reduce
Rampante Reduce
Messaggi: 7740
Iscrizione: martedì 22 febbraio 2011, 20:37
Desktop: Gnome Shell
Distribuzione: Fedora|Win10

Re: Installare ultima versione EAGLE CAD

Messaggio da hellojoker »

eagle l'hai avviato con sudo non ha problemi di permessi, che errore ti da?
nonno_62
Prode Principiante
Messaggi: 129
Iscrizione: sabato 8 settembre 2012, 22:51
Distribuzione: xubuntu

Re: Installare ultima versione EAGLE CAD

Messaggio da nonno_62 »

hellojoker » [url=http://forum.ubuntu-it.org/viewtopic.php?p=4187428#p4187428]2 minuti fa[/url] ha scritto:si scusa ha ragione dai sudo /opt/eagle-6.2.0/bin/eagle
ok così è andato :)

Però se do sudo eagle nella directory di eagle perchè non lo vede? sudo cerca sempre in root?

Stefano

PS grazie perr il momento e birra pagata, sembra così ma sto imparando molte cose!
Avatar utente
hellojoker
Rampante Reduce
Rampante Reduce
Messaggi: 7740
Iscrizione: martedì 22 febbraio 2011, 20:37
Desktop: Gnome Shell
Distribuzione: Fedora|Win10

Re: Installare ultima versione EAGLE CAD

Messaggio da hellojoker »

il fatto è che eagle devi avviarlo come utente normale, posso capire la prima volta per il fatto della licenza ti abbia chiesto di essere root, ma adesso se dai eagle cosa ti dice ? posta anche

Codice: Seleziona tutto

ls -l / | grep opt
mikexu

Re: Installare ultima versione EAGLE CAD

Messaggio da mikexu »

Scusa hellojoker, se hai lubuntu 12.04 hai anche il software center (come ubuntu); Checchè se ne dica in altri 3D il software center di lubuntu funziona (almeno a me) e te lo installa all'ultima versione.
Avatar utente
hellojoker
Rampante Reduce
Rampante Reduce
Messaggi: 7740
Iscrizione: martedì 22 febbraio 2011, 20:37
Desktop: Gnome Shell
Distribuzione: Fedora|Win10

Re: Installare ultima versione EAGLE CAD

Messaggio da hellojoker »

non ne ho idea (del fatto dell'ultima versione) aveva detto che gli installava la versione vecchia, ma ormai ha installato
Scrivi risposta

Ritorna a “Applicazioni professionali”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 3 ospiti