instalando software sem gerenciador de pacotes

1

Eu tenho um sistema embutido rodando linux. Eu preciso instalar algum software, em particular uucp package contendo o comando cu . Isso é tudo que eu preciso.

No momento, tudo que eu tenho é um acesso root ao sistema através da porta COM. Apenas linha de comando. O sistema tem acesso à Internet.

O problema é que eu não sou um usuário Linux muito experiente e enfrentei dificuldades:

  • Não consigo encontrar nenhum gerenciador de pacotes que eu saiba (sem apt-get, no yum, no rpm)
  • O comando
  • dpkg não funciona (EDIT 2: o dpkg não está instalado)
  • Tentei fazer o download do pacote *.tar.gz usando wget , descompactei e executei ./configure , mas quando executo make , recebo bash: make: command not found . Então eu suponho que binutils ou algo mais importante é em falta e não poderei instalá-lo a partir da fonte.

Alguém pode sugerir uma solução alternativa? Eu senti falta de alguma coisa?

EDIT 1: saída de compgen -c (conforme solicitado por Matthew Williams)

 if
 then
 else
 elif
 fi
 case
 esac
 for
 select
 while
 until
 do
 done
 in
 function
 time
 {
 }
 !
 [[
 ]]
 .
 :
 [
 alias
 bind
 break
 builtin
 caller
 cd
 command
 compgen
 complete
 continue
 declare
 dirs
 echo
 enable
 eval
 exec
 exit
 export
 false
 fc
 getopts
 hash
 help
 history
 kill
 let
 local
 logout
 popd
 printf
 pushd
 pwd
 read
 readonly
 return
 set
 shift
 shopt
 source
 test
 times
 trap
 true
 type
 typeset
 ulimit
 umask
 unalias
 unset
 wait
 pure-ftpwho
 pure-uploadscript
 pure-mrtginfo
 pure-authd
 pure-ftpd
 pure-quotacheck
 swapon
 depmod
 ebtables-save
 halt
 agetty
 bootlogd
 udevsettle
 pcmcia-check-broken-cis
 rtmon
 telinit
 reboot
 ss
 nameif
 fsck
 ifstat
 mkfs.bfs
 routel
 ctstat
 rtacct
 ifrename
 e2label
 dhclient-script
 tune2fs
 cfdisk
 lnstat
 resize2fs
 rtstat
 ifdown
 pivot_root
 slattach
 ip
 losetup
 fsck.minix
 modprobe
 ctrlaltdel
 mkfs.nilfs2
 mkswap
 mkfs
 fdisk
 iwgetid
 udevtrigger
 e2image
 tc
 route
 nstat
 blockdev
 fsck.ext3
 getpcaps
 pcmcia-socket-startup
 ifcfg
 mount.nilfs2
 athdebug
 dumpe2fs
 ebtables
 udevd
 insmod
 findfs
 udevcontrol
 capsh
 shutdown
 iwevent
 fsck.cramfs
 mkfs.ext2
 80211stats
 ebtables-restore
 mii-tool
 rmmod
 plipconfig
 athchans
 80211debug
 mke2fs
 rtpr
 pccardctl
 debugfs
 wlanconfig
 blkid
 scsi_id
 sysctl
 genl
 hwclock
 iwpriv
 rarp
 routef
 fsck.ext2
 madwifi-unload
 swapoff
 mkfs.ext3
 e2fsck
 lspcmcia
 iwconfig
 modinfo
 mkfs.cramfs
 generate-modprobe.conf
 ifup
 athctrl
 mkfs.minix
 logsave
 athkey
 athstats
 nilfs_cleanerd
 ldconfig
 init
 elvtune
 killall5
 insmod.static
 ifconfig
 umount.nilfs2
 poweroff
 iwlist
 runlevel
 arp
 sfdisk
 iwspy
 sulogin
 badblocks
 nologin
 pure-statsdecode
 pure-pw
 pure-pwconvert
 chmod
 gzexe
 passwd
 qemu
 sync
 rdisc
 setfont
 mountpoint
 tar
 date
 test
 netstat
 install
 false
 egrep
 less
 lessecho
 cli
 mkdir
 qemu-img
 sed
 df
 dnsdomainname
 ps
 bzip2
 head
 basename
 grep
 cp
 find
 bzcat
 ls
 readlink
 tftpd
 [
 openvt
 bunzip2
 sleep
 mknod
 xmlwf
 ypdomainname
 su
 qemu-io
 login
 lsmod
 clockdiff
 rmdir
 logger
 gzip
 fuser
 chown
 killall
 uname
 rm
 mv
 fgrep
 pidof
 rarpd
 true
 gunzip
 stty
 lesskey
 zcat
 qemu-nbd
 oldfuser
 nisdomainname
 touch
 kbd_mode
 nice
 dmesg
 mount
 umount
 tracepath
 bashbug
 arch
 uncompress
 domainname
 kill
 dd
 groups
 hostname
 sh
 arping
 echo
 ipcalc
 chgrp
 loadkeys
 cat
 pwd
 ln
 more
 bash
 ping
 wpa_supplicant
 wpa_passphrase
 wpa_cli
 atftpd
 in.tftpd
 fcrontab
 pppstats
 lighttpd
 i2cdetect
 dnssec-signzone
 dhclient
 zic
 ip6tables-multi
 nsupdate
 sensors-detect
 cpufreqd
 syslogd
 hostapd_cli
 ns-update
 lighttpd-angel
 grpck
 useradd
 chpasswd
 nscd
 groupdel
 alsaconf
 ipset
 logoutd
 chroot
 iptables-restore
 rndc-confgen
 dhclient-script
 pppd
 snmpd
 vigr
 dnssec-keygen
 i2cset
 ntpdc
 i2cdump
 pwmconfig
 rpcinfo
 squid
 vipw
 groupmems
 iptables-save
 pwunconv
 logrotate
 pppoe-discovery
 udevmonitor
 i2cget
 tcpdump
 iptables-multi
 chgpasswd
 pwconv
 alsactl
 rndc
 dhcrelay
 iconvconfig
 dig
 isadump
 groupmod
 named
 sntp
 iptables
 readprofile
 partprobe
 ntpdate
 rmt
 fancontrol
 grpconv
 fcron
 conntrack
 dhcpd
 newusers
 ip6tables-save
 tunelp
 chat
 vconfig
 sshd
 ip6tables-restore
 mklost+found
 grpunconv
 usermod
 pppdump
 ip6tables
 hostapd
 snmptrapd
 userdel
 isaset
 conntrackd
 zdump
 brctl
 ntpd
 klogd
 filefrag
 groupadd
 ethtool
 pwck
 parted
 lserupdate
 ssdfix
 ssdcompress
 ssdcopy
 usbip
 usbipd
 bind_driver
 python
 idle
 python2.4
 smtpd.py
 pydoc
 php-config
 phpize
 php-cgi
 php
 glib-genmarshal
 glib-gettextize
 gobject-query
 glib-mkenums
 gdbtui
 gdbserver
 gdb
 wimaxd
 wimaxc
 atftp
 dircolors
 expr
 deallocvt
 top
 who
 comm
 locate
 xxd
 get_device
 rpcgen
 ranlib
 utmpdump
 gencat
 mib2c
 snmpset
 sensors
 mk_cmds
 ldappasswd
 runscript
 tail
 aconnect
 rview
 tsort
 setmetamode
 tee
 iptables-xml
 sha1sum
 mbchk
 pcregrep
 link
 install
 mkcp
 isosize
 ssh-keygen
 snmpdelta
 curl
 rename
 less
 xargs
 rev
 write
 talk
 wall
 ssh-agent
 zfgrep
 mapscrn
 expiry
 gettext.sh
 bzip2recover
 psfxtable
 mib2c-update
 nohup
 amixer
 cpufreq-aperf
 pkill
 envsubst
 pcretest
 mcookie
 bzmore
 snmpnetstat
 compile_et
 snmpvacm
 setleds
 dumpseg
 udevinfo
 install-info
 iecset
 psfaddtable
 toe
 file
 setsid
 lastlog
 arecord
 aplay
 fmt
 updatedb
 uniq
 ul
 RunCache
 w
 lssu
 du
 gpasswd
 vmstat
 snmptranslate
 catchsegv
 skill
 colcrt
 base64
 ssh-add
 ldapcompare
 cpufreqd-set
 fixproc
 factor
 slogin
 sg
 aseqdump
 unlink
 mktemp
 xtrace
 dirname
 fgconsole
 cpufreq-info
 ntp-keygen
 snmpbulkget
 xminicom
 libusb-config
 uptime
 clear
 paste
 lex
 setkeycodes
 pcprofiledump
 vimdiff
 getkeycodes
 view
 fcronsighup
 id
 wc
 pr
 ipcs
 dir
 get_driver
 snmpbulkwalk
 md5sum
 run-parts
 snmpinform
 strace
 ncurses5-config
 namei
 tickadj
 cmp
 pgawk
 fold
 igawk
 chcp
 cksum
 cut
 spawn-fcgi
 ntpq
 tempfile
 chvt
 snmpconf
 snddevices
 tailf
 strings
 raw
 diff
 getent
 xmlwf
 aplaymidi
 rsh
 gawk
 stat
 awk
 tftp
 colrm
 flock
 sprof
 col
 cgi-fcgi
 getopt
 snmpdf
 ptx
 yacc
 newgrp
 whereis
 gettext
 psfstriptable
 cpufreqd-get
 autopoint
 systool
 strace-graph
 scp
 vim
 ldapmodify
 ddate
 dlist_test
 zless
 pwdx
 printf
 minicom
 tput
 lastb
 znew
 unexpand
 pcre-config
 chsh
 split
 pstree
 zegrep
 sort
 vi
 unicode_stop
 pathchk
 rvim
 snmpget
 logname
 nm
 tr
 ldapadd
 ntptime
 cpufreq-set
 lddlibc4
 zgrep
 gcov
 column
 snmptable
 rmcp
 ldapdelete
 squidclient
 setfdprm
 ldapmodrdn
 lsattr
 script
 dig
 iperf
 chkdupexe
 loadunimap
 soapcpp2
 snmpusm
 snmpwalk
 isc-config.sh
 pmap
 tty
 slabtop
 mtrace
 users
 tzselect
 seq
 pg
 ldapwhoami
 get_module
 hexdump
 alsamixer
 unicode_start
 yes
 line
 ipcrm
 snmptest
 telnet
 zcmp
 getconf
 encode_keychange
 faillog
 renice
 wget
 ldapexop
 look
 speaker-test
 pinky
 addr2line
 openssl
 shuf
 nmap
 last
 lscp
 size
 zmore
 ftp
 ngettext
 ldapurl
 od
 ex
 bzdiff
 gettextize
 ntp-wait
 net-snmp-config
 snmpstatus
 snice
 free
 c++
 recode-sr-latin
 kbdrate
 setterm
 mkfifo
 fdformat
 snmptrap
 ntptrace
 amidi
 snmpcheck
 printenv
 arecordmidi
 chattr
 sdiff
 mesg
 groups
 ldd
 cytune
 env
 zforce
 join
 rlogin
 expand
 hostid
 psfgettable
 ssh-keyscan
 tset
 vimtutor
 rcp
 traptoemail
 ascii-xfr
 tkmib
 tload
 ssh
 udevtest
 sum
 watch
 aseqnet
 wsdl2h
 pgrep
 rsync
 ddcmon
 aserver
 resizecons
 snmpgetnext
 ldapsearch
 whoami
 reset
 zdiff
 pstree.x11
 uuidgen
 diff3
 sftp
 curl-config
 bzgrep
 [01;31m[root@ccu uucp-1.06.1]#[00m compgen -c
 if
 then
 else
 elif
 fi
 case
 esac
 for
 select
 while
 until
 do
 done
 in
 function
 time
 {
 }
 !
 [[
 ]]
 .
 :
 [
 alias
 bind
 break
 builtin
 caller
 cd
 command
 compgen
 complete
 continue
 declare
 dirs
 echo
 enable
 eval
 exec
 exit
 export
 false
 fc
 getopts
 hash
 help
 history
 kill
 let
 local
 logout
 popd
 printf
 pushd
 pwd
 read
 readonly
 return
 set
 shift
 shopt
 source
 test
 times
 trap
 true
 type
 typeset
 ulimit
 umask
 unalias
 unset
 wait
 pure-ftpwho
 pure-uploadscript
 pure-mrtginfo
 pure-authd
 pure-ftpd
 pure-quotacheck
 swapon
 depmod
 ebtables-save
 halt
 agetty
 bootlogd
 udevsettle
 pcmcia-check-broken-cis
 rtmon
 telinit
 reboot
 ss
 nameif
 fsck
 ifstat
 mkfs.bfs
 routel
 ctstat
 rtacct
 ifrename
 e2label
 dhclient-script
 tune2fs
 cfdisk
 lnstat
 resize2fs
 rtstat
 ifdown
 pivot_root
 slattach
 ip
 losetup
 fsck.minix
 modprobe
 ctrlaltdel
 mkfs.nilfs2
 mkswap
 mkfs
 fdisk
 iwgetid
 udevtrigger
 e2image
 tc
 route
 nstat
 blockdev
 fsck.ext3
 getpcaps
 pcmcia-socket-startup
 ifcfg
 mount.nilfs2
 athdebug
 dumpe2fs
 ebtables
 udevd
 insmod
 findfs
 udevcontrol
 capsh
 shutdown
 iwevent
 fsck.cramfs
 mkfs.ext2
 80211stats
 ebtables-restore
 mii-tool
 rmmod
 plipconfig
 athchans
 80211debug
 mke2fs
 rtpr
 pccardctl
 debugfs
 wlanconfig
 blkid
 scsi_id
 sysctl
 genl
 hwclock
 iwpriv
 rarp
 routef
 fsck.ext2
 madwifi-unload
 swapoff
 mkfs.ext3
 e2fsck
 lspcmcia
 iwconfig
 modinfo
 mkfs.cramfs
 generate-modprobe.conf
 ifup
 athctrl
 mkfs.minix
 logsave
 athkey
 athstats
 nilfs_cleanerd
 ldconfig
 init
 elvtune
 killall5
 insmod.static
 ifconfig
 umount.nilfs2
 poweroff
 iwlist
 runlevel
 arp
 sfdisk
 iwspy
 sulogin
 badblocks
 nologin
 pure-statsdecode
 pure-pw
 pure-pwconvert
 chmod
 gzexe
 passwd
 qemu
 sync
 rdisc
 setfont
 mountpoint
 tar
 date
 test
 netstat
 install
 false
 egrep
 less
 lessecho
 cli
 mkdir
 qemu-img
 sed
 df
 dnsdomainname
 ps
 bzip2
 head
 basename
 grep
 cp
 find
 bzcat
 ls
 readlink
 tftpd
 [
 openvt
 bunzip2
 sleep
 mknod
 xmlwf
 ypdomainname
 su
 qemu-io
 login
 lsmod
 clockdiff
 rmdir
 logger
 gzip
 fuser
 chown
 killall
 uname
 rm
 mv
 fgrep
 pidof
 rarpd
 true
 gunzip
 stty
 lesskey
 zcat
 qemu-nbd
 oldfuser
 nisdomainname
 touch
 kbd_mode
 nice
 dmesg
 mount
 umount
 tracepath
 bashbug
 arch
 uncompress
 domainname
 kill
 dd
 groups
 hostname
 sh
 arping
 echo
 ipcalc
 chgrp
 loadkeys
 cat
 pwd
 ln
 more
 bash
 ping
 wpa_supplicant
 wpa_passphrase
 wpa_cli
 atftpd
 in.tftpd
 fcrontab
 pppstats
 lighttpd
 i2cdetect
 dnssec-signzone
 dhclient
 zic
 ip6tables-multi
 nsupdate
 sensors-detect
 cpufreqd
 syslogd
 hostapd_cli
 ns-update
 lighttpd-angel
 grpck
 useradd
 chpasswd
 nscd
 groupdel
 alsaconf
 ipset
 logoutd
 chroot
 iptables-restore
 rndc-confgen
 dhclient-script
 pppd
 snmpd
 vigr
 dnssec-keygen
 i2cset
 ntpdc
 i2cdump
 pwmconfig
 rpcinfo
 squid
 vipw
 groupmems
 iptables-save
 pwunconv
 logrotate
 pppoe-discovery
 udevmonitor
 i2cget
 tcpdump
 iptables-multi
 chgpasswd
 pwconv
 alsactl
 rndc
 dhcrelay
 iconvconfig
 dig
 isadump
 groupmod
 named
 sntp
 iptables
 readprofile
 partprobe
 ntpdate
 rmt
 fancontrol
 grpconv
 fcron
 conntrack
 dhcpd
 newusers
 ip6tables-save
 tunelp
 chat
 vconfig
 sshd
 ip6tables-restore
 mklost+found
 grpunconv
 usermod
 pppdump
 ip6tables
 hostapd
 snmptrapd
 userdel
 isaset
 conntrackd
 zdump
 brctl
 ntpd
 klogd
 filefrag
 groupadd
 ethtool
 pwck
 parted
 lserupdate
 ssdfix
 ssdcompress
 ssdcopy
 usbip
 usbipd
 bind_driver
 python
 idle
 python2.4
 smtpd.py
 pydoc
 php-config
 phpize
 php-cgi
 php
 glib-genmarshal
 glib-gettextize
 gobject-query
 glib-mkenums
 gdbtui
 gdbserver
 gdb
 wimaxd
 wimaxc
 atftp
 dircolors
 expr
 deallocvt
 top
 who
 comm
 locate
 xxd
 get_device
 rpcgen
 ranlib
 utmpdump
 gencat
 mib2c
 snmpset
 sensors
 mk_cmds
 ldappasswd
 runscript
 tail
 aconnect
 rview
 tsort
 setmetamode
 tee
 iptables-xml
 sha1sum
 mbchk
 pcregrep
 link
 install
 mkcp
 isosize
 ssh-keygen
 snmpdelta
 curl
 rename
 less
 xargs
 rev
 write
 talk
 wall
 ssh-agent
 zfgrep
 mapscrn
 expiry
 gettext.sh
 bzip2recover
 psfxtable
 mib2c-update
 nohup
 amixer
 cpufreq-aperf
 pkill
 envsubst
 pcretest
 mcookie
 bzmore
 snmpnetstat
 compile_et
 snmpvacm
 setleds
 dumpseg
 udevinfo
 install-info
 iecset
 psfaddtable
 toe
 file
 setsid
 lastlog
 arecord
 aplay
 fmt
 updatedb
 uniq
 ul
 RunCache
 w
 lssu
 du
 gpasswd
 vmstat
 snmptranslate
 catchsegv
 skill
 colcrt
 base64
 ssh-add
 ldapcompare
 cpufreqd-set
 fixproc
 factor
 slogin
 sg
 aseqdump
 unlink
 mktemp
 xtrace
 dirname
 fgconsole
 cpufreq-info
 ntp-keygen
 snmpbulkget
 xminicom
 libusb-config
 uptime
 clear
 paste
 lex
 setkeycodes
 pcprofiledump
 vimdiff
 getkeycodes
 view
 fcronsighup
 id
 wc
 pr
 ipcs
 dir
 get_driver
 snmpbulkwalk
 md5sum
 run-parts
 snmpinform
 strace
 ncurses5-config
 namei
 tickadj
 cmp
 pgawk
 fold
 igawk
 chcp
 cksum
 cut
 spawn-fcgi
 ntpq
 tempfile
 chvt
 snmpconf
 snddevices
 tailf
 strings
 raw
 diff
 getent
 xmlwf
 aplaymidi
 rsh
 gawk
 stat
 awk
 tftp
 colrm
 flock
 sprof
 col
 cgi-fcgi
 getopt
 snmpdf
 ptx
 yacc
 newgrp
 whereis
 gettext
 psfstriptable
 cpufreqd-get
 autopoint
 systool
 strace-graph
 scp
 vim
 ldapmodify
 ddate
 dlist_test
 zless
 pwdx
 printf
 minicom
 tput
 lastb
 znew
 unexpand
 pcre-config
 chsh
 split
 pstree
 zegrep
 sort
 vi
 unicode_stop
 pathchk
 rvim
 snmpget
 logname
 nm
 tr
 ldapadd
 ntptime
 cpufreq-set
 lddlibc4
 zgrep
 gcov
 column
 snmptable
 rmcp
 ldapdelete
 squidclient
 setfdprm
 ldapmodrdn
 lsattr
 script
 dig
 iperf
 chkdupexe
 loadunimap
 soapcpp2
 snmpusm
 snmpwalk
 isc-config.sh
 pmap
 tty
 slabtop
 mtrace
 users
 tzselect
 seq
 pg
 ldapwhoami
 get_module
 hexdump
 alsamixer
 unicode_start
 yes
 line
 ipcrm
 snmptest
 telnet
 zcmp
 getconf
 encode_keychange
 faillog
 renice
 wget
 ldapexop
 look
 speaker-test
 pinky
 addr2line
 openssl
 shuf
 nmap
 last
 lscp
 size
 zmore
 ftp
 ngettext
 ldapurl
 od
 ex
 bzdiff
 gettextize
 ntp-wait
 net-snmp-config
 snmpstatus
 snice
 free
 c++
 recode-sr-latin
 kbdrate
 setterm
 mkfifo
 fdformat
 snmptrap
 ntptrace
 amidi
 snmpcheck
 printenv
 arecordmidi
 chattr
 sdiff
 mesg
 groups
 ldd
 cytune
 env
 zforce
 join
 rlogin
 expand
 hostid
 psfgettable
 ssh-keyscan
 tset
 vimtutor
 rcp
 traptoemail
 ascii-xfr
 tkmib
 tload
 ssh
 udevtest
 sum
 watch
 aseqnet
 wsdl2h
 pgrep
 rsync
 ddcmon
 aserver
 resizecons
 snmpgetnext
 ldapsearch
 whoami
 reset
 zdiff
 pstree.x11
 uuidgen
 diff3
 sftp
 curl-config
 bzgrep
    
por Art Gertner 10.03.2014 / 10:33

1 resposta

4

Você não pode construir na própria máquina. Isso significa que você precisa copiar binários de outro lugar. E esses binários devem ser apropriados para o seu dispositivo incorporado - um dispositivo ARM não executará binários x86 ou MIPS.

Então, a primeira pergunta é qual dispositivo você tem. uname -a deve ajudar. Se você pode encontrar binários para essa arquitetura, bom. Copie-os, execute ldd para descobrir de quais bibliotecas ele precisa, instale-os também e você é bom.

Se você não puder encontrar binários, precisará criá-los, mas em outra máquina. Isso é chamado de compilação cruzada. Você pode fazer isso em um PC comum, de preferência um Linux. Mas você precisa configurar um toolchain de compilador cruzado. Há um pouco de documentação sobre isso, mas perguntas detalhadas que você deve fazer no StackOverflow.

    
por 10.03.2014 / 12:50